]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
fix compile error with .avelocity
[xonotic/darkplaces.git] / render.h
index b893fff91a66c3c8c1a8ae5b85e21837568ec3b6..5298ca9587d3ea0a1d5d983d42b163f4a436bae9 100644 (file)
--- a/render.h
+++ b/render.h
@@ -163,6 +163,7 @@ int R_CullBoxCustomPlanes(const vec3_t mins, const vec3_t maxs, int numplanes, c
 #include "r_lerpanim.h"
 
 extern cvar_t r_render;
+extern cvar_t r_renderview;
 extern cvar_t r_waterwarp;
 
 extern cvar_t r_textureunits;
@@ -311,6 +312,8 @@ typedef struct rsurfacestate_s
        // colormapping state from entity (these are black if colormapping is off)
        vec3_t colormap_pantscolor;
        vec3_t colormap_shirtcolor;
+       // special coloring of glow textures
+       vec3_t glowmod;
        // view location in model space
        vec3_t modelorg; // TODO: rename this
        // polygon offset data for submodels
@@ -411,6 +414,7 @@ typedef enum gl20_texunit_e
        GL20TU_SHADOWMAPRECT = 11,
        GL20TU_SHADOWMAPCUBE = 11,
        GL20TU_SHADOWMAP2D = 11,
+       GL20TU_CUBEPROJECTION = 12
 }
 gl20_texunit;