Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
228
MapRecord *AllocateMap()
229
{
230
auto&p = mapList[mapList.Reserve(1)];
231
p.Alloc();
232
return p.Data();
233
}
234
235
236
MapRecord* SetupUserMap(const char* boardfilename, const char *defaultmusic)
Callers
6
parsecommand
Method · 0.85
LoadCustomInfoFromScript
Function · 0.85
levelLoadDefaults
Function · 0.85
ParseMapHeader
Method · 0.85
G_ValidateSavegame
Function · 0.85
SetupUserMap
Function · 0.85
Calls
3
Reserve
Method · 0.80
Alloc
Method · 0.45
Data
Method · 0.45
Tested by
no test coverage detected