aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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();