From 4711dc9547c960f42ef040574b5f96d40a90b6b4 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 3 Aug 2002 21:02:02 +0000 Subject: [PATCH] removed cl_light.h (which has already been merged into client.h) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2182 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_light.h | 33 --------------------------------- darkplaces.dsp | 4 ---- 2 files changed, 37 deletions(-) delete mode 100644 cl_light.h diff --git a/cl_light.h b/cl_light.h deleted file mode 100644 index d717025d..00000000 --- a/cl_light.h +++ /dev/null @@ -1,33 +0,0 @@ - -#ifndef CL_LIGHT_H -#define CL_LIGHT_H - -// LordHavoc: 256 dynamic lights -#define MAX_DLIGHTS 256 -typedef struct -{ - // location - vec3_t origin; - // stop lighting after this time - float die; - // color of light - vec3_t color; - // brightness (not really radius anymore) - float radius; - // drop this each second - float decay; - // the entity that spawned this light (can be NULL if it will never be replaced) - entity_render_t *ent; -} -dlight_t; - -// LordHavoc: this affects the lighting scale of the whole game -#define LIGHTOFFSET 1024.0f - -extern dlight_t cl_dlights[MAX_DLIGHTS]; - -extern void CL_AllocDlight (entity_render_t *ent, vec3_t org, float radius, float red, float green, float blue, float decay, float lifetime); -extern void CL_DecayLights (void); - -#endif - diff --git a/darkplaces.dsp b/darkplaces.dsp index 1e6e6ffe..37bc5142 100644 --- a/darkplaces.dsp +++ b/darkplaces.dsp @@ -464,10 +464,6 @@ SOURCE=.\cl_collision.h # End Source File # Begin Source File -SOURCE=.\cl_light.h -# End Source File -# Begin Source File - SOURCE=.\cl_screen.h # End Source File # Begin Source File -- 2.39.2