From 30edd4efb80e203d7315e0fad41989c40dfe68ff Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 26 May 2015 21:18:45 -0400 Subject: SHERLOCK: Starting to split Scene class, implemented checkBgShapes changes --- engines/sherlock/objects.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'engines/sherlock/objects.h') 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 -- cgit v1.2.3