diff options
author | Max Horn | 2004-01-04 14:00:58 +0000 |
---|---|---|
committer | Max Horn | 2004-01-04 14:00:58 +0000 |
commit | d1e6c6059ef41cc913ae6c80bebde1fdf044e500 (patch) | |
tree | fcf0310ea371e6c51a19bb06a8bb783ac8a30a7a /sword2 | |
parent | d16ac3e88f19dbfcad6937be2624f7983a906a5e (diff) | |
download | scummvm-rg350-d1e6c6059ef41cc913ae6c80bebde1fdf044e500.tar.gz scummvm-rg350-d1e6c6059ef41cc913ae6c80bebde1fdf044e500.tar.bz2 scummvm-rg350-d1e6c6059ef41cc913ae6c80bebde1fdf044e500.zip |
renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
svn-id: r12134
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/sword2.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sword2/sword2.cpp b/sword2/sword2.cpp index 972bafef31..4c0340950c 100644 --- a/sword2/sword2.cpp +++ b/sword2/sword2.cpp @@ -29,8 +29,6 @@ extern bool isSmartphone(void); #endif -extern uint16 _debugLevel; - struct Sword2GameSettings { const char *name; const char *description; @@ -104,7 +102,6 @@ Sword2Engine::Sword2Engine(GameDetector *detector, OSystem *syst) _targetName = strdup(detector->_targetName.c_str()); _bootParam = ConfMan.getInt("boot_param"); _saveSlot = ConfMan.getInt("save_slot"); - _debugLevel = ConfMan.getInt("debuglevel"); // Setup mixer if (!_mixer->isReady()) |