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

Function FindMapByLevelNum

source/core/mapinfo.cpp:98–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97
98MapRecord *FindMapByLevelNum(int num)
99{
100 for (auto& map : mapList)
101 {
102 if (map->levelNumber == num)
103 {
104 return map.Data();
105 }
106 }
107 return nullptr;
108}
109
110VolumeRecord* FindVolume(int index)
111{

Callers 12

loadconsFunction · 0.85
setnextmapFunction · 0.85
exitlevelFunction · 0.85
OperateSpriteFunction · 0.85
OperateTripTriggerFunction · 0.85
PrevCheatFunction · 0.85
WarpCheatFunction · 0.85
LoadCustomInfoFromScriptFunction · 0.85
LevelCompletedMethod · 0.85
FindMapByIndexFunction · 0.85
FindNextMapFunction · 0.85

Calls 1

DataMethod · 0.45

Tested by

no test coverage detected