X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=r_light.h;h=ea1e525aa1abd1d936964beba38a73386f506065;hb=502a14e6fb23e7d9425620b2b066de992922a0ce;hp=6020c915a8ce9f701f7c19b89df02f748db4d0fc;hpb=c651b263f8a63fa5846df832051d4f5658680a03;p=xonotic%2Fdarkplaces.git diff --git a/r_light.h b/r_light.h index 6020c915..ea1e525a 100644 --- a/r_light.h +++ b/r_light.h @@ -6,11 +6,8 @@ extern int r_numdlights; extern dlight_t r_dlight[MAX_DLIGHTS]; void R_UpdateLights(void); -#ifdef LHREMOVESOON -void R_MarkLights(entity_render_t *ent); -#endif void R_DrawCoronas(void); -void R_CompleteLightPoint(vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal, const vec3_t p, int dynamic, const mleaf_t *leaf); +void R_CompleteLightPoint(vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal, const vec3_t p, int dynamic); int R_LightModel(float *ambient4f, float *diffusecolor, float *diffusenormal, const entity_render_t *ent, float colorr, float colorg, float colorb, float colora, int worldcoords); void R_LightModel_CalcVertexColors(const float *ambientcolor4f, const float *diffusecolor, const float *diffusenormal, int numverts, const float *vertex3f, const float *normal3f, float *color4f); void R_UpdateEntLights(entity_render_t *ent);