X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=r_light.h;h=379c1b8e2ddf873c2f7c6f98b7e54fb99dfd6d35;hp=ac27483281a6d1ee17f96d25b231367d2eef03f5;hb=d6852834938f79734277cd4fe3f2a34d85e55b83;hpb=e2aacb31cf7c1c5dbcec7b0ee38070324eb1cb69 diff --git a/r_light.h b/r_light.h index ac274832..379c1b8e 100644 --- a/r_light.h +++ b/r_light.h @@ -20,9 +20,9 @@ void R_BuildLightList(void); void R_AnimateLight(void); void R_MarkLights(entity_render_t *ent); void R_DrawCoronas(void); -void R_CompleteLightPoint(vec3_t color, const vec3_t p, int dynamic, const mleaf_t *leaf); -int R_LightModel(float *ambient4f, const entity_render_t *ent, float colorr, float colorg, float colorb, float colora, int worldcoords); -void R_LightModel_CalcVertexColors(const float *ambientcolor4f, int numverts, const float *vertex3f, const float *normal3f, float *color4f); +void R_CompleteLightPoint(vec3_t ambientcolor, vec3_t diffusecolor, vec3_t diffusenormal, const vec3_t p, int dynamic, const mleaf_t *leaf); +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); #endif