Go to the documentation of this file.
21 #include "../client/client.h"
22 #include "../client/qmenu.h"
67 #define SOFTWARE_MENU 0
135 for (
i = 0;
i < 3;
i++ )
142 float gamma = ( 0.8 - ( slider->
curvalue/10.0 - 0.5 ) ) + 0.5;
161 for (
i = 0;
i < 3;
i++ )
193 Cvar_Set(
"vk_texturemode",
"VK_NEAREST" );
196 Cvar_Set(
"vk_texturemode",
"VK_LINEAR" );
199 Cvar_Set(
"vk_texturemode",
"VK_MIPMAP_NEAREST" );
202 Cvar_Set(
"vk_texturemode",
"VK_MIPMAP_LINEAR" );
208 Cvar_Set(
"vk_lmaptexturemode",
"VK_NEAREST" );
211 Cvar_Set(
"vk_lmaptexturemode",
"VK_LINEAR" );
214 Cvar_Set(
"vk_lmaptexturemode",
"VK_MIPMAP_NEAREST" );
217 Cvar_Set(
"vk_lmaptexturemode",
"VK_MIPMAP_LINEAR" );
227 Cvar_Set(
"gl_driver",
"opengl32" );
243 Cvar_Set(
"gl_driver",
"veritegl" );
258 char envbuffer[1024];
264 Com_sprintf( envbuffer,
sizeof(envbuffer),
"SSTV2_GAMMA=%f", g );
266 Com_sprintf( envbuffer,
sizeof(envbuffer),
"SST_GAMMA=%f", g );
292 static const char *resolutions[] =
312 static const char *refs[] =
322 static const char *yesno_names[] =
328 static const char *msaa_modes[] =
337 static const char *filter_modes[] =
426 for (
i = 0;
i < 3;
i++ )
682 static const char *sound =
"misc/menu1.wav";
cvar_t * Cvar_Get(char *var_name, char *var_value, int flags)
void Cvar_SetValue(char *var_name, float value)
void(* DrawGetPicSize)(int *w, int *h, char *name)
void(* DrawPic)(int x, int y, char *name)
int Q_stricmp(char *s1, char *s2)
cvar_t * Cvar_Set(char *var_name, char *value)
GLdouble GLdouble GLdouble w
void Com_sprintf(char *dest, int size, char *fmt,...)