I think I need to be more specific here, what I'm doing is creating a special program to run my game, this program enables the user to run the game in a specific resolution and select other options as well. You ask if the game is built? Yes this is the case and with preview off!
What I would like to understand is we're to put the IFDEF's and if I need to put some var's into the script and where to put them too. Furthermore I don't know if I should use IFDEF's or DEF's any help would be greatly appreciated.
From al1 I received a piece of code and use that for my game:
code:
IFDEF VIDEO6;
Var video_mode = 6; //640 x 480
ENDIF;
IFDEF VIDEO7;
Var video_mode = 7; //800 x 600
ENDIF;
IFDEF VIDEO8;
Var video_mode = 8; //1024 x 768
ENDIF;
No my special program start the game like this (trough a shell command): "game.exe -d video8"
or "game.exe -wnd" the last works but the first not!
Nemo