diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-09 20:40:46 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-09 20:40:46 +0200 |
commit | a5239b554fa13aaf0ffa5ee850402f71cd680d29 (patch) | |
tree | 47ac7800bd86e5674fee2b6fc3a797647570e6cb /src/skel/win/win.cpp | |
parent | Merge pull request #393 from Sergeanur/txdimg (diff) | |
parent | PS2 Cheats, restored R*names (diff) | |
download | re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.gz re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.bz2 re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.lz re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.xz re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.tar.zst re3-a5239b554fa13aaf0ffa5ee850402f71cd680d29.zip |
Diffstat (limited to '')
-rw-r--r-- | src/skel/win/win.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 7993426a..ec84e968 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -1927,7 +1927,7 @@ _WinMain(HINSTANCE instance, * Enter the message processing loop... */ - while( !RsGlobal.quit && !FrontEndMenuManager.m_bStartGameLoading ) + while( !RsGlobal.quit && !FrontEndMenuManager.m_bWantToRestart ) { if( PeekMessage(&message, nil, 0U, 0U, PM_REMOVE|PM_NOYIELD) ) { @@ -2059,13 +2059,13 @@ _WinMain(HINSTANCE instance, if (wp.showCmd != SW_SHOWMINIMIZED) RsEventHandler(rsFRONTENDIDLE, nil); - if ( !FrontEndMenuManager.m_bMenuActive || FrontEndMenuManager.m_bLoadingSavedGame ) + if ( !FrontEndMenuManager.m_bMenuActive || FrontEndMenuManager.m_bWantToLoad ) { gGameState = GS_INIT_PLAYING_GAME; TRACE("gGameState = GS_INIT_PLAYING_GAME;"); } - if ( FrontEndMenuManager.m_bLoadingSavedGame ) + if ( FrontEndMenuManager.m_bWantToLoad ) { InitialiseGame(); FrontEndMenuManager.m_bGameNotLoaded = false; @@ -2128,7 +2128,7 @@ _WinMain(HINSTANCE instance, RwInitialised = FALSE; FrontEndMenuManager.UnloadTextures(); - if ( !FrontEndMenuManager.m_bStartGameLoading ) + if ( !FrontEndMenuManager.m_bWantToRestart ) break; CPad::ResetCheats(); @@ -2138,13 +2138,13 @@ _WinMain(HINSTANCE instance, CTimer::Stop(); - if ( FrontEndMenuManager.m_bLoadingSavedGame ) + if ( FrontEndMenuManager.m_bWantToLoad ) { CGame::ShutDownForRestart(); CGame::InitialiseWhenRestarting(); DMAudio.ChangeMusicMode(MUSICMODE_GAME); LoadSplash(GetLevelSplashScreen(CGame::currLevel)); - FrontEndMenuManager.m_bLoadingSavedGame = false; + FrontEndMenuManager.m_bWantToLoad = false; } else { @@ -2168,7 +2168,7 @@ _WinMain(HINSTANCE instance, } FrontEndMenuManager.m_bFirstTime = false; - FrontEndMenuManager.m_bStartGameLoading = false; + FrontEndMenuManager.m_bWantToRestart = false; } |