[Scummvm-git-logs] scummvm master -> e82ca330b9d5826fd0eaf165d372a98349687074
sev-
sev at scummvm.org
Fri Jun 12 14:04:54 UTC 2020
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:
e82ca330b9 DIRECTOR: TextCast palinfo is actually bgcolor.
Commit: e82ca330b9d5826fd0eaf165d372a98349687074
https://github.com/scummvm/scummvm/commit/e82ca330b9d5826fd0eaf165d372a98349687074
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-06-12T16:04:12+02:00
Commit Message:
DIRECTOR: TextCast palinfo is actually bgcolor.
TODO: Check for newer directors
Changed paths:
engines/director/cast.cpp
diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp
index 1bd2b80072..a6c39fcc94 100644
--- a/engines/director/cast.cpp
+++ b/engines/director/cast.cpp
@@ -188,6 +188,8 @@ TextCast::TextCast(Common::ReadStreamEndian &stream, uint16 version, int32 bgcol
_palinfo2 = stream.readUint16();
_palinfo3 = stream.readUint16();
+ _bgcolor = g_director->_wm->findBestColor(_palinfo1 & 0xff, _palinfo2 & 0xff, _palinfo3 & 0xff);
+
uint32 pad2;
uint16 pad3;
uint16 pad4 = 0;
More information about the Scummvm-git-logs
mailing list