From 933cd63cd38f182d76b111f4bdf7f94e253ce6fc Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 11 Dec 2004 03:41:12 +0000 Subject: [PATCH] new defs added for r_drawflat git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@625 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/renderer.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/engine/client/renderer.c b/engine/client/renderer.c index 021a026b1..c2adf8a5a 100644 --- a/engine/client/renderer.c +++ b/engine/client/renderer.c @@ -197,6 +197,10 @@ cvar_t r_flashblend = {"gl_flashblend","0"}; extern cvar_t r_novis; extern cvar_t r_netgraph; +cvar_t r_drawflat = {"r_drawflat","0", NULL, CVAR_SEMICHEAT}; +cvar_t r_wallcolour = {"r_wallcolour","0 0 1"}; +cvar_t r_floorcolour = {"r_floorcolour","0.5 0.5 1"}; + cvar_t r_transtables = {"r_transtables","2"}; cvar_t r_transtablehalf = {"r_transtablehalf", "1"}; cvar_t r_transtablewrite = {"r_transtablewrite", "1"}; @@ -323,6 +327,10 @@ void GLRenderer_Init(void) Cvar_Register (&gl_skyboxdist, GLRENDEREROPTIONS); + Cvar_Register (&r_wallcolour, GLRENDEREROPTIONS); + Cvar_Register (&r_floorcolour, GLRENDEREROPTIONS); + Cvar_Register (&r_vertexdlights, GLRENDEREROPTIONS); + #ifdef Q3SHADERS Cvar_Register (&r_vertexlight, GLRENDEREROPTIONS); #endif @@ -358,7 +366,6 @@ void SWRenderer_Init(void) Cvar_Register (&r_graphheight, SWRENDEREROPTIONS); Cvar_Register (&r_aliasstats, SWRENDEREROPTIONS); Cvar_Register (&r_dspeeds, SWRENDEREROPTIONS); - Cvar_Register (&r_drawflat, SWRENDEREROPTIONS); Cvar_Register (&r_ambient, SWRENDEREROPTIONS); Cvar_Register (&r_ambient, SWRENDEREROPTIONS); Cvar_Register (&r_reportsurfout, SWRENDEREROPTIONS); @@ -517,6 +524,8 @@ void Renderer_Init(void) Cvar_Register (&r_fastsky, GRAPHICALNICETIES); Cvar_Register (&r_fastskycolour, GRAPHICALNICETIES); + Cvar_Register (&r_drawflat, GRAPHICALNICETIES); + //bulletens Cvar_Register(&bul_nowater, BULLETENVARS); Cvar_Register(&bul_rippleamount, BULLETENVARS);