aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/cel_decoder.h
diff options
context:
space:
mode:
authorwhiterandrek2018-04-02 08:57:56 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit49d5ea28c023a43f7d1444b55ac8c06df9966128 (patch)
tree37db0a106b33970b934243f8c48adcb12c12255e /engines/pink/cel_decoder.h
parente48ac17f68ccd1b4432d9d6e15e811a88ea8daf4 (diff)
downloadscummvm-rg350-49d5ea28c023a43f7d1444b55ac8c06df9966128.tar.gz
scummvm-rg350-49d5ea28c023a43f7d1444b55ac8c06df9966128.tar.bz2
scummvm-rg350-49d5ea28c023a43f7d1444b55ac8c06df9966128.zip
PINK: added basic cursor implementation, fixed sequenceAudio restarting and skipping, fixed various mem leaks, hopefully fixed finding of transparent color index.
Diffstat (limited to 'engines/pink/cel_decoder.h')
-rw-r--r--engines/pink/cel_decoder.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/pink/cel_decoder.h b/engines/pink/cel_decoder.h
index 3ccea1a52a..f0c612d12c 100644
--- a/engines/pink/cel_decoder.h
+++ b/engines/pink/cel_decoder.h
@@ -32,6 +32,9 @@ class CelDecoder : public Video::FlicDecoder {
public:
uint32 getX();
uint32 getY();
+ Common::Point getCenter();
+ Common::Rect &getRectangle();
+
uint16 getTransparentColourIndex();
const Graphics::Surface *getCurrentFrame();
@@ -45,14 +48,19 @@ protected:
uint32 getX() const;
uint32 getY() const;
+ Common::Point getCenter();
+ Common::Rect &getRect();
uint16 getTransparentColourIndex();
const Graphics::Surface *getCurrentFrame();
private:
+ const Graphics::Surface *decodeNextFrame();
void readPrefixChunk();
- uint16 _transparentColourIndex;
+
Common::Point _center;
+ Common::Rect _rect;
+ byte _transparentColourIndex;
};
};