diff options
author | Bendegúz Nagy | 2016-08-26 22:37:14 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 4b67e047eda34ae4ee54f416355f3154bb08d56d (patch) | |
tree | e05b453054bdd70f56967acb18fe0ce07be0af20 /engines/dm/dm.cpp | |
parent | 23e0dfcc282a27ff16ba2891971de5ea5fe336c9 (diff) | |
download | scummvm-rg350-4b67e047eda34ae4ee54f416355f3154bb08d56d.tar.gz scummvm-rg350-4b67e047eda34ae4ee54f416355f3154bb08d56d.tar.bz2 scummvm-rg350-4b67e047eda34ae4ee54f416355f3154bb08d56d.zip |
DM: Add MovesensMan
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r-- | engines/dm/dm.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index c8b02e9823..fec043a253 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -48,6 +48,7 @@ #include "objectman.h" #include "inventory.h" #include "text.h" +#include "movesens.h" namespace DM { @@ -83,7 +84,8 @@ DMEngine::DMEngine(OSystem *syst) : Engine(syst), _console(nullptr) { _objectMan = nullptr; _inventoryMan = nullptr; _textMan = nullptr; - + _movsens = nullptr; + _stopWaitingForPlayerInput = false; _gameTimeTicking = false; _restartGameAllowed = false; @@ -111,6 +113,7 @@ DMEngine::~DMEngine() { delete _objectMan; delete _inventoryMan; delete _textMan; + delete _movsens; // clear debug channels DebugMan.clearAllDebugChannels(); @@ -189,6 +192,7 @@ Common::Error DMEngine::run() { _objectMan = new ObjectMan(this); _inventoryMan = new InventoryMan(this); _textMan = new TextMan(this); + _movsens = new MovesensMan(this); _displayMan->setUpScreens(320, 200); initializeGame(); // @ F0463_START_InitializeGame_CPSADEF |