diff options
author | Strangerke | 2011-11-13 12:33:36 +0100 |
---|---|---|
committer | Strangerke | 2011-11-13 12:33:36 +0100 |
commit | 8097aeb43a916dac160bda11201a6fc79a933c40 (patch) | |
tree | 82647e8b79c2fd2669289119f2d0842073a4f871 /engines/cge/events.cpp | |
parent | 3ddea4952d2aec5ef61d0ae8762266edb9ceb02e (diff) | |
download | scummvm-rg350-8097aeb43a916dac160bda11201a6fc79a933c40.tar.gz scummvm-rg350-8097aeb43a916dac160bda11201a6fc79a933c40.tar.bz2 scummvm-rg350-8097aeb43a916dac160bda11201a6fc79a933c40.zip |
CGE: F1 now displays Soltys version and translators.
This is only available in versions modified or translated by the team
Diffstat (limited to 'engines/cge/events.cpp')
-rw-r--r-- | engines/cge/events.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/cge/events.cpp b/engines/cge/events.cpp index 2c134baf92..8f76d2efd5 100644 --- a/engines/cge/events.cpp +++ b/engines/cge/events.cpp @@ -112,7 +112,14 @@ bool Keyboard::getKey(Common::Event &event, int &cgeCode) { cgeCode = 28; return true; } - if (keycode == Common::KEYCODE_F5) { + if (keycode == Common::KEYCODE_F1) { + if (event.type == Common::EVENT_KEYUP) + return false; + // Display ScummVM version and translation strings + for (int i = 0; i < 5; i++) + _vm->_commandHandler->addCommand(kCmdInf, 1, kShowScummVMVersion + i, NULL); + return false; + } else if (keycode == Common::KEYCODE_F5) { if (_vm->canSaveGameStateCurrently()) { const EnginePlugin *plugin = NULL; EngineMan.findGame(_vm->_gameDescription->gameid, &plugin); |