diff options
author | Xinerki <simasadves@gmail.com> | 2020-05-21 13:23:12 +0200 |
---|---|---|
committer | Xinerki <simasadves@gmail.com> | 2020-05-21 13:23:12 +0200 |
commit | 1cb7b9876fe8310d5f3f52324c6647874e4340aa (patch) | |
tree | 646fbeab0a0dac5da8ef791795458d64b31400b6 /src/core | |
parent | add freecam toggle in control settings (diff) | |
download | re3-1cb7b9876fe8310d5f3f52324c6647874e4340aa.tar re3-1cb7b9876fe8310d5f3f52324c6647874e4340aa.tar.gz re3-1cb7b9876fe8310d5f3f52324c6647874e4340aa.tar.bz2 re3-1cb7b9876fe8310d5f3f52324c6647874e4340aa.tar.lz re3-1cb7b9876fe8310d5f3f52324c6647874e4340aa.tar.xz re3-1cb7b9876fe8310d5f3f52324c6647874e4340aa.tar.zst re3-1cb7b9876fe8310d5f3f52324c6647874e4340aa.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Game.cpp | 16 | ||||
-rw-r--r-- | src/core/Game.h | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 3f4a3217..d2f23b17 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -664,6 +664,22 @@ void CGame::Process(void) } } +void +CGame::InitAfterFocusLoss() +{ + /* + byte_869656 = byte_86969D; + result = cDMAudio::SetCurrent3DProvider(byte_86969D); + if ( !bGameStarted && !bMenuVisible ) + byte_869642 = 1; + */ + + //cDMAudio::SetCurrent3DProvider( ? ? ? ); + + if (!FrontEndMenuManager.m_bGameNotLoaded && !FrontEndMenuManager.m_bMenuActive) + CMenuManager::m_bStartUpFrontEndRequested = true; +} + bool CGame::CanSeeOutSideFromCurrArea(void) { diff --git a/src/core/Game.h b/src/core/Game.h index 6efacf8d..7ad8d55e 100644 --- a/src/core/Game.h +++ b/src/core/Game.h @@ -59,6 +59,8 @@ public: static void InitialiseWhenRestarting(void); static void Process(void); + static void InitAfterFocusLoss(void); + static bool IsInInterior(void) { return currArea != AREA_MAIN_MAP; } static bool CanSeeOutSideFromCurrArea(void); |