aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/events.cpp
diff options
context:
space:
mode:
authorStrangerke2011-11-13 12:33:36 +0100
committerStrangerke2011-11-13 12:33:36 +0100
commit8097aeb43a916dac160bda11201a6fc79a933c40 (patch)
tree82647e8b79c2fd2669289119f2d0842073a4f871 /engines/cge/events.cpp
parent3ddea4952d2aec5ef61d0ae8762266edb9ceb02e (diff)
downloadscummvm-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.cpp9
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);