diff options
author | Dmitry Iskrich | 2016-07-05 18:45:18 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 1808dcdc3011d7e7ceed9cad98410e99ec0f61c0 (patch) | |
tree | 9c91cd6c53c0a83133f1e8cee8aff8de567d7070 /engines/director/score.cpp | |
parent | 98603a48d574011e1b457504e9a8b735bff0d466 (diff) | |
download | scummvm-rg350-1808dcdc3011d7e7ceed9cad98410e99ec0f61c0.tar.gz scummvm-rg350-1808dcdc3011d7e7ceed9cad98410e99ec0f61c0.tar.bz2 scummvm-rg350-1808dcdc3011d7e7ceed9cad98410e99ec0f61c0.zip |
DIRECTOR: Add modified flag, Lingo: Handle some common cast fields
Diffstat (limited to 'engines/director/score.cpp')
-rw-r--r-- | engines/director/score.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 53b26629c2..24d0b3494f 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -654,6 +654,7 @@ BitmapCast::BitmapCast(Common::SeekableSubReadStreamEndian &stream) { /*uint16 unk1 =*/ stream.readUint16(); /*uint16 unk2 =*/ stream.readUint16(); } + modified = 0; } TextCast::TextCast(Common::SeekableSubReadStreamEndian &stream) { @@ -678,6 +679,7 @@ TextCast::TextCast(Common::SeekableSubReadStreamEndian &stream) { textFlags.push_back(kTextFlagDoNotWrap); //again supposition fontSize = stream.readUint16(); + modified = 0; } ShapeCast::ShapeCast(Common::SeekableSubReadStreamEndian &stream) { @@ -691,6 +693,7 @@ ShapeCast::ShapeCast(Common::SeekableSubReadStreamEndian &stream) { fillType = stream.readByte(); lineThickness = stream.readByte(); lineDirection = stream.readByte(); + modified = 0; } Common::Rect Score::readRect(Common::SeekableSubReadStreamEndian &stream) { |