#include "../../../shared/typedefs.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 |
Definition in file checkentities.h.
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 259 of file checkentities.c.
References entities, entity_t::firstbrush, i, mapbrushes, Mem_Alloc, name, num_entities, entity_t::numbrushes, numToMoveToWorldspawn, Sys_Error(), and ValueForKey().
Referenced by WriteMapFile().
void Check_Stats | ( | void | ) |
print map stats on -stats
Definition at line 185 of file checkentities.c.
References Check_InitEntityDefs(), Check_MapSize(), Com_Printf(), entities, entityDefs, i, Mem_Alloc, Mem_Free, MIN_TILE_SIZE, name, num_entities, numEntityDefs, nummapbrushes, nummapbrushsides, nummapplanes, UNIT_HEIGHT, UNIT_SIZE, ValueForKey(), VERB_NORMAL, and Verb_Printf().
Referenced by main().
void CheckEntities | ( | void | ) |
Perform an entity check.
Definition at line 114 of file checkentities.c.
References Check_EntityWithBrushes(), Check_InfoStartAligned(), Check_InitEntityDefs(), Check_IsInfoStart(), Check_Printf(), Check_TargetExists(), entityDef_s::classname, entityKeyDef_s::defaultVal, ED_CheckKey(), ED_ERROR, ED_GetEntityDef(), ED_GetKeyDefEntity(), ED_GetLastError(), ED_MANDATORY, entities, entity_t::epairs, entityKeyDef_s::flags, i, epair_s::key, entityDef_s::keyDefs, entityKeyDef_s::name, name, epair_s::next, num_entities, qfalse, qtrue, SetKeyValue(), epair_s::value, ValueForKey(), and VERB_CHECK.
Referenced by main().