diff options
author | Dmitry Iskrich | 2016-05-31 20:49:05 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | fb6e06231c20bec264e8c54be4dfb662b9d08fd7 (patch) | |
tree | b15c899bb9eb12041eeb256075995b65b578ef6f /engines/director/score.h | |
parent | 6299055098cf09e174344c43d421b935f5a50a6b (diff) | |
download | scummvm-rg350-fb6e06231c20bec264e8c54be4dfb662b9d08fd7.tar.gz scummvm-rg350-fb6e06231c20bec264e8c54be4dfb662b9d08fd7.tar.bz2 scummvm-rg350-fb6e06231c20bec264e8c54be4dfb662b9d08fd7.zip |
DIRECTOR: Move sprite display to ManagedSurface
Diffstat (limited to 'engines/director/score.h')
-rw-r--r-- | engines/director/score.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/director/score.h b/engines/director/score.h index d3293da95b..f15afa0b82 100644 --- a/engines/director/score.h +++ b/engines/director/score.h @@ -24,6 +24,7 @@ #include "common/stream.h" #include "common/array.h" #include "director/resource.h" +#include "graphics/managed_surface.h" namespace Director { @@ -79,7 +80,7 @@ enum inkType { kInkTypeNotTrans, kInkTypeNotReverse, kInkTypeNotGhost, - kIntTypeMatte, + kInkTypeMatte, kInkTypeMask, //10-31 Not used (Lingo in a Nutshell) kInkTypeBlend = 32, @@ -157,7 +158,7 @@ public: ~Frame(); Frame(const Frame &frame); void readChannel(Common::SeekableReadStream &stream, uint16 offset, uint16 size); - void display(Archive &_movie); + void display(Archive &_movie, Graphics::ManagedSurface &surface, Common::Rect moviRect); private: void readSprite(Common::SeekableReadStream &stream, uint16 offset, uint16 size); @@ -208,6 +209,7 @@ private: uint16 _castArrayEnd; Common::Rect _movieRect; Archive *_movieArchive; + Graphics::ManagedSurface *_surface; }; } //End of namespace Director |