mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 18:55:40 +00:00
scuffed InitAfterFocusLoss implementation
This commit is contained in:
parent
b4060a4789
commit
1cb7b9876f
3 changed files with 25 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -1222,6 +1222,13 @@ MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
break;
|
||||
}
|
||||
|
||||
case 7:
|
||||
{
|
||||
debug("ALT TABBED! CGame::InitAfterFocusLoss() \n");
|
||||
CGame::InitAfterFocusLoss();
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue