diff options
author | Dmitry Iskrich | 2016-05-28 18:39:33 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | d7f1c98f29e3eacd2eb25456878eed5a0dd7d78a (patch) | |
tree | 40aa0b31c8d3bf2ae826c6a23e68280868b3b82c /engines/director/score.h | |
parent | 44e46db5de4211c8056962531fb6483ffe7bebeb (diff) | |
download | scummvm-rg350-d7f1c98f29e3eacd2eb25456878eed5a0dd7d78a.tar.gz scummvm-rg350-d7f1c98f29e3eacd2eb25456878eed5a0dd7d78a.tar.bz2 scummvm-rg350-d7f1c98f29e3eacd2eb25456878eed5a0dd7d78a.zip |
DIRECTOR: Remove extra movie archive open
Diffstat (limited to 'engines/director/score.h')
-rw-r--r-- | engines/director/score.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/director/score.h b/engines/director/score.h index 299a26cf40..2fcb62a522 100644 --- a/engines/director/score.h +++ b/engines/director/score.h @@ -135,7 +135,7 @@ public: ~Frame(); Frame(const Frame &frame); void readChannel(Common::SeekableReadStream &stream, uint16 offset, uint16 size); - void display(); + void display(Archive &_movie); private: void readSprite(Common::SeekableReadStream &stream, uint16 offset, uint16 size); @@ -160,7 +160,7 @@ public: class Score { public: - Score(Common::SeekableReadStream &stream); + Score(Common::SeekableReadStream &stream, Archive &movie); void readVersion(uint32 rid); void loadConfig(Common::SeekableReadStream &stream); void loadCastData(Common::SeekableReadStream &stream); @@ -185,6 +185,7 @@ private: bool _stopPlay; uint16 _castArrayEnd; Common::Rect _movieRect; + Archive *_movieArchive; }; } //End of namespace Director |