UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
checkentities.h File Reference
#include "../map.h"

Go to the source code of this file.

Functions

void Check_Stats (void)
 print map stats on -stats More...
 
void CheckEntities (void)
 Perform an entity check. More...
 
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 More...
 

Function Documentation

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

Returns
a pointer to the array of pointers to brushes to be included in worldspawn.
Parameters
[out]numBrushesthe 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().