diff options
author | Max Horn | 2007-02-04 13:28:17 +0000 |
---|---|---|
committer | Max Horn | 2007-02-04 13:28:17 +0000 |
commit | 4e9e88ac1cc0cab27b311ad39bd3d7e7df990d2b (patch) | |
tree | 2745bd02798593c175a4c19fb0bee17d4e13666c /common/util.cpp | |
parent | 8ae2be31e07c3f783e016e5257ed12335e2285e8 (diff) | |
download | scummvm-rg350-4e9e88ac1cc0cab27b311ad39bd3d7e7df990d2b.tar.gz scummvm-rg350-4e9e88ac1cc0cab27b311ad39bd3d7e7df990d2b.tar.bz2 scummvm-rg350-4e9e88ac1cc0cab27b311ad39bd3d7e7df990d2b.zip |
Added Common::getEnabledSpecialDebugLevels
svn-id: r25383
Diffstat (limited to 'common/util.cpp')
-rw-r--r-- | common/util.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/common/util.cpp b/common/util.cpp index 2a4aacafe0..693285ff26 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -297,8 +297,8 @@ const char *getRenderModeDescription(RenderMode id) { #pragma mark - -Array<EngineDebugLevel> gDebugLevels; -uint32 gDebugLevelsEnabled = 0; +static Array<EngineDebugLevel> gDebugLevels; +static uint32 gDebugLevelsEnabled = 0; bool addSpecialDebugLevel(uint32 level, const String &option, const String &description) { for (uint i = 0; i < gDebugLevels.size(); ++i) { @@ -358,6 +358,11 @@ const Array<EngineDebugLevel> &listSpecialDebugLevels() { return gDebugLevels; } +uint32 getEnabledSpecialDebugLevels() { + return gDebugLevelsEnabled; +} + + } // End of namespace Common |