2 // LordHavoc: 256 dynamic lights
3 #define MAX_DLIGHTS 256
8 float die; // stop lighting after this time
9 float decay; // drop this each second
10 entity_render_t *ent; // the entity that spawned this light (can be NULL if it will never be replaced)
11 vec3_t color; // LordHavoc: colored lighting
14 // LordHavoc: this affects the lighting scale of the whole game
15 #define LIGHTOFFSET 4096.0f
17 extern dlight_t cl_dlights[MAX_DLIGHTS];
19 extern void CL_AllocDlight (entity_render_t *ent, vec3_t org, float radius, float red, float green, float blue, float decay, float lifetime);
20 extern void CL_DecayLights (void);