- Some improvements for setting max videomode when AutoMaxFullScreen=true and Windowed=false

- Added better logic to try to restore video when crashing
This commit is contained in:
Mark Vejvoda
2010-03-23 06:03:16 +00:00
parent b9b6aafe1c
commit 1e7cd63330
6 changed files with 189 additions and 9 deletions

View File

@@ -99,7 +99,7 @@ string extractDirectoryPathFromFile(string filename);
void getFullscreenVideoInfo(int &colorBits,int &screenWidth,int &screenHeight);
bool changeVideoMode(int resH, int resW, int colorBits, int refreshFrequency);
void restoreVideoMode();
void restoreVideoMode(bool exitingApp=false);
bool EndsWith(const string &str, const string& key);
void message(string message);

View File

@@ -108,7 +108,7 @@ string extractDirectoryPathFromFile(string filename);
void getFullscreenVideoInfo(int &colorBits,int &screenWidth,int &screenHeight);
bool changeVideoMode(int resH, int resW, int colorBits, int refreshFrequency);
void restoreVideoMode();
void restoreVideoMode(bool exitingApp=false);
bool EndsWith(const string &str, const string& key);
void message(string message);