User panel stuff on forum
  3 posts on 1 page  1
Client Talk
2008-06-19, 03:31
Member
357 posts

Registered:
Mar 2006
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

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++;
}
}
2008-06-19, 03:36
Member
355 posts

Registered:
Jun 2006
vid_mode -1
vid_customwidth 1440
vid_customheight 900
vid_restart
This will put you into 1440x900, assuming you meant that by vid_width and vid_height.
2008-06-19, 06:13
Member
357 posts

Registered:
Mar 2006
right ok thanks!
  3 posts on 1 page  1