[Scummvm-git-logs] scummvm master -> ad2542a92250deddfebc358a835260610022e7df
AndywinXp
noreply at scummvm.org
Sun Nov 12 20:00:18 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:
ad2542a922 SCUMM: INDY4 (DOS/Mac Jap): Implement horizontal scrolling bar for long strings in dialog choices
Commit: ad2542a92250deddfebc358a835260610022e7df
https://github.com/scummvm/scummvm/commit/ad2542a92250deddfebc358a835260610022e7df
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-11-12T21:00:12+01:00
Commit Message:
SCUMM: INDY4 (DOS/Mac Jap): Implement horizontal scrolling bar for long strings in dialog choices
This should be the last thing missing for our complete support of this version.
Changed paths:
engines/scumm/string.cpp
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp
index 272c5f6599f..3874ab87440 100644
--- a/engines/scumm/string.cpp
+++ b/engines/scumm/string.cpp
@@ -1361,6 +1361,12 @@ void ScummEngine::drawString(int a, const byte *msg) {
_nextTop = _charset->_top;
}
+ // From disasm: this is used to let a yellow bar appear
+ // in the bottom of the screen during dialog choices which
+ // are longer than the screen width.
+ if (_isIndy4Jap)
+ _scummVars[78] = _charset->_left;
+
_string[a].xpos = _charset->_str.right;
if (_game.heversion >= 60) {
More information about the Scummvm-git-logs
mailing list