main/lighting.h File Reference


Defines

#define MAX_DIST   0x400000
#define MAX_DIST_LOG   5
#define MAX_LIGHT   0x10000
#define NEAREST_LIGHT_DIST   (F1_0*60)
#define MIN_LIGHT_DIST   (F1_0*4)
#define BEAM_CUTOFF   0xa000

Functions

void set_dynamic_light (void)
fix compute_headlight_light (vms_vector *point, fix face_light)
fix compute_seg_dynamic_light (int segnum)
fix compute_object_light (object *obj, vms_vector *rotated_pnt)

Variables

fix Beam_brightness
fix Dynamic_light [MAX_VERTICES]

Define Documentation

#define BEAM_CUTOFF   0xa000
 

#define MAX_DIST   0x400000
 

#define MAX_DIST_LOG   5
 

#define MAX_LIGHT   0x10000
 

#define MIN_LIGHT_DIST   (F1_0*4)
 

#define NEAREST_LIGHT_DIST   (F1_0*60)
 


Function Documentation

fix compute_headlight_light vms_vector point,
fix  face_light
 

fix compute_object_light object obj,
vms_vector rotated_pnt
 

fix compute_seg_dynamic_light int  segnum  ) 
 

void set_dynamic_light void   ) 
 


Variable Documentation

fix Beam_brightness
 

fix Dynamic_light[MAX_VERTICES]
 


Generated on Mon Aug 28 20:55:33 2006 for D1X-Rebirth by  doxygen 1.4.6