UFO: Alien Invasion
Loading...
Searching...
No Matches
checkentities.h File Reference
#include "../map.h"
Include dependency graph for checkentities.h:
This graph shows which files directly or indirectly include this file:

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

Function Documentation

◆ Check_ExtraBrushesForWorldspawn()

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().

◆ Check_Stats()

◆ CheckEntities()