diff options
| author | Paweł Kołodziejski | 2004-11-19 19:50:22 +0000 |
|---|---|---|
| committer | Paweł Kołodziejski | 2004-11-19 19:50:22 +0000 |
| commit | 20e9cf6f20dde6aed31b83698940786a783c2125 (patch) | |
| tree | 51be5f26a2a58c008c4fa8a11f4941b1ed75a3e9 /base | |
| parent | c4a8b3c8b54022664fe231253f8314f0557a958f (diff) | |
| download | scummvm-rg350-20e9cf6f20dde6aed31b83698940786a783c2125.tar.gz scummvm-rg350-20e9cf6f20dde6aed31b83698940786a783c2125.tar.bz2 scummvm-rg350-20e9cf6f20dde6aed31b83698940786a783c2125.zip | |
added walkthrough
svn-id: r15835
Diffstat (limited to 'base')
| -rw-r--r-- | base/engine.cpp | 5 | ||||
| -rw-r--r-- | base/engine.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/base/engine.cpp b/base/engine.cpp index a75ff7d1b5..5dbdd28e8d 100644 --- a/base/engine.cpp +++ b/base/engine.cpp @@ -47,6 +47,8 @@ Engine::Engine(OSystem *syst) g_debugLevel = ConfMan.getInt("debuglevel"); _saveFileMan = _system->getSavefileManager(); + + _walkthroughDialog = new GUI::WalkthroughDialog(1.0, 1.0); } Engine::~Engine() { @@ -54,8 +56,9 @@ Engine::~Engine() { delete _mixer; delete _saveFileMan; + delete _walkthroughDialog; - g_engine = 0; + g_engine = NULL; } const char *Engine::getSavePath() const { diff --git a/base/engine.h b/base/engine.h index 509d8cd526..24d58e51f4 100644 --- a/base/engine.h +++ b/base/engine.h @@ -25,6 +25,8 @@ #include "common/str.h" #include "common/system.h" +#include "gui/walkthrough.h" + class SoundMixer; class Timer; @@ -37,6 +39,7 @@ public: protected: const Common::String _gameDataPath; SaveFileManager *_saveFileMan; + GUI::WalkthroughDialog *_walkthroughDialog; public: Engine(OSystem *syst); |
