add "very high quality" option (patch by Pascal de Bruijn)

This commit is contained in:
Ludwig Nussel 2005-11-30 20:28:21 +00:00
parent ae39051f1e
commit dfa3d1d875

View file

@ -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",