diff options
Diffstat (limited to 'engines/mads/game.cpp')
-rw-r--r-- | engines/mads/game.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/mads/game.cpp b/engines/mads/game.cpp index 9a5ec1264b..d9d1fea0bb 100644 --- a/engines/mads/game.cpp +++ b/engines/mads/game.cpp @@ -423,6 +423,20 @@ void Game::handleKeypress(const Common::Event &event) { } } + switch (event.kbd.keycode) { + case Common::KEYCODE_F1: + _vm->_dialogs->_pendingDialog = DIALOG_GAME_MENU; + break; + case Common::KEYCODE_F5: + _vm->_dialogs->_pendingDialog = DIALOG_SAVE; + break; + case Common::KEYCODE_F7: + _vm->_dialogs->_pendingDialog = DIALOG_RESTORE; + break; + default: + break; + } + warning("TODO: handleKeypress - %d", (int)event.kbd.keycode); } |