aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine/console.cpp')
-rw-r--r--engines/cine/console.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/cine/console.cpp b/engines/cine/console.cpp
index 9a006bf25e..dbbeb4c9b7 100644
--- a/engines/cine/console.cpp
+++ b/engines/cine/console.cpp
@@ -28,10 +28,22 @@
namespace Cine {
+bool labyrinthCheat;
+
CineConsole::CineConsole(CineEngine *vm) : GUI::Debugger(), _vm(vm) {
+ DCmd_Register("labyrinthCheat", WRAP_METHOD(CineConsole, Cmd_LabyrinthCheat));
+
+ labyrinthCheat = false;
}
CineConsole::~CineConsole() {
}
+// Activate Cheat during Scene 6 Labyrinth chased by Guards in Otto's Mansion
+// This puzzle is hard, especially without save/load so this will aid playtesting.
+bool CineConsole::Cmd_LabyrinthCheat(int argc, const char **argv) {
+ labyrinthCheat = true;
+ return true;
+}
+
} // End of namespace Cine