diff options
author | Bendegúz Nagy | 2016-08-26 22:41:19 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 5bb19fd2611dd28e6187b4d873de3f754a352b74 (patch) | |
tree | f00e91b6c763b686a3b66efb1af99d41dc4a3f2e /engines/dm/dm.cpp | |
parent | f3d4b854b7544c1379414983fcc750d60dfe2151 (diff) | |
download | scummvm-rg350-5bb19fd2611dd28e6187b4d873de3f754a352b74.tar.gz scummvm-rg350-5bb19fd2611dd28e6187b4d873de3f754a352b74.tar.bz2 scummvm-rg350-5bb19fd2611dd28e6187b4d873de3f754a352b74.zip |
DM: Add GroupMan, Group, ActiveGroup, F0196_GROUP_InitializeActiveGroups
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r-- | engines/dm/dm.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index 2d55c5e8e3..1b2edceb81 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -49,6 +49,7 @@ #include "inventory.h" #include "text.h" #include "movesens.h" +#include "group.h" namespace DM { @@ -93,7 +94,7 @@ DMEngine::DMEngine(OSystem *syst) : Engine(syst), _console(nullptr) { _inventoryMan = nullptr; _textMan = nullptr; _movsens = nullptr; - + _groupMan = nullptr; _stopWaitingForPlayerInput = false; _gameTimeTicking = false; _restartGameAllowed = false; @@ -122,6 +123,7 @@ DMEngine::~DMEngine() { delete _inventoryMan; delete _textMan; delete _movsens; + delete _groupMan; // clear debug channels DebugMan.clearAllDebugChannels(); @@ -203,7 +205,8 @@ Common::Error DMEngine::run() { _objectMan = new ObjectMan(this); _inventoryMan = new InventoryMan(this); _textMan = new TextMan(this); - _movsens = new MovesensMan(this); + _movsens = new MovesensMan(this); + _groupMan = new GroupMan(this); _displayMan->setUpScreens(320, 200); initializeGame(); // @ F0463_START_InitializeGame_CPSADEF |