Data Structures | |
struct | lightchain_s |
struct | lightinfo_t |
struct | lightpoint_t |
struct | lightsample_t |
Macros | |
#define | BOGUS_RANGE 1000000000 |
#define | LIGHTDISTBIAS 65536.0 |
#define | MAXLIGHTS 1024 |
#define | NUMHSUNS 32 |
#define | NUMSUNS (1 + NUMHSUNS * NUMVSUNS) |
#define | NUMVSUNS 4 |
#define | ON_EPSILON 0.1 |
#define | SHADOWSENSE 0.4 |
#define | SINGLEMAP (256*256) |
Typedefs | |
typedef struct lightchain_s | lightchain_t |
Functions | |
const char * | get_tex_name (int texindex) |
int | GetFileSpace (int size) |
void | LightFace (lightinfo_t *l, int surfnum) |
void | LightLeaf (dleaf_t *leaf) |
void | LoadNodes (const char *file) |
void | MakeTnodes (dmodel_t *bm) |
void | RotateSample (vec3_t in, vec3_t out) |
qboolean | TestLine (lightinfo_t *l, const vec3_t start, const vec3_t stop) |
qboolean | TestSky (lightinfo_t *l, const vec3_t start, const vec3_t stop) |
void | TransformSample (vec3_t in, vec3_t out) |
void | VisEntity (int ent_index) |
void | VisStats (void) |
Variables | |
struct bsp_s * | bsp |
vec3_t | bsp_origin |
vec3_t | bsp_xvector |
vec3_t | bsp_yvector |
int | c_culldistplane |
int | c_proper |
qboolean | extrasamples |
byte * | filebase |
struct dstring_s * | lightdata |
float | minlights [MAX_MAP_FACES] |
struct entity_s ** | novislights |
int | num_novislights |
float | rangescale |
struct dstring_s * | rgblightdata |
float | scalecos |
float | scaledist |
lightchain_t ** | surfacelightchain |
vec3_t * | surfaceorgs |
#define BOGUS_RANGE 1000000000 |
#define LIGHTDISTBIAS 65536.0 |
#define MAXLIGHTS 1024 |
#define NUMHSUNS 32 |
#define NUMVSUNS 4 |
#define ON_EPSILON 0.1 |
#define SHADOWSENSE 0.4 |
#define SINGLEMAP (256*256) |
typedef struct lightchain_s lightchain_t |
void LightFace | ( | lightinfo_t * | l, |
int | surfnum | ||
) |
void LightLeaf | ( | dleaf_t * | leaf | ) |
void LoadNodes | ( | const char * | file | ) |
void MakeTnodes | ( | dmodel_t * | bm | ) |
void VisEntity | ( | int | ent_index | ) |
void VisStats | ( | void | ) |
struct bsp_s* bsp |
vec3_t bsp_origin |
vec3_t bsp_xvector |
vec3_t bsp_yvector |
int c_culldistplane |
int c_proper |
qboolean extrasamples |
byte* filebase |
struct dstring_s* lightdata |
float minlights[MAX_MAP_FACES] |
struct entity_s** novislights |
int num_novislights |
float rangescale |
struct dstring_s* rgblightdata |
float scalecos |
float scaledist |
lightchain_t** surfacelightchain |
vec3_t* surfaceorgs |