mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 06:20:48 +00:00
gl1,gl3: rename gl_lightmap->r_lightmap
This commit is contained in:
parent
f1ac7cafbf
commit
b4fb6db4fc
4 changed files with 5 additions and 4 deletions
|
@ -664,7 +664,7 @@ cheatvar_t cheatvars[] = {
|
||||||
{"paused", "0"},
|
{"paused", "0"},
|
||||||
{"fixedtime", "0"},
|
{"fixedtime", "0"},
|
||||||
{"sw_draworder", "0"},
|
{"sw_draworder", "0"},
|
||||||
{"gl_lightmap", "0"},
|
{"r_lightmap", "0"},
|
||||||
{"gl_saturatelighting", "0"},
|
{"gl_saturatelighting", "0"},
|
||||||
{"cl_kickangles", "1"},
|
{"cl_kickangles", "1"},
|
||||||
{"g_footsteps", "1"},
|
{"g_footsteps", "1"},
|
||||||
|
|
|
@ -1223,7 +1223,7 @@ R_Register(void)
|
||||||
|
|
||||||
r_modulate = ri.Cvar_Get("r_modulate", "1", CVAR_ARCHIVE);
|
r_modulate = ri.Cvar_Get("r_modulate", "1", CVAR_ARCHIVE);
|
||||||
r_mode = ri.Cvar_Get("r_mode", "4", CVAR_ARCHIVE);
|
r_mode = ri.Cvar_Get("r_mode", "4", CVAR_ARCHIVE);
|
||||||
gl_lightmap = ri.Cvar_Get("gl_lightmap", "0", 0);
|
gl_lightmap = ri.Cvar_Get("r_lightmap", "0", 0);
|
||||||
gl_shadows = ri.Cvar_Get("r_shadows", "0", CVAR_ARCHIVE);
|
gl_shadows = ri.Cvar_Get("r_shadows", "0", CVAR_ARCHIVE);
|
||||||
gl1_stencilshadow = ri.Cvar_Get("gl1_stencilshadow", "0", CVAR_ARCHIVE);
|
gl1_stencilshadow = ri.Cvar_Get("gl1_stencilshadow", "0", CVAR_ARCHIVE);
|
||||||
gl1_dynamic = ri.Cvar_Get("gl1_dynamic", "1", 0);
|
gl1_dynamic = ri.Cvar_Get("gl1_dynamic", "1", 0);
|
||||||
|
|
|
@ -237,7 +237,7 @@ GL3_Register(void)
|
||||||
r_lightlevel = ri.Cvar_Get("r_lightlevel", "0", 0);
|
r_lightlevel = ri.Cvar_Get("r_lightlevel", "0", 0);
|
||||||
gl3_overbrightbits = ri.Cvar_Get("gl3_overbrightbits", "1.3", CVAR_ARCHIVE);
|
gl3_overbrightbits = ri.Cvar_Get("gl3_overbrightbits", "1.3", CVAR_ARCHIVE);
|
||||||
|
|
||||||
gl_lightmap = ri.Cvar_Get("gl_lightmap", "0", 0);
|
gl_lightmap = ri.Cvar_Get("r_lightmap", "0", 0);
|
||||||
gl_shadows = ri.Cvar_Get("r_shadows", "0", CVAR_ARCHIVE);
|
gl_shadows = ri.Cvar_Get("r_shadows", "0", CVAR_ARCHIVE);
|
||||||
|
|
||||||
r_modulate = ri.Cvar_Get("r_modulate", "1", CVAR_ARCHIVE);
|
r_modulate = ri.Cvar_Get("r_modulate", "1", CVAR_ARCHIVE);
|
||||||
|
@ -272,7 +272,7 @@ GL3_Register(void)
|
||||||
|
|
||||||
//gl_modulate = ri.Cvar_Get("gl_modulate", "1", CVAR_ARCHIVE);
|
//gl_modulate = ri.Cvar_Get("gl_modulate", "1", CVAR_ARCHIVE);
|
||||||
//r_mode = ri.Cvar_Get("r_mode", "4", CVAR_ARCHIVE);
|
//r_mode = ri.Cvar_Get("r_mode", "4", CVAR_ARCHIVE);
|
||||||
//gl_lightmap = ri.Cvar_Get("gl_lightmap", "0", 0);
|
//gl_lightmap = ri.Cvar_Get("r_lightmap", "0", 0);
|
||||||
//gl_shadows = ri.Cvar_Get("r_shadows", "0", CVAR_ARCHIVE);
|
//gl_shadows = ri.Cvar_Get("r_shadows", "0", CVAR_ARCHIVE);
|
||||||
//gl_nobind = ri.Cvar_Get("gl_nobind", "0", 0);
|
//gl_nobind = ri.Cvar_Get("gl_nobind", "0", 0);
|
||||||
gl_showtris = ri.Cvar_Get("gl_showtris", "0", 0);
|
gl_showtris = ri.Cvar_Get("gl_showtris", "0", 0);
|
||||||
|
|
|
@ -88,6 +88,7 @@ replacement_t replacements[] = {
|
||||||
{"gl_retexturing", "r_retexturing"},
|
{"gl_retexturing", "r_retexturing"},
|
||||||
{"gl_shadows", "r_shadows"},
|
{"gl_shadows", "r_shadows"},
|
||||||
{"gl_anisotropic", "r_anisotropic"},
|
{"gl_anisotropic", "r_anisotropic"},
|
||||||
|
{"gl_lightmap", "r_lighmap"},
|
||||||
{"intensity", "gl1_intensity"}
|
{"intensity", "gl1_intensity"}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue