Functions | |
void | LoadProperties (const char *filename) |
Load the lighting properties database from the specified file. More... | |
int | parse_attenuation (const char *arg) |
Parse the light attenuation style from a string. More... | |
void | parse_color (const char *str, vec3_t color) |
Parse an RGB color vector from a string. More... | |
float | parse_float (const char *str) |
Parse a float from a string. More... | |
float | parse_light (const char *str, vec3_t color) |
Parse a light intensity/color specification. More... | |
int | parse_noise (const char *arg) |
Parse the light's noise type from a string. More... | |
void | parse_vector (const char *str, vec3_t vec) |
Parse a vector from a string. More... | |
void | set_properties (entity_t *ent, struct plitem_s *dict) |
Set the light entity's lighting values based on its fields and the loaded lighting properties database. More... | |
void | set_sun_properties (entity_t *ent, struct plitem_s *dict) |
Set the world entity's sun values based on its fields and the loaded lighting properties database. More... | |