aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorPaweł Kołodziejski2004-11-19 19:50:22 +0000
committerPaweł Kołodziejski2004-11-19 19:50:22 +0000
commit20e9cf6f20dde6aed31b83698940786a783c2125 (patch)
tree51be5f26a2a58c008c4fa8a11f4941b1ed75a3e9 /queen
parentc4a8b3c8b54022664fe231253f8314f0557a958f (diff)
downloadscummvm-rg350-20e9cf6f20dde6aed31b83698940786a783c2125.tar.gz
scummvm-rg350-20e9cf6f20dde6aed31b83698940786a783c2125.tar.bz2
scummvm-rg350-20e9cf6f20dde6aed31b83698940786a783c2125.zip
added walkthrough
svn-id: r15835
Diffstat (limited to 'queen')
-rw-r--r--queen/input.cpp6
-rw-r--r--queen/queen.cpp3
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() {