Is there a reason why using the mouse driven menu I cant select 1440x900 for vido/screen settings? Are the menu values hard coded or read from the operating system?
It's kinda silly to hardcode the values, if you want to stear away from using command-line parameters. :/ And moreso, whats the damn console variable to change the "vid_width" or "vid_height" ?? I dont see these cvars and its trivial to implement.... *sigh
It's kinda silly to hardcode the values, if you want to stear away from using command-line parameters. :/ And moreso, whats the damn console variable to change the "vid_width" or "vid_height" ?? I dont see these cvars and its trivial to implement.... *sigh
for (i=1;i<nummodes;i++) //start i at mode 1 because 0 is windowed mode
{
w = modelist[i].width;
h = modelist[i].height;
for (j=0;j<vid_menu_nummodes;j++)
{
if (vid_menu_modes[j].width == w &&
vid_menu_modes[j].height == h)
break;
}
if (j==vid_menu_nummodes)
{
vid_menu_modes[j].width = w;
vid_menu_modes[j].height = h;
vid_menu_nummodes++;
}
}
{
w = modelist[i].width;
h = modelist[i].height;
for (j=0;j<vid_menu_nummodes;j++)
{
if (vid_menu_modes[j].width == w &&
vid_menu_modes[j].height == h)
break;
}
if (j==vid_menu_nummodes)
{
vid_menu_modes[j].width = w;
vid_menu_modes[j].height = h;
vid_menu_nummodes++;
}
}