aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/picture.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/picture.h')
-rw-r--r--engines/agi/picture.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/agi/picture.h b/engines/agi/picture.h
index c49fad6e13..13f09e0bf9 100644
--- a/engines/agi/picture.h
+++ b/engines/agi/picture.h
@@ -97,6 +97,11 @@ public:
void setPictureFlags(int flags) { _flags = flags; }
+ void setOffset(int offX, int offY) {
+ _xOffset = offX;
+ _yOffset = offY;
+ }
+
private:
uint8 *_data;
uint32 _flen;
@@ -113,6 +118,7 @@ private:
int _pictureType;
int _width, _height;
+ int _xOffset, _yOffset;
int _flags;
};