diff options
author | Dmitry Iskrich | 2016-07-01 20:04:25 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 1b0e5467456bfe452217c09af7494861480c4523 (patch) | |
tree | 29621143972e8901e126e1b23a72511fb4c0b7a4 /engines/director/score.cpp | |
parent | 56d51f9c1d3cd2003d06d59aa88ef63973ada4f9 (diff) | |
download | scummvm-rg350-1b0e5467456bfe452217c09af7494861480c4523.tar.gz scummvm-rg350-1b0e5467456bfe452217c09af7494861480c4523.tar.bz2 scummvm-rg350-1b0e5467456bfe452217c09af7494861480c4523.zip |
DIRECTOR: Assignment some TextCast unknows
Diffstat (limited to 'engines/director/score.cpp')
-rw-r--r-- | engines/director/score.cpp | 8 |
1 files changed, 5 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) { |