diff options
author | Andrey Nazarov <skuller@skuller.net> | 2008-06-29 12:32:32 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2008-06-29 12:32:32 +0000 |
commit | e826e5f176f21cd18b3bbc22887a266835ada57c (patch) | |
tree | d25a84a84f9168b16a77fe4ed8b169c9611bbb02 /source/gl_images.c | |
parent | 491f1c100e860c45a5d2aa358d58f777cd1cf895 (diff) |
Added client and server side support for 32-bit solids.
New R1Q2 and Q2PRO minor protocol versions, 1905 and 1014.
Use environment variables for game and server features negotiation.
Relax restrictions on quake paths when searching inside pak files.
Made OSS subsystem cvar names consistent with core sound system conventions.
Misc latched cvar handling changes.
Diffstat (limited to 'source/gl_images.c')
-rw-r--r-- | source/gl_images.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source/gl_images.c b/source/gl_images.c index 3f3f5bc..489a6e7 100644 --- a/source/gl_images.c +++ b/source/gl_images.c @@ -1093,22 +1093,22 @@ void GL_InitImages( void ) { gl_texturemode->changed = gl_texturemode_changed; gl_anisotropy = cvar.Get( "gl_anisotropy", "1", CVAR_ARCHIVE ); gl_anisotropy->changed = gl_anisotropy_changed; - gl_noscrap = cvar.Get( "gl_noscrap", "0", CVAR_LATCHED ); - gl_round_down = cvar.Get( "gl_round_down", "0", CVAR_LATCHED ); - gl_picmip = cvar.Get( "gl_picmip", "0", CVAR_LATCHED ); - gl_gamma_scale_pics = cvar.Get( "gl_gamma_scale_pics", "0", CVAR_LATCHED ); + gl_noscrap = cvar.Get( "gl_noscrap", "0", CVAR_FILES ); + gl_round_down = cvar.Get( "gl_round_down", "0", CVAR_FILES ); + gl_picmip = cvar.Get( "gl_picmip", "0", CVAR_FILES ); + gl_gamma_scale_pics = cvar.Get( "gl_gamma_scale_pics", "0", CVAR_FILES ); gl_texturealphamode = cvar.Get( "gl_texturealphamode", - "default", CVAR_ARCHIVE|CVAR_LATCHED ); + "default", CVAR_ARCHIVE|CVAR_FILES ); gl_texturesolidmode = cvar.Get( "gl_texturesolidmode", - "default", CVAR_ARCHIVE|CVAR_LATCHED ); - gl_saturation = cvar.Get( "gl_saturation", "1", CVAR_ARCHIVE|CVAR_LATCHED ); - gl_intensity = cvar.Get( "intensity", "1", CVAR_ARCHIVE|CVAR_LATCHED ); - gl_invert = cvar.Get( "gl_invert", "0", CVAR_ARCHIVE|CVAR_LATCHED ); + "default", CVAR_ARCHIVE|CVAR_FILES ); + gl_saturation = cvar.Get( "gl_saturation", "1", CVAR_ARCHIVE|CVAR_FILES ); + gl_intensity = cvar.Get( "intensity", "1", CVAR_ARCHIVE|CVAR_FILES ); + gl_invert = cvar.Get( "gl_invert", "0", CVAR_ARCHIVE|CVAR_FILES ); if( gl_hwgamma->integer ) { - gl_gamma = cvar.Get( "vid_gamma", "1", 0 ); + gl_gamma = cvar.Get( "vid_gamma", "1", CVAR_ARCHIVE ); gl_gamma->changed = gl_gamma_changed; } else { - gl_gamma = cvar.Get( "vid_gamma", "1", CVAR_LATCHED ); + gl_gamma = cvar.Get( "vid_gamma", "1", CVAR_ARCHIVE|CVAR_FILES ); } R_InitImageManager(); |