]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_light.h
Lots of speedups and cleanups in client code, dynamically allocated cl_entities ...
[xonotic/darkplaces.git] / r_light.h
index 9a264c9428fba804966c0eb7b5ac1e226531ed12..1c28cb7ff72edf323f90917d1c7cdc5311cc5100 100644 (file)
--- a/r_light.h
+++ b/r_light.h
@@ -1,4 +1,7 @@
 
+#ifndef R_LIGHT_H
+#define R_LIGHT_H
+
 typedef struct
 {
        vec3_t origin;
@@ -6,7 +9,7 @@ typedef struct
        vec3_t light; // the brightness of the light
        vec_t cullradius; // only for culling comparisons
        vec_t lightsubtract; // to avoid sudden brightness change at cullradius, subtract this
-       entity_render_t *ent; // owner of this light
+//     entity_render_t *ent; // owner of this light
 }
 rdlight_t;
 
@@ -18,4 +21,7 @@ void R_AnimateLight(void);
 void R_MarkLights(void);
 void R_DrawCoronas(void);
 void R_CompleteLightPoint(vec3_t color, vec3_t p, int dynamic, mleaf_t *leaf);
-void R_LightModel(int numverts);
+void R_LightModel(int numverts, float colorr, float colorg, float colorb, int worldcoords);
+
+#endif
+