I would make all these values set to a variable, and let the game player decide through a menu interface what his/her preferences are. Each computer is different, so you want to be able to change settings.
I am working on a menu like this right now, it's a bit complicated, but I think it will look really professional when it's done.
Example: This is the idea for just one such variable...
var var_vid_mode = 1;
video_mode = var_vid_mode;
PANEL* option_panel =
{
button(bmap1,bmap2,bmap3,toggle_vid_mode(),NULL,NULL);
}
function toggle_vid_mode()
{
if(var_vid_mode == 1)
{
var_vid_mode = 2;
}
else
{
var_vid_mode = 1;
}
}
note: I just typed into the forum, this is not my actual code. You will need to define your bitmaps, put the commands inside of the main function, etc... but you get the idea. I'm also not sure if you need to restart the game for these effects to work, in which case you will need to save the variable to some sort of external file. I'm still working on it
