27 #include "../../../common/qfiles.h"
epair_t * ParseEpair(int entNum)
Parses one key and value for an entity from the current tokens.
void GetVectorForKey(const entity_t *ent, const char *key, vec3_t vec)
Converts the value of a entity parameter into a vec3_t.
byte * CompressRouting(byte *dataStart, byte *destStart, int l)
Compress the routing data of a map.
void PrintBSPFileSizes(void)
Dumps info about current file.
const char * ValueForKey(const entity_t *ent, const char *key)
void GetVectorFromString(const char *value, vec3_t vec)
Converts a string into a vec3_t.
entity_t * FindTargetEntity(const char *target)
Searches the entities array for an entity with the parameter targetname that matches the searched tar...
const char * UnparseEntities(void)
Generates the curTile->entdata string from all the entities.
vec_t FloatForKey(const entity_t *ent, const char *key)
epair_t * AddEpair(const char *key, const char *value, int entNum)
dMapTile_t * LoadBSPFile(const char *filename)
long WriteBSPFile(const char *filename)
Swaps the bsp file in place, so it should not be referenced again.
void ParseEntities(void)
Parses the curTile->entdata string into entities.
void SetKeyValue(entity_t *ent, const char *key, const char *value)
bool EpairCheckForDuplicate(const entity_t *ent, const epair_t *e)
entity_t entities[MAX_MAP_ENTITIES]