diff options
Diffstat (limited to 'engines/access/asurface.h')
-rw-r--r-- | engines/access/asurface.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/access/asurface.h b/engines/access/asurface.h index 400dd07b4d..460f73d2c0 100644 --- a/engines/access/asurface.h +++ b/engines/access/asurface.h @@ -39,6 +39,8 @@ class ASurface : public Graphics::Surface { private: Graphics::Surface _savedBlock; Common::Rect _savedBounds; + + void flipHorizontal(ASurface &dest); public: static int _leftSkip, _rightSkip; static int _topSkip, _bottomSkip; @@ -56,6 +58,8 @@ public: public: virtual ~ASurface(); + void create(uint16 width, uint16 height); + void clearBuffer(); void copyBuffer(Graphics::Surface *src) { copyFrom(*src); } @@ -64,10 +68,16 @@ public: void plotImage(SpriteResource *sprite, int frameNum, const Common::Point &pt); - void sPlotB(SpriteFrame *frame, const Common::Point &pt); - + /** + * Scaled draw frame + */ void sPlotF(SpriteFrame *frame, const Common::Rect &bounds); + /** + * Scaled flipped horizontal draw frame + */ + void sPlotB(SpriteFrame *frame, const Common::Rect &bounds); + void plotB(SpriteFrame *frame, const Common::Point &pt); void copyBlock(ASurface *src, const Common::Rect &bounds); |