From 51c77f3e24b94031c66da4319e2be424c1081b28 Mon Sep 17 00:00:00 2001 From: ludwig Date: Wed, 30 Nov 2005 20:28:21 +0000 Subject: add "very high quality" option (patch by Pascal de Bruijn) git-svn-id: svn://svn.icculus.org/quake3/trunk@390 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/q3_ui/ui_video.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'code/q3_ui/ui_video.c') diff --git a/code/q3_ui/ui_video.c b/code/q3_ui/ui_video.c index 2c97774..44198b9 100644 --- a/code/q3_ui/ui_video.c +++ b/code/q3_ui/ui_video.c @@ -303,6 +303,9 @@ static graphicsoptions_t s_graphicsoptions; 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 @@ static void GraphicsOptions_CheckConfig( void ) { 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 @@ static void GraphicsOptions_CheckConfig( void ) 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 @@ void GraphicsOptions_MenuInit( void ) static const char *s_graphics_options_names[] = { + "Very High Quality", "High Quality", "Normal", "Fast", -- cgit v1.2.3