diff options
Diffstat (limited to 'queen')
-rw-r--r-- | queen/input.cpp | 6 | ||||
-rw-r--r-- | queen/queen.cpp | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/queen/input.cpp b/queen/input.cpp index fc3b9f8ca6..23d174efb7 100644 --- a/queen/input.cpp +++ b/queen/input.cpp @@ -20,9 +20,11 @@ */ #include "stdafx.h" -#include "queen/input.h" + #include "common/system.h" +#include "queen/input.h" + namespace Queen { const char *Input::_commandKeys[LANGUAGE_COUNT] = { @@ -102,6 +104,8 @@ void Input::delay(uint amount) { _debugger = true; } else if (event.kbd.keycode == 'f') { _fastMode = !_fastMode; + } else if (event.kbd.keycode == 'w') { +// _walkthroughDialog->runModal(); // FIXME } } else { _inKey = event.kbd.keycode; diff --git a/queen/queen.cpp b/queen/queen.cpp index 93f2e70e35..3b08da89aa 100644 --- a/queen/queen.cpp +++ b/queen/queen.cpp @@ -91,6 +91,7 @@ namespace Queen { QueenEngine::QueenEngine(GameDetector *detector, OSystem *syst) : Engine(syst) { + _walkthroughDialog->setGameName(detector->_game.name); } QueenEngine::~QueenEngine() { @@ -107,6 +108,8 @@ QueenEngine::~QueenEngine() { delete _music; delete _sound; delete _walk; + + _walkthroughDialog->destroy(); } void QueenEngine::registerDefaultSettings() { |