mirror of
https://github.com/halpz/re3.git
synced 2024-12-28 18:35:29 +00:00
scuffed InitAfterFocusLoss implementation
This commit is contained in:
parent
b4060a4789
commit
1cb7b9876f
|
@ -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
|
bool
|
||||||
CGame::CanSeeOutSideFromCurrArea(void)
|
CGame::CanSeeOutSideFromCurrArea(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -59,6 +59,8 @@ public:
|
||||||
static void InitialiseWhenRestarting(void);
|
static void InitialiseWhenRestarting(void);
|
||||||
static void Process(void);
|
static void Process(void);
|
||||||
|
|
||||||
|
static void InitAfterFocusLoss(void);
|
||||||
|
|
||||||
static bool IsInInterior(void) { return currArea != AREA_MAIN_MAP; }
|
static bool IsInInterior(void) { return currArea != AREA_MAIN_MAP; }
|
||||||
static bool CanSeeOutSideFromCurrArea(void);
|
static bool CanSeeOutSideFromCurrArea(void);
|
||||||
|
|
||||||
|
|
|
@ -1222,6 +1222,13 @@ MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case 7:
|
||||||
|
{
|
||||||
|
debug("ALT TABBED! CGame::InitAfterFocusLoss() \n");
|
||||||
|
CGame::InitAfterFocusLoss();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue