]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
added MOVE_WORLDONLY movement type
[xonotic/darkplaces.git] / render.h
index 52afb74db4a8daa46860b4847010ef41a0783539..2bd3e247844fff2291a4a21fbbf717884c4cd0e1 100644 (file)
--- a/render.h
+++ b/render.h
@@ -66,6 +66,10 @@ extern cvar_t r_novis;
 // detail texture stuff
 extern cvar_t r_detailtextures;
 
+extern cvar_t r_lerpsprites;
+extern cvar_t r_lerpmodels;
+extern cvar_t r_waterscroll;
+
 // useful functions for rendering
 void R_ModulateColors(float *in, float *out, int verts, float r, float g, float b);
 void R_FillColors(float *out, int verts, float r, float g, float b, float a);
@@ -99,6 +103,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
@@ -106,16 +111,11 @@ void R_RenderView (void); // must set r_refdef first
 
 void R_InitSky (qbyte *src, int bytesperpixel); // called at level load
 
-void R_NewMap (void);
-
 void R_WorldVisibility(entity_render_t *ent);
 void R_DrawWorld(entity_render_t *ent);
 void R_DrawParticles(void);
 void R_DrawExplosions(void);
 
-// LordHavoc: vertex transform
-#include "transform.h"
-
 #define gl_solid_format 3
 #define gl_alpha_format 4
 
@@ -165,12 +165,13 @@ 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_CalcBeam_Vertex3f(float *vert, const vec3_t org1, const vec3_t org2, float width);
+void R_DrawSprite(int blendfunc1, int blendfunc2, rtexture_t *texture, int depthdisable, const vec3_t origin, const vec3_t left, const vec3_t up, float scalex1, float scalex2, float scaley1, float scaley2, float cr, float cg, float cb, float ca);
 
 #endif