diff options
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/score.cpp | 8 | ||||
-rw-r--r-- | engines/director/score.h | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 25154ccf8a..e5857f2e95 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -664,7 +664,9 @@ TextCast::TextCast(Common::SeekableSubReadStreamEndian &stream) { textType = static_cast<TextType>(stream.readByte()); textAlign = static_cast<TextAlignType>(stream.readUint16()); stream.skip(6); //palinfo - /*uint32 unk1 = */ stream.readUint32(); + //for now, just supposition + fontId = stream.readUint32(); + initialRect = Score::readRect(stream); textShadow = static_cast<SizeType>(stream.readByte()); byte flags = stream.readByte(); @@ -674,8 +676,8 @@ TextCast::TextCast(Common::SeekableSubReadStreamEndian &stream) { textFlags.push_back(kTextFlagAutoTab); if (flags & 0x4) textFlags.push_back(kTextFlagDoNotWrap); - - /*uint16 unk2 =*/ stream.readUint16(); + //again supposition + fontSize = stream.readUint16(); } ShapeCast::ShapeCast(Common::SeekableSubReadStreamEndian &stream) { diff --git a/engines/director/score.h b/engines/director/score.h index f3efd56482..b6eb96803a 100644 --- a/engines/director/score.h +++ b/engines/director/score.h @@ -234,6 +234,8 @@ struct TextCast : Cast { SizeType gutterSize; SizeType boxShadow; + uint32 fontId; + uint16 fontSize; TextType textType; TextAlignType textAlign; SizeType textShadow; |