[Scummvm-git-logs] scummvm master -> e320b7da6dfc64788eb87bb0fb9e4b46c9e602a5
neuromancer
noreply at scummvm.org
Sun Jan 29 19:51:22 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e320b7da6d FREESCAPE: UI fixes for zx and cpc releases of driller
Commit: e320b7da6dfc64788eb87bb0fb9e4b46c9e602a5
https://github.com/scummvm/scummvm/commit/e320b7da6dfc64788eb87bb0fb9e4b46c9e602a5
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2023-01-29T20:33:31+01:00
Commit Message:
FREESCAPE: UI fixes for zx and cpc releases of driller
Changed paths:
engines/freescape/games/driller.cpp
diff --git a/engines/freescape/games/driller.cpp b/engines/freescape/games/driller.cpp
index 52d9a51cca1..a30e97a8087 100644
--- a/engines/freescape/games/driller.cpp
+++ b/engines/freescape/games/driller.cpp
@@ -1213,11 +1213,11 @@ void DrillerEngine::drawInfoMenu() {
drawStringInSurface(Common::String::format("%13s : %d", "total sectors", 18), 84, 73, front, black, surface);
drawStringInSurface(Common::String::format("%13s : %d", "safe sectors", _gameStateVars[32]), 84, 81, front, black, surface);
- if (isDOS()) {
+ if (isDOS() || isCPC()) {
drawStringInSurface("l-load s-save esc-terminate", 53, 97, front, black, surface);
drawStringInSurface("t-toggle sound on/off", 76, 105, front, black, surface);
} else if (isSpectrum()) {
- drawStringInSurface("l-load s-save 1-abort", 53, 97, front, black, surface);
+ drawStringInSurface("l-load s-save 1-abort", 76, 97, front, black, surface);
drawStringInSurface("any other key-continue", 76, 105, front, black, surface);
}
@@ -1247,7 +1247,7 @@ void DrillerEngine::drawInfoMenu() {
_gfx->setViewport(_viewArea);
} else if (isDOS() && event.kbd.keycode == Common::KEYCODE_t) {
// TODO
- } else if (isDOS() && event.kbd.keycode == Common::KEYCODE_ESCAPE) {
+ } else if ((isDOS() || isCPC()) && event.kbd.keycode == Common::KEYCODE_ESCAPE) {
_forceEndGame = true;
cont = false;
} else if (isSpectrum() && event.kbd.keycode == Common::KEYCODE_1) {
More information about the Scummvm-git-logs
mailing list