better version reports (always mention build number)
[xonotic/darkplaces.git] / r_light.h
1
2 // LordHavoc: 256 dynamic lights
3 #define MAX_DLIGHTS             256
4 typedef struct
5 {
6         vec3_t  origin;
7         float   radius;
8         float   die;                            // stop lighting after this time
9         float   decay;                          // drop this each second
10         int             key;
11         vec3_t  color;                          // LordHavoc: colored lighting
12         qboolean        dark;                   // subtracts light instead of adding
13 } dlight_t;
14
15 // LordHavoc: this affects the lighting scale of the whole game
16 #define LIGHTOFFSET 16384.0f
17 #define LIGHTSCALE 4.0f
18 #define LIGHTSCALE2 4.0f