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

Function FindMapByIndexOnly

source/core/mapinfo.cpp:138–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138MapRecord* FindMapByIndexOnly(int cluster, int num)
139{
140 int levelnum = makelevelnum(cluster, num);
141 for (auto& map : mapList)
142 {
143 if (map->levelNumber == levelnum) return map.Data();
144 }
145 return nullptr;
146}
147
148MapRecord* FindMapByIndex(int cluster, int num)
149{

Callers 6

parsecommandMethod · 0.85
setmusicMethod · 0.85
loadconsFunction · 0.85
levelLoadDefaultsFunction · 0.85
SetMusicForMapFunction · 0.85

Calls 2

makelevelnumFunction · 0.85
DataMethod · 0.45

Tested by

no test coverage detected