updated to version 1.50, build 75.
[divverent/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         float   minlight;                       // don't add when contributing less
11         int             key;
12         vec3_t  color;                          // LordHavoc: colored lighting
13         qboolean        dark;                   // subtracts light instead of adding
14 } dlight_t;
15
16 // LordHavoc: this affects the lighting scale of the whole game
17 #define LIGHTOFFSET 16384.0f
18 #define LIGHTSCALE 4.0f