r390 - trunk/code/q3_ui
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Nov 30 15:28:21 EST 2005
Author: ludwig
Date: 2005-11-30 15:28:21 -0500 (Wed, 30 Nov 2005)
New Revision: 390
Modified:
trunk/code/q3_ui/ui_video.c
Log:
add "very high quality" option (patch by Pascal de Bruijn)
Modified: trunk/code/q3_ui/ui_video.c
===================================================================
--- trunk/code/q3_ui/ui_video.c 2005-11-30 01:57:53 UTC (rev 389)
+++ trunk/code/q3_ui/ui_video.c 2005-11-30 20:28:21 UTC (rev 390)
@@ -304,6 +304,9 @@
static InitialVideoOptions_s s_ivo_templates[] =
{
{
+ 6, qtrue, 3, 0, 2, 2, 2, 1, 0, qtrue
+ },
+ {
4, qtrue, 2, 0, 2, 2, 1, 1, 0, qtrue // JDC: this was tq 3
},
{
@@ -350,7 +353,7 @@
{
int i;
- for ( i = 0; i < NUM_IVO_TEMPLATES; i++ )
+ for ( i = 0; i < NUM_IVO_TEMPLATES-1; i++ )
{
if ( s_ivo_templates[i].colordepth != s_graphicsoptions.colordepth.curvalue )
continue;
@@ -373,7 +376,9 @@
s_graphicsoptions.list.curvalue = i;
return;
}
- s_graphicsoptions.list.curvalue = 4;
+
+ // return 'Custom' ivo template
+ s_graphicsoptions.list.curvalue = NUM_IVO_TEMPLATES - 1;
}
/*
@@ -736,6 +741,7 @@
static const char *s_graphics_options_names[] =
{
+ "Very High Quality",
"High Quality",
"Normal",
"Fast",
More information about the quake3-commits
mailing list