Macros | |
#define | ENTITIES_CHUNK 16 |
#define | MIPTEXNAME_CHUNK 16 |
Functions | |
int | FindMiptex (const char *name) |
Allocate a miptex handle for the named miptex. More... | |
void | GetVectorForKey (const entity_t *ent, const char *key, vec3_t vec) |
Parse a vector value from an entity's key. More... | |
void | LoadMapFile (const char *filename) |
Load and parse the map script. More... | |
void | PrintEntity (const entity_t *ent) |
Dump an entity's data to stdout. More... | |
void | SetKeyValue (entity_t *ent, const char *key, const char *value) |
Set the value of the entity's key. More... | |
const char * | ValueForKey (const entity_t *ent, const char *key) |
Get the value for the specified key from an entity. More... | |
void | WriteEntitiesToString (void) |
Write all valid entities to the bsp file. More... | |
Variables | |
vec3_t | baseaxis [18] |
entity_t * | entities |
script_t * | map_script |
entity_t * | mapent |
int | max_entities |
int | maxmiptexnames |
hashtab_t * | miptex_hash |
const char ** | miptexnames |
int | num_entities |
int | numdetailbrushes |
int | nummapbrushes |
int | nummapbrushfaces |
int | nummiptexnames |