[Scummvm-git-logs] scummvm master -> 7c1bd75174623cd7436fcc972e37c028ba956da4
eriktorbjorn
noreply at scummvm.org
Thu Nov 23 14:08:39 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:
7c1bd75174 SCUMM: Fix Mac Indy 3 text box header color in black and white mode
Commit: 7c1bd75174623cd7436fcc972e37c028ba956da4
https://github.com/scummvm/scummvm/commit/7c1bd75174623cd7436fcc972e37c028ba956da4
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2023-11-23T15:08:20+01:00
Commit Message:
SCUMM: Fix Mac Indy 3 text box header color in black and white mode
Changed paths:
engines/scumm/gfx_mac.cpp
diff --git a/engines/scumm/gfx_mac.cpp b/engines/scumm/gfx_mac.cpp
index c1984ebcb18..8794d944e4c 100644
--- a/engines/scumm/gfx_mac.cpp
+++ b/engines/scumm/gfx_mac.cpp
@@ -5165,6 +5165,9 @@ void MacIndy3Gui::initTextAreaForActor(Actor *a, byte color) {
const char *name = (const char *)a->getActorName();
int charX = 25;
+ if (_vm->_renderMode == Common::kRenderMacintoshBW)
+ color = kWhite;
+
for (int i = 0; name[i] && nameWidth < width - 50; i++) {
font->drawChar(&_textArea, name[i], charX, 0, color);
nameWidth += font->getCharWidth(name[i]);
More information about the Scummvm-git-logs
mailing list