mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-14 00:41:03 +00:00
Rename gl_speeds to r_speeds.
This commit is contained in:
parent
214c473de0
commit
679e556b4f
3 changed files with 10 additions and 10 deletions
|
@ -169,7 +169,7 @@ extern cvar_t *gl_lefthand;
|
||||||
extern cvar_t *gl_farsee;
|
extern cvar_t *gl_farsee;
|
||||||
extern cvar_t *r_drawentities;
|
extern cvar_t *r_drawentities;
|
||||||
extern cvar_t *r_drawworld;
|
extern cvar_t *r_drawworld;
|
||||||
extern cvar_t *gl_speeds;
|
extern cvar_t *r_speeds;
|
||||||
extern cvar_t *r_fullbright;
|
extern cvar_t *r_fullbright;
|
||||||
extern cvar_t *r_novis;
|
extern cvar_t *r_novis;
|
||||||
extern cvar_t *r_lerpmodels;
|
extern cvar_t *r_lerpmodels;
|
||||||
|
|
|
@ -72,7 +72,7 @@ unsigned r_rawpalette[256];
|
||||||
cvar_t *r_norefresh;
|
cvar_t *r_norefresh;
|
||||||
cvar_t *r_drawentities;
|
cvar_t *r_drawentities;
|
||||||
cvar_t *r_drawworld;
|
cvar_t *r_drawworld;
|
||||||
cvar_t *gl_speeds;
|
cvar_t *r_speeds;
|
||||||
cvar_t *r_fullbright;
|
cvar_t *r_fullbright;
|
||||||
cvar_t *r_novis;
|
cvar_t *r_novis;
|
||||||
cvar_t *r_lerpmodels;
|
cvar_t *r_lerpmodels;
|
||||||
|
@ -1074,7 +1074,7 @@ R_RenderView(refdef_t *fd)
|
||||||
ri.Sys_Error(ERR_DROP, "R_RenderView: NULL worldmodel");
|
ri.Sys_Error(ERR_DROP, "R_RenderView: NULL worldmodel");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gl_speeds->value)
|
if (r_speeds->value)
|
||||||
{
|
{
|
||||||
c_brush_polys = 0;
|
c_brush_polys = 0;
|
||||||
c_alias_polys = 0;
|
c_alias_polys = 0;
|
||||||
|
@ -1107,7 +1107,7 @@ R_RenderView(refdef_t *fd)
|
||||||
|
|
||||||
R_Flash();
|
R_Flash();
|
||||||
|
|
||||||
if (gl_speeds->value)
|
if (r_speeds->value)
|
||||||
{
|
{
|
||||||
R_Printf(PRINT_ALL, "%4i wpoly %4i epoly %i tex %i lmaps\n",
|
R_Printf(PRINT_ALL, "%4i wpoly %4i epoly %i tex %i lmaps\n",
|
||||||
c_brush_polys, c_alias_polys, c_visible_textures,
|
c_brush_polys, c_alias_polys, c_visible_textures,
|
||||||
|
@ -1206,7 +1206,7 @@ R_Register(void)
|
||||||
r_drawworld = ri.Cvar_Get("r_drawworld", "1", 0);
|
r_drawworld = ri.Cvar_Get("r_drawworld", "1", 0);
|
||||||
r_novis = ri.Cvar_Get("r_novis", "0", 0);
|
r_novis = ri.Cvar_Get("r_novis", "0", 0);
|
||||||
r_lerpmodels = ri.Cvar_Get("r_lerpmodels", "1", 0);
|
r_lerpmodels = ri.Cvar_Get("r_lerpmodels", "1", 0);
|
||||||
gl_speeds = ri.Cvar_Get("gl_speeds", "0", 0);
|
r_speeds = ri.Cvar_Get("r_speeds", "0", 0);
|
||||||
|
|
||||||
r_lightlevel = ri.Cvar_Get("r_lightlevel", "0", 0);
|
r_lightlevel = ri.Cvar_Get("r_lightlevel", "0", 0);
|
||||||
gl_overbrightbits = ri.Cvar_Get("gl_overbrightbits", "0", CVAR_ARCHIVE);
|
gl_overbrightbits = ri.Cvar_Get("gl_overbrightbits", "0", CVAR_ARCHIVE);
|
||||||
|
|
|
@ -113,7 +113,7 @@ cvar_t *gl_nolerp_list;
|
||||||
cvar_t *gl_nobind;
|
cvar_t *gl_nobind;
|
||||||
cvar_t *gl_lockpvs;
|
cvar_t *gl_lockpvs;
|
||||||
cvar_t *r_novis;
|
cvar_t *r_novis;
|
||||||
cvar_t *gl_speeds;
|
cvar_t *r_speeds;
|
||||||
cvar_t *gl_finish;
|
cvar_t *gl_finish;
|
||||||
|
|
||||||
cvar_t *gl_cull;
|
cvar_t *gl_cull;
|
||||||
|
@ -240,7 +240,7 @@ GL3_Register(void)
|
||||||
gl_cull = ri.Cvar_Get("gl_cull", "1", 0);
|
gl_cull = ri.Cvar_Get("gl_cull", "1", 0);
|
||||||
gl_lockpvs = ri.Cvar_Get("gl_lockpvs", "0", 0);
|
gl_lockpvs = ri.Cvar_Get("gl_lockpvs", "0", 0);
|
||||||
r_novis = ri.Cvar_Get("r_novis", "0", 0);
|
r_novis = ri.Cvar_Get("r_novis", "0", 0);
|
||||||
gl_speeds = ri.Cvar_Get("gl_speeds", "0", 0);
|
r_speeds = ri.Cvar_Get("r_speeds", "0", 0);
|
||||||
gl_finish = ri.Cvar_Get("gl_finish", "0", CVAR_ARCHIVE);
|
gl_finish = ri.Cvar_Get("gl_finish", "0", CVAR_ARCHIVE);
|
||||||
|
|
||||||
gl_dynamic = ri.Cvar_Get("gl_dynamic", "1", 0);
|
gl_dynamic = ri.Cvar_Get("gl_dynamic", "1", 0);
|
||||||
|
@ -255,7 +255,7 @@ GL3_Register(void)
|
||||||
//r_drawworld = ri.Cvar_Get("r_drawworld", "1", 0);
|
//r_drawworld = ri.Cvar_Get("r_drawworld", "1", 0);
|
||||||
//r_novis = ri.Cvar_Get("r_novis", "0", 0);
|
//r_novis = ri.Cvar_Get("r_novis", "0", 0);
|
||||||
//r_lerpmodels = ri.Cvar_Get("r_lerpmodels", "1", 0); NOTE: screw this, it looks horrible without
|
//r_lerpmodels = ri.Cvar_Get("r_lerpmodels", "1", 0); NOTE: screw this, it looks horrible without
|
||||||
//gl_speeds = ri.Cvar_Get("gl_speeds", "0", 0);
|
//r_speeds = ri.Cvar_Get("r_speeds", "0", 0);
|
||||||
|
|
||||||
//r_lightlevel = ri.Cvar_Get("r_lightlevel", "0", 0);
|
//r_lightlevel = ri.Cvar_Get("r_lightlevel", "0", 0);
|
||||||
//gl_overbrightbits = ri.Cvar_Get("gl_overbrightbits", "0", CVAR_ARCHIVE);
|
//gl_overbrightbits = ri.Cvar_Get("gl_overbrightbits", "0", CVAR_ARCHIVE);
|
||||||
|
@ -1427,7 +1427,7 @@ GL3_RenderView(refdef_t *fd)
|
||||||
ri.Sys_Error(ERR_DROP, "R_RenderView: NULL worldmodel");
|
ri.Sys_Error(ERR_DROP, "R_RenderView: NULL worldmodel");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gl_speeds->value)
|
if (r_speeds->value)
|
||||||
{
|
{
|
||||||
c_brush_polys = 0;
|
c_brush_polys = 0;
|
||||||
c_alias_polys = 0;
|
c_alias_polys = 0;
|
||||||
|
@ -1461,7 +1461,7 @@ GL3_RenderView(refdef_t *fd)
|
||||||
|
|
||||||
// Note: R_Flash() is now GL3_Draw_Flash() and called from GL3_RenderFrame()
|
// Note: R_Flash() is now GL3_Draw_Flash() and called from GL3_RenderFrame()
|
||||||
|
|
||||||
if (gl_speeds->value)
|
if (r_speeds->value)
|
||||||
{
|
{
|
||||||
R_Printf(PRINT_ALL, "%4i wpoly %4i epoly %i tex %i lmaps\n",
|
R_Printf(PRINT_ALL, "%4i wpoly %4i epoly %i tex %i lmaps\n",
|
||||||
c_brush_polys, c_alias_polys, c_visible_textures,
|
c_brush_polys, c_alias_polys, c_visible_textures,
|
||||||
|
|
Loading…
Reference in a new issue