aboutsummaryrefslogtreecommitdiffstats
path: root/code/q3_ui/ui_video.c
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-30 20:28:21 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-30 20:28:21 +0000
commit51c77f3e24b94031c66da4319e2be424c1081b28 (patch)
tree270f245ec77cf31d28496619cd9db4343d377c7d /code/q3_ui/ui_video.c
parent5020c52770fa421b2749aff80b8c820357f8bc2c (diff)
downloadioquake3-aero-51c77f3e24b94031c66da4319e2be424c1081b28.tar.gz
ioquake3-aero-51c77f3e24b94031c66da4319e2be424c1081b28.zip
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
Diffstat (limited to 'code/q3_ui/ui_video.c')
-rw-r--r--code/q3_ui/ui_video.c10
1 files changed, 8 insertions, 2 deletions
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
@@ -304,6 +304,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",