From 8097aeb43a916dac160bda11201a6fc79a933c40 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 13 Nov 2011 12:33:36 +0100 Subject: CGE: F1 now displays Soltys version and translators. This is only available in versions modified or translated by the team --- engines/cge/events.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'engines/cge/events.cpp') 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); -- cgit v1.2.3