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 /simon | |
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 'simon')
-rw-r--r-- | simon/simon.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index b7519e8ca4..8bfdaf7f1e 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -718,6 +718,9 @@ SimonEngine::SimonEngine(GameDetector *detector, OSystem *syst) // FIXME Use auto dirty rects cleanup code to reduce CPU usage g_system->setFeatureState(OSystem::kFeatureAutoComputeDirtyRects, true); + + _walkthroughDialog->setGameName(detector->_game.name); + _walkthroughDialog->create(); } SimonEngine::~SimonEngine() { @@ -729,6 +732,8 @@ SimonEngine::~SimonEngine() { delete _sound; delete _debugger; + + _walkthroughDialog->destroy(); } void SimonEngine::errorString(const char *buf1, char *buf2) { @@ -4848,6 +4853,8 @@ void SimonEngine::delay(uint amount) { _aboutDialog->runModal(); } else if (event.kbd.keycode == 'f') _fast_mode ^= 1; + else if (event.kbd.keycode == 'w') + _walkthroughDialog->runModal(); else if (event.kbd.keycode == 'd') _debugger->attach(); } |