|
UFO: Alien Invasion
|
#include "../map.h"

Go to the source code of this file.
Functions | |
| void | Check_Stats (void) |
| print map stats on -stats | |
| void | CheckEntities (void) |
| Perform an entity check. | |
| mapbrush_t ** | Check_ExtraBrushesForWorldspawn (int *numBrushes) |
| single brushes in func_groups are moved to worldspawn. this function allocates space for pointers to those brushes. called when the .map is written back in map.c | |
| mapbrush_t ** Check_ExtraBrushesForWorldspawn | ( | int * | numBrushes | ) |
single brushes in func_groups are moved to worldspawn. this function allocates space for pointers to those brushes. called when the .map is written back in map.c
| [out] | numBrushes | the number of brushes |
Definition at line 251 of file checkentities.cpp.
References entities, entity_t::firstbrush, i, mapbrushes, Mem_AllocTypeN, name, num_entities, entity_t::numbrushes, numToMoveToWorldspawn, Q_streq, Sys_Error(), and ValueForKey().
Referenced by WriteMapFile().
print map stats on -stats
Definition at line 181 of file checkentities.cpp.
References Check_InitEntityDefs(), Check_MapSize(), Com_Printf(), entities, entityDefs, i, Mem_AllocTypeN, Mem_Free, MIN_TILE_SIZE, name, num_entities, numEntityDefs, nummapbrushes, nummapbrushsides, nummapplanes, Q_streq, UNIT_HEIGHT, UNIT_SIZE, ValueForKey(), VERB_NORMAL, and Verb_Printf().
Referenced by main().
Perform an entity check.
Definition at line 112 of file checkentities.cpp.
References Check_EntityWithBrushes(), Check_InfoStartAligned(), Check_InitEntityDefs(), Check_IsInfoStart(), Check_Printf(), Check_TargetExists(), entityDef_t::classname, entityKeyDef_t::defaultVal, ED_CheckKey(), ED_ERROR, ED_GetEntityDef(), ED_GetKeyDefEntity(), ED_GetLastError(), ED_MANDATORY, entities, entity_t::epairs, entityKeyDef_t::flags, i, epair_t::key, entityDef_t::keyDefs, entityKeyDef_t::name, name, epair_t::next, num_entities, Q_streq, Q_strstart(), Q_strvalid, SetKeyValue(), epair_t::value, ValueForKey(), and VERB_CHECK.
Referenced by main().