MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / GetNumEntities

Method GetNumEntities

neo/idlib/MapFile.h:200–200  ·  view source on GitHub ↗

get the number of entities in the map

Source from the content-addressed store, hash-verified

198 bool Write( const char *fileName, const char *ext, bool fromBasePath = true );
199 // get the number of entities in the map
200 int GetNumEntities( void ) const { return entities.Num(); }
201 // get the specified entity
202 idMapEntity * GetEntity( int i ) const { return entities[i]; }
203 // get the name without file extension

Callers 15

InitFromSaveGameMethod · 0.80
SpawnMapEntitiesMethod · 0.80
Map_LoadFileFunction · 0.80
CreateMapLightsFunction · 0.80
LoadDMapFileFunction · 0.80
FloodFromEntitiesMethod · 0.80
AddBrushesForMapFileMethod · 0.80
CheckForEntitiesMethod · 0.80
LocalizeMapFunction · 0.80

Calls 1

NumMethod · 0.45

Tested by

no test coverage detected