aboutsummaryrefslogtreecommitdiff
path: root/sword2/sword2.cpp
diff options
context:
space:
mode:
authorMax Horn2004-01-04 14:00:58 +0000
committerMax Horn2004-01-04 14:00:58 +0000
commitd1e6c6059ef41cc913ae6c80bebde1fdf044e500 (patch)
treefcf0310ea371e6c51a19bb06a8bb783ac8a30a7a /sword2/sword2.cpp
parentd16ac3e88f19dbfcad6937be2624f7983a906a5e (diff)
downloadscummvm-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/sword2.cpp')
-rw-r--r--sword2/sword2.cpp3
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())