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

Method FreeLevelData

source/core/gamecontrol.cpp:1414–1422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1412//---------------------------------------------------------------------------
1413
1414void GameInterface::FreeLevelData()
1415{
1416 // Make sure that there is no more level to toy around with.
1417 InitSpriteLists();
1418 sector.Reset();
1419 wall.Reset();
1420 currentLevel = nullptr;
1421 GC::FullGC();
1422}
1423
1424//---------------------------------------------------------------------------
1425//

Callers 4

DoLoadGameFunction · 0.45
NewGameFunction · 0.45
GameTickerFunction · 0.45
GameMainFunction · 0.45

Calls 3

InitSpriteListsFunction · 0.85
FullGCFunction · 0.85
ResetMethod · 0.45

Tested by

no test coverage detected