5 extern int r_numdlights;
6 extern dlight_t r_dlight[MAX_DLIGHTS];
8 void R_UpdateLights(void);
9 void R_DrawCoronas(void);
10 void R_CompleteLightPoint(vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal, const vec3_t p, int dynamic);
11 int R_LightModel(float *ambient4f, float *diffusecolor, float *diffusenormal, const entity_render_t *ent, float colorr, float colorg, float colorb, float colora, int worldcoords);
12 void R_LightModel_CalcVertexColors(const float *ambientcolor4f, const float *diffusecolor, const float *diffusenormal, int numverts, const float *vertex3f, const float *normal3f, float *color4f);
13 void R_UpdateEntLights(entity_render_t *ent);