]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_light.h
audited all Sys_Quit calls and gave them return values indicating
[xonotic/darkplaces.git] / r_light.h
index 67f00502af43fe4b4142e774b565788f435f662b..7af2aadc58d82251189657ae8f52a8e98f3f42e8 100644 (file)
--- a/r_light.h
+++ b/r_light.h
@@ -2,15 +2,8 @@
 #ifndef R_LIGHT_H
 #define R_LIGHT_H
 
-extern int r_numdlights;
-extern dlight_t r_dlight[MAX_DLIGHTS];
-
-void R_UpdateLights(void);
 void R_DrawCoronas(void);
-void R_CompleteLightPoint(vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal, const vec3_t p, int dynamic, const mleaf_t *leaf);
-int R_LightModel(float *ambient4f, float *diffusecolor, float *diffusenormal, const entity_render_t *ent, float colorr, float colorg, float colorb, float colora, int worldcoords);
-void R_LightModel_CalcVertexColors(const float *ambientcolor4f, const float *diffusecolor, const float *diffusenormal, int numverts, const float *vertex3f, const float *normal3f, float *color4f);
-void R_UpdateEntLights(entity_render_t *ent);
+void R_CompleteLightPoint(vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal, const vec3_t p, int dynamic);
 
 #endif