aboutsummaryrefslogtreecommitdiff
path: root/engines/access/screen.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-08-04 09:21:39 -0400
committerPaul Gilbert2014-08-04 09:21:39 -0400
commit04d42638cde9022523910b9ec75130bd85ec1fa5 (patch)
tree238ffd2131025da37faa7aa1f39c803ebc8e8b18 /engines/access/screen.h
parentd41c5cd7407a99fde350f2c9fbe9b4d6e73d1ba6 (diff)
downloadscummvm-rg350-04d42638cde9022523910b9ec75130bd85ec1fa5.tar.gz
scummvm-rg350-04d42638cde9022523910b9ec75130bd85ec1fa5.tar.bz2
scummvm-rg350-04d42638cde9022523910b9ec75130bd85ec1fa5.zip
ACCESS: Fleshed out beginning of title sequence, added Screen::clip
Diffstat (limited to 'engines/access/screen.h')
-rw-r--r--engines/access/screen.h8
1 files changed, 8 insertions, 0 deletions
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