QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
map.c File Reference

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_tentities
 
script_tmap_script
 
entity_tmapent
 
int max_entities
 
int maxmiptexnames
 
hashtab_tmiptex_hash
 
const char ** miptexnames
 
int num_entities
 
int numdetailbrushes
 
int nummapbrushes
 
int nummapbrushfaces
 
int nummiptexnames