diff options
author | Eugene Sandulenko | 2014-04-27 12:52:57 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-04-27 12:52:57 +0300 |
commit | de9ab9d088d545835c983df5966c167d757a895f (patch) | |
tree | ece14c84fe9161f67c60705ae5d43e25349a4ad2 | |
parent | 91a38398825190a2f1ee0e4b104a369b90f9f2c1 (diff) | |
download | scummvm-rg350-de9ab9d088d545835c983df5966c167d757a895f.tar.gz scummvm-rg350-de9ab9d088d545835c983df5966c167d757a895f.tar.bz2 scummvm-rg350-de9ab9d088d545835c983df5966c167d757a895f.zip |
FULLPIPE: More code to ModalSaveGame
-rw-r--r-- | engines/fullpipe/modal.cpp | 8 | ||||
-rw-r--r-- | engines/fullpipe/modal.h | 1 |
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(); |