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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/agi/picture.h b/engines/agi/picture.h
index 13f09e0bf9..d92bc92210 100644
--- a/engines/agi/picture.h
+++ b/engines/agi/picture.h
@@ -102,6 +102,13 @@ public:
_yOffset = offY;
}
+ void putPixel(int x, int y, uint8 color) {
+ _scrColor = color;
+ _priOn = false;
+ _scrOn = true;
+ putVirtPixel(x, y);
+ }
+
private:
uint8 *_data;
uint32 _flen;