aboutsummaryrefslogtreecommitdiff
path: root/engines/director/frame.h
diff options
context:
space:
mode:
authorstevenhoefel2017-01-09 09:46:51 +1100
committerEugene Sandulenko2017-01-09 00:05:06 +0100
commit41ee83e3f02144da364b98b8f5b974087e6dac89 (patch)
tree66f2dee3ea886771e4159be756ee73b3381a4ae1 /engines/director/frame.h
parent8c3c9df3508bdb18f0b083de93f0e88983660028 (diff)
downloadscummvm-rg350-41ee83e3f02144da364b98b8f5b974087e6dac89.tar.gz
scummvm-rg350-41ee83e3f02144da364b98b8f5b974087e6dac89.tar.bz2
scummvm-rg350-41ee83e3f02144da364b98b8f5b974087e6dac89.zip
DIRECTOR: D4 Image Decoding, Buttons, Text, Shapes.
Diffstat (limited to 'engines/director/frame.h')
-rw-r--r--engines/director/frame.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/director/frame.h b/engines/director/frame.h
index ce82fa527c..29ae9dd596 100644
--- a/engines/director/frame.h
+++ b/engines/director/frame.h
@@ -119,8 +119,10 @@ private:
void playTransition(Score *score);
void playSoundChannel();
void renderSprites(Graphics::ManagedSurface &surface, bool renderTrail);
- void renderText(Graphics::ManagedSurface &surface, uint16 spriteId);
- void renderButton(Graphics::ManagedSurface &surface, uint16 spriteId);
+ void renderText(Graphics::ManagedSurface &surface, uint16 spriteId, uint16 castID);
+ void renderText(Graphics::ManagedSurface &surface, uint16 spriteID, Common::SeekableSubReadStreamEndian *textStream, bool isButtonLabel);
+ void renderShape(Graphics::ManagedSurface &surface, uint16 spriteID);
+ void renderButton(Graphics::ManagedSurface &surface, uint16 spriteId, uint16 textId);
void readPaletteInfo(Common::SeekableSubReadStreamEndian &stream);
void readSprite(Common::SeekableSubReadStreamEndian &stream, uint16 offset, uint16 size);
void readMainChannels(Common::SeekableSubReadStreamEndian &stream, uint16 offset, uint16 size);
@@ -148,7 +150,7 @@ public:
uint8 _skipFrameFlag;
uint8 _blend;
Common::Array<Sprite *> _sprites;
- Common::Array<Common::Rect > _drawRects;
+ Common::HashMap<uint16, Common::Rect> _drawRects;
DirectorEngine *_vm;
};