8 vec_t cullradius2; // only for culling comparisons, squared version
9 vec3_t light; // the brightness of the light
10 vec_t cullradius; // only for culling comparisons
11 vec_t subtract; // to avoid sudden brightness change at cullradius, subtract this
12 entity_render_t *ent; // owner of this light
16 extern int r_numdlights;
17 extern rdlight_t r_dlight[MAX_DLIGHTS];
19 void R_BuildLightList(void);
20 void R_AnimateLight(void);
21 void R_MarkLights(entity_render_t *ent);
22 void R_DrawCoronas(void);
23 void R_CompleteLightPoint(vec3_t color, const vec3_t p, int dynamic, const mleaf_t *leaf);
24 void R_LightModel(const entity_render_t *ent, int numverts, float colorr, float colorg, float colorb, int worldcoords);
25 void R_UpdateEntLights(entity_render_t *ent);