diff options
Diffstat (limited to 'engines/director/frame.h')
-rw-r--r-- | engines/director/frame.h | 8 |
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; }; |