diff options
author | Bendegúz Nagy | 2016-07-25 16:27:24 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | e8bdaee8bf1404f42203c69def0a1f834f2ad386 (patch) | |
tree | eaf4d8cd9e904aafda7bec7daa26611d40b3f630 /engines/dm/dm.cpp | |
parent | 02c8f286e79cbcf4e3b6ad383567c3ac08d4fe1c (diff) | |
download | scummvm-rg350-e8bdaee8bf1404f42203c69def0a1f834f2ad386.tar.gz scummvm-rg350-e8bdaee8bf1404f42203c69def0a1f834f2ad386.tar.bz2 scummvm-rg350-e8bdaee8bf1404f42203c69def0a1f834f2ad386.zip |
DM: Add DialogMan
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r-- | engines/dm/dm.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp index 55a2b6e055..e7bb4a704d 100644 --- a/engines/dm/dm.cpp +++ b/engines/dm/dm.cpp @@ -54,6 +54,7 @@ #include "group.h" #include "timeline.h" #include "projexpl.h" +#include "dialog.h" namespace DM { void warning(bool repeat, const char* s, ...) { @@ -147,6 +148,7 @@ DMEngine::DMEngine(OSystem *syst) : Engine(syst), _console(nullptr) { _groupMan = nullptr; _timeline = nullptr; _projexpl = nullptr; + _displayMan = nullptr; _g528_saveFormat = 0; _g527_platform = 0; @@ -197,6 +199,7 @@ DMEngine::~DMEngine() { delete _groupMan; delete _timeline; delete _projexpl; + delete _dialog; // clear debug channels DebugMan.clearAllDebugChannels(); @@ -315,6 +318,7 @@ Common::Error DMEngine::run() { _groupMan = new GroupMan(this); _timeline = new Timeline(this); _projexpl = new ProjExpl(this); + _dialog = new DialogMan(this); _displayMan->setUpScreens(320, 200); f463_initializeGame(); |