2 // LordHavoc: 256 dynamic lights
3 #define MAX_DLIGHTS 256
8 // stop lighting after this time
12 // brightness (not really radius anymore)
14 // drop this each second
16 // the entity that spawned this light (can be NULL if it will never be replaced)
21 // LordHavoc: this affects the lighting scale of the whole game
22 #define LIGHTOFFSET 1024.0f
24 extern dlight_t cl_dlights[MAX_DLIGHTS];
26 extern void CL_AllocDlight (entity_render_t *ent, vec3_t org, float radius, float red, float green, float blue, float decay, float lifetime);
27 extern void CL_DecayLights (void);