diff options
author | Dmitry Iskrich | 2016-05-27 17:00:57 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | d17805e132bfb54988351e1ecb1a596066815e63 (patch) | |
tree | a50d3f9ac7b91bc43c9669fa9b39cc02d51aab00 /engines/director/score.h | |
parent | 5718268106a463a2f58af92856f1ceb72ad4f3cb (diff) | |
download | scummvm-rg350-d17805e132bfb54988351e1ecb1a596066815e63.tar.gz scummvm-rg350-d17805e132bfb54988351e1ecb1a596066815e63.tar.bz2 scummvm-rg350-d17805e132bfb54988351e1ecb1a596066815e63.zip |
DIRECTOR: Add cast pointers to sprites
Diffstat (limited to 'engines/director/score.h')
-rw-r--r-- | engines/director/score.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/score.h b/engines/director/score.h index e35b7425d4..7696089546 100644 --- a/engines/director/score.h +++ b/engines/director/score.h @@ -114,8 +114,9 @@ public: Sprite(); Sprite(const Sprite &sprite); bool _enabled; - uint8 _castId; + byte _castId; //castType type; + Cast *_cast; uint16 _flags; Common::Point _startPoint; uint16 _width; @@ -165,6 +166,7 @@ private: TextCast *getTextCast(Common::SeekableReadStream &stream); ButtonCast *getButtonCast(Common::SeekableReadStream &stream); ShapeCast *getShapeCast(Common::SeekableReadStream &stream); + Common::Rect readRect(Common::SeekableReadStream &stream); public: Common::Array<Frame *> _frames; |