aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-04-27 12:52:57 +0300
committerEugene Sandulenko2014-04-27 12:52:57 +0300
commitde9ab9d088d545835c983df5966c167d757a895f (patch)
treeece14c84fe9161f67c60705ae5d43e25349a4ad2 /engines
parent91a38398825190a2f1ee0e4b104a369b90f9f2c1 (diff)
downloadscummvm-rg350-de9ab9d088d545835c983df5966c167d757a895f.tar.gz
scummvm-rg350-de9ab9d088d545835c983df5966c167d757a895f.tar.bz2
scummvm-rg350-de9ab9d088d545835c983df5966c167d757a895f.zip
FULLPIPE: More code to ModalSaveGame
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/modal.cpp8
-rw-r--r--engines/fullpipe/modal.h1
2 files changed, 8 insertions, 1 deletions
diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp
index 4d71f4e69f..36dd0066df 100644
--- a/engines/fullpipe/modal.cpp
+++ b/engines/fullpipe/modal.cpp
@@ -1475,7 +1475,13 @@ ModalSaveGame::~ModalSaveGame() {
}
void ModalSaveGame::setScene(Scene *sc) {
- warning("STUB: ModalSaveGame::setScene()");
+ _queryRes = -1;
+ _menuScene = sc;
+}
+
+void ModalSaveGame::processKey(int key) {
+ if (key == 27)
+ _queryRes = 0;
}
void ModalSaveGame::setup(Scene *sc, int mode) {
diff --git a/engines/fullpipe/modal.h b/engines/fullpipe/modal.h
index 4748041010..bd6cc18ac1 100644
--- a/engines/fullpipe/modal.h
+++ b/engines/fullpipe/modal.h
@@ -250,6 +250,7 @@ public:
void setScene(Scene *sc);
void setup(Scene *sc, int mode);
+ void processKey(int key);
char *getSaveName();