mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- WIP level transition refactored to a game independent event system.
This commit is contained in:
parent
1cf0ca3f75
commit
e5e8c02f1d
36 changed files with 536 additions and 368 deletions
|
@ -122,6 +122,11 @@ CCMD(togglefollow)
|
|||
cycle_t thinktime, actortime, gameupdatetime, drawtime;
|
||||
|
||||
gamestate_t gamestate = GS_STARTUP;
|
||||
gameaction_t gameaction = ga_nothing;
|
||||
// gameaction state
|
||||
MapRecord* g_nextmap;
|
||||
int g_nextskill;
|
||||
|
||||
|
||||
FILE* hashfile;
|
||||
|
||||
|
@ -1182,3 +1187,11 @@ void startmainmenu()
|
|||
FX_StopAllSounds();
|
||||
}
|
||||
|
||||
|
||||
void GameInterface::FreeLevelData()
|
||||
{
|
||||
// Make sure that there is no more level to toy around with.
|
||||
initspritelists();
|
||||
numsectors = numwalls = 0;
|
||||
currentLevel = nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue