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 /sky | |
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 'sky')
-rw-r--r-- | sky/sky.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index 072c958525..e43a6bca29 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -116,6 +116,8 @@ SystemVars SkyEngine::_systemVars = {0, 0, 0, 0, 4316, 0, 0, false, false }; SkyEngine::SkyEngine(GameDetector *detector, OSystem *syst) : Engine(syst), _fastMode(0) { + _walkthroughDialog->setGameName(detector->_game.name); + _walkthroughDialog->create(); } SkyEngine::~SkyEngine() { @@ -127,6 +129,8 @@ SkyEngine::~SkyEngine() { delete _skyMouse; delete _skyScreen; delete _debugger; + + _walkthroughDialog->destroy(); } void SkyEngine::errorString(const char *buf1, char *buf2) { @@ -461,6 +465,9 @@ void SkyEngine::delay(uint amount) { if (event.kbd.keycode == 'd') { _debugger->attach(); } + if (event.kbd.keycode == 'w') { + _walkthroughDialog->runModal(); + } } // Make sure backspace works right (this fixes a small issue on OS X) |