diff options
author | Paul Gilbert | 2015-03-15 18:42:24 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-15 18:42:24 -0400 |
commit | 1452c18ffb21da0d97725c7c982b25992bd75fe8 (patch) | |
tree | b4fdedcb4601acd01b588523295495e7aa2b2820 /engines/sherlock/sherlock.cpp | |
parent | a6db2fb281fb5842be2d8fc0621922e70ad9668c (diff) | |
download | scummvm-rg350-1452c18ffb21da0d97725c7c982b25992bd75fe8.tar.gz scummvm-rg350-1452c18ffb21da0d97725c7c982b25992bd75fe8.tar.bz2 scummvm-rg350-1452c18ffb21da0d97725c7c982b25992bd75fe8.zip |
SHERLOCK: Added events manager and debugger classes
Diffstat (limited to 'engines/sherlock/sherlock.cpp')
-rw-r--r-- | engines/sherlock/sherlock.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/sherlock/sherlock.cpp b/engines/sherlock/sherlock.cpp index 13731e2fd8..cfbbacccf7 100644 --- a/engines/sherlock/sherlock.cpp +++ b/engines/sherlock/sherlock.cpp @@ -30,6 +30,7 @@ namespace Sherlock { SherlockEngine::SherlockEngine(OSystem *syst, const SherlockGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc) { + _debugger = nullptr; _journal = nullptr; _res = nullptr; _rooms = nullptr; @@ -39,6 +40,7 @@ SherlockEngine::SherlockEngine(OSystem *syst, const SherlockGameDescription *gam SherlockEngine::~SherlockEngine() { + delete _debugger; delete _journal; delete _res; delete _rooms; @@ -64,6 +66,7 @@ void SherlockEngine::initialize() { _midi->setNativeMT32(native_mt32); */ + _debugger = new Debugger(this); _journal = new Journal(); _res = new Resources(); _rooms = new Rooms(); @@ -74,7 +77,9 @@ void SherlockEngine::initialize() { Common::Error SherlockEngine::run() { initialize(); - // TODO: The rest of the game + showOpening(); + + // TODO: Rest of game return Common::kNoError; } |