MCPcopy Create free account
hub / github.com/ZDoom/Raze / AllocateMap

Function AllocateMap

source/core/mapinfo.cpp:228–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228MapRecord *AllocateMap()
229{
230 auto&p = mapList[mapList.Reserve(1)];
231 p.Alloc();
232 return p.Data();
233}
234
235
236MapRecord* SetupUserMap(const char* boardfilename, const char *defaultmusic)

Callers 6

parsecommandMethod · 0.85
LoadCustomInfoFromScriptFunction · 0.85
levelLoadDefaultsFunction · 0.85
ParseMapHeaderMethod · 0.85
G_ValidateSavegameFunction · 0.85
SetupUserMapFunction · 0.85

Calls 3

ReserveMethod · 0.80
AllocMethod · 0.45
DataMethod · 0.45

Tested by

no test coverage detected