]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_light.h
now entirely dynamic OpenGL binding
[xonotic/darkplaces.git] / cl_light.h
index f29c25bff904a97c47f439c8c4262462f60a4f3b..d717025d5da36b867573fbdc31041a569a75483b 100644 (file)
@@ -1,4 +1,7 @@
 
+#ifndef CL_LIGHT_H
+#define CL_LIGHT_H
+
 // LordHavoc: 256 dynamic lights
 #define        MAX_DLIGHTS             256
 typedef struct
@@ -25,3 +28,6 @@ extern dlight_t cl_dlights[MAX_DLIGHTS];
 
 extern void CL_AllocDlight (entity_render_t *ent, vec3_t org, float radius, float red, float green, float blue, float decay, float lifetime);
 extern void CL_DecayLights (void);
+
+#endif
+