mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- added GC handling for all backend pointers in the map data.
GC is not active yet!
This commit is contained in:
parent
db240ea2b0
commit
0dd756fa32
13 changed files with 45 additions and 28 deletions
|
@ -145,6 +145,7 @@ bool PreBindTexture(FRenderState* state, FGameTexture*& tex, EUpscaleFlags& flag
|
|||
void highTileSetup();
|
||||
void FontCharCreated(FGameTexture* base, FGameTexture* untranslated);
|
||||
void LoadVoxelModels();
|
||||
void MarkMap();
|
||||
|
||||
DStatusBarCore* StatusBar;
|
||||
|
||||
|
@ -1054,6 +1055,7 @@ int RunGame()
|
|||
StartScreen->Progress();
|
||||
|
||||
engineInit();
|
||||
GC::AddMarkerFunc(MarkMap);
|
||||
gi->app_init();
|
||||
StartScreen->Progress();
|
||||
G_ParseMapInfo();
|
||||
|
@ -1382,6 +1384,7 @@ void GameInterface::FreeLevelData()
|
|||
sector.Reset();
|
||||
wall.Reset();
|
||||
currentLevel = nullptr;
|
||||
GC::FullGC();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue