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

Function FindNextSecretMap

source/core/mapinfo.cpp:164–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164MapRecord* FindNextSecretMap(MapRecord* thismap)
165{
166 MapRecord* next = nullptr;
167 if (!thismap->NextSecret.Compare("-")) return nullptr; // '-' means to forcibly end the game here.
168 if (thismap->NextSecret.IsNotEmpty()) next = FindMapByName(thismap->NextSecret.GetChars());
169 return next? next : FindNextMap(thismap);
170}
171
172void SetMusicReplacement(const char *mapname, const char *music)
173{

Callers 2

setnextmapFunction · 0.85
levelEndLevelFunction · 0.85

Calls 5

FindMapByNameFunction · 0.85
FindNextMapFunction · 0.85
IsNotEmptyMethod · 0.80
CompareMethod · 0.45
GetCharsMethod · 0.45

Tested by

no test coverage detected