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 /sword1 | |
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 'sword1')
-rw-r--r-- | sword1/sword1.cpp | 6 | ||||
-rw-r--r-- | sword1/sword1.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp index eaf46f4369..d86cf1dc1e 100644 --- a/sword1/sword1.cpp +++ b/sword1/sword1.cpp @@ -82,15 +82,9 @@ void SwordEngine::errorString(const char *buf1, char *buf2) { strcpy(buf2, buf1); } -extern uint16 _debugLevel; - SwordEngine::SwordEngine(GameDetector *detector, OSystem *syst) : Engine(syst) { - _detector = detector; - _system = syst; - _debugLevel = ConfMan.getInt("debuglevel"); - if (!_mixer->isReady()) warning("Sound initialization failed"); } diff --git a/sword1/sword1.h b/sword1/sword1.h index aea5252d0f..6c400b4483 100644 --- a/sword1/sword1.h +++ b/sword1/sword1.h @@ -71,9 +71,6 @@ private: uint16 _mouseX, _mouseY, _mouseState; uint8 _keyPressed; - GameDetector *_detector; - OSystem *_system; - MemMan *_memMan; ResMan *_resMan; ObjectMan *_objectMan; |