aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/objects.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-26 21:18:45 -0400
committerPaul Gilbert2015-05-26 21:18:45 -0400
commit30edd4efb80e203d7315e0fad41989c40dfe68ff (patch)
tree138013938d4fdc1b3e94496bcf7a2c746913fc40 /engines/sherlock/objects.h
parent0cc79979fc27a097037ca580dda78607080d5ac4 (diff)
downloadscummvm-rg350-30edd4efb80e203d7315e0fad41989c40dfe68ff.tar.gz
scummvm-rg350-30edd4efb80e203d7315e0fad41989c40dfe68ff.tar.bz2
scummvm-rg350-30edd4efb80e203d7315e0fad41989c40dfe68ff.zip
SHERLOCK: Starting to split Scene class, implemented checkBgShapes changes
Diffstat (limited to 'engines/sherlock/objects.h')
-rw-r--r--engines/sherlock/objects.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/engines/sherlock/objects.h b/engines/sherlock/objects.h
index 99746c9956..ec5c2e7897 100644
--- a/engines/sherlock/objects.h
+++ b/engines/sherlock/objects.h
@@ -413,6 +413,24 @@ struct CAnim {
void load(Common::SeekableReadStream &s, bool isRoseTattoo);
};
+struct CAnimStream {
+ Common::SeekableReadStream *_stream; // Stream to read frames from
+ int _frameSize; // Temporary used to store the frame size
+
+ void *_images; // TOOD: FIgure out hwo to hook up ImageFile with streaming support
+ ImageFrame *_imageFrame;
+
+ Common::Point _position; // Animation position
+ Common::Rect _oldBounds; // Bounds of previous frame
+ Common::Rect _removeBounds; // Remove area for just drawn frame
+
+ int _flags; // Flags
+ int _scaleVal; // Specifies the scale amount
+ int _zPlacement; // Used by doBgAnim for determining Z order
+
+ CAnimStream();
+};
+
struct SceneImage {
ImageFile *_images; // Object images
int _maxFrames; // How many frames in object