add AppHasFocus
This commit is contained in:
@@ -1461,6 +1461,11 @@ void FocusChanged( bool bHasFocus )
|
||||
}
|
||||
}
|
||||
|
||||
bool AppHasFocus()
|
||||
{
|
||||
return g_bHasFocus;
|
||||
}
|
||||
|
||||
static void CheckSkips( float fDeltaTime )
|
||||
{
|
||||
if( !PREFSMAN->m_bLogSkips )
|
||||
|
||||
@@ -16,6 +16,7 @@ void ResetGame();
|
||||
void SaveGamePrefsToDisk();
|
||||
void ChangeCurrentGame( const Game* g );
|
||||
void FocusChanged( bool bHasFocus );
|
||||
bool AppHasFocus();
|
||||
|
||||
// If successful, return filename of screenshot in sDir, else return ""
|
||||
CString SaveScreenshot( CString sDir, bool bSaveCompressed, bool bMakeSignature, int iIndex = -1 );
|
||||
|
||||
Reference in New Issue
Block a user