From 04d42638cde9022523910b9ec75130bd85ec1fa5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 4 Aug 2014 09:21:39 -0400 Subject: ACCESS: Fleshed out beginning of title sequence, added Screen::clip --- engines/access/screen.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'engines/access/screen.h') diff --git a/engines/access/screen.h b/engines/access/screen.h index d16333c46e..0d68c1bc7e 100644 --- a/engines/access/screen.h +++ b/engines/access/screen.h @@ -40,10 +40,16 @@ private: AccessEngine *_vm; byte _tempPalette[PALETTE_SIZE]; byte _rawPalette[PALETTE_SIZE]; + Common::Rect _lastBounds; + int _leftSkip, _rightSkip; + int _topSkip, _bottomSkip; + int _clipWidth, _clipHeight; void setPalette(); void updatePalette(); + + bool clip(Common::Rect &r); public: bool _loadPalFlag; public: @@ -77,6 +83,8 @@ public: * Copy a buffer to the screen */ void copyBuffer(const byte *data); + + void plotImage(const byte *pData, int idx, const Common::Point &pt); }; } // End of namespace Access -- cgit v1.2.3