add AppHasFocus

This commit is contained in:
Glenn Maynard
2005-07-13 00:22:59 +00:00
parent 9b9b19c6a0
commit cf22782ab9
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -1461,6 +1461,11 @@ void FocusChanged( bool bHasFocus )
}
}
bool AppHasFocus()
{
return g_bHasFocus;
}
static void CheckSkips( float fDeltaTime )
{
if( !PREFSMAN->m_bLogSkips )
+1
View File
@@ -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 );