diff options
Diffstat (limited to 'engines/access/asurface.h')
-rw-r--r-- | engines/access/asurface.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/access/asurface.h b/engines/access/asurface.h index 365852dadf..1efee28494 100644 --- a/engines/access/asurface.h +++ b/engines/access/asurface.h @@ -36,6 +36,9 @@ class SpriteResource; class SpriteFrame; class ASurface : public Graphics::Surface { +private: + Graphics::Surface _savedBlock; + Common::Rect _savedBounds; public: static int _leftSkip, _rightSkip; static int _topSkip, _bottomSkip; @@ -46,7 +49,8 @@ public: static void init(); public: - virtual void plotFrame(SpriteFrame *frame, const Common::Point &pt); + Common::Point _printOrg; + Common::Point _printStart; public: virtual ~ASurface(); @@ -69,6 +73,12 @@ public: void copyTo(ASurface *dest, const Common::Point &destPos); void copyTo(ASurface *dest, const Common::Rect &bounds); + + void saveBlock(const Common::Rect &bounds); + + void restoreBlock(); + + virtual void plotFrame(SpriteFrame *frame, const Common::Point &pt); }; class SpriteFrame : public ASurface { |