Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Sat Aug 3 17:02:12 EDT 2002


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2002-08-03 21:02:12 UTC

Log message:

removed cl_light.h (which has already been merged into client.h)

Modified files:
     darkplaces.dsp

Removed files:
     cl_light.h

------=MIME.baa63d35510a0696c3e343b31a0f6432
Content-Type: text/plain; name="darkplaces.20020803.210212.havoc.diff"
Content-Disposition: attachment; filename="darkplaces.20020803.210212.havoc.diff"
Content-Transfer-Encoding: 8bit

Index: darkplaces/cl_light.h
diff -u darkplaces/cl_light.h:1.3 darkplaces/cl_light.h:removed
--- darkplaces/cl_light.h:1.3	Sun Jun  2 09:43:41 2002
+++ darkplaces/cl_light.h	Sat Aug  3 17:02:12 2002
@@ -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
-
Index: darkplaces/darkplaces.dsp
diff -u darkplaces/darkplaces.dsp:1.16 darkplaces/darkplaces.dsp:1.17
--- darkplaces/darkplaces.dsp:1.16	Fri Aug  2 14:11:23 2002
+++ darkplaces/darkplaces.dsp	Sat Aug  3 17:02:02 2002
@@ -464,10 +464,6 @@
 # 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


More information about the twilight-commits mailing list