]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
got rid of all the (no longer used) cached_ fields in the msurface_t struct, except...
[xonotic/darkplaces.git] / render.h
index 52afb74db4a8daa46860b4847010ef41a0783539..1c9a91abc5228856c1527b6af7ab1a291ad75b66 100644 (file)
--- a/render.h
+++ b/render.h
@@ -99,6 +99,7 @@ extern        cvar_t  r_speeds;
 extern cvar_t  r_fullbright;
 extern cvar_t  r_wateralpha;
 extern cvar_t  r_dynamic;
+extern cvar_t  r_dlightmap;
 
 void R_Init (void);
 void R_RenderView (void); // must set r_refdef first
@@ -165,12 +166,12 @@ void R_TimeReport_Start(void);
 void R_TimeReport_End(void);
 
 // r_stain
-void R_Stain (vec3_t origin, float radius, int cr1, int cg1, int cb1, int ca1, int cr2, int cg2, int cb2, int ca2);
+void R_Stain (const vec3_t origin, float radius, int cr1, int cg1, int cb1, int ca1, int cr2, int cg2, int cb2, int ca2);
 
 void R_DrawWorldCrosshair(void);
 void R_Draw2DCrosshair(void);
 
-void R_CalcBeamVerts (float *vert, vec3_t org1, vec3_t org2, float width);
+void R_CalcBeamVerts (float *vert, const vec3_t org1, const vec3_t org2, float width);
 
 #endif