aboutsummaryrefslogtreecommitdiff
path: root/engines/made/screen.h
diff options
context:
space:
mode:
authorFilippos Karapetis2008-05-09 16:11:01 +0000
committerFilippos Karapetis2008-05-09 16:11:01 +0000
commite0b9dec7666887f252a4a6af9d9b44a71f9a6275 (patch)
tree1b5b8868e2fc8011605391d3c61846cd5b180471 /engines/made/screen.h
parent10826a29d2f9ae9b05f8663c742f0ebe7682cef3 (diff)
downloadscummvm-rg350-e0b9dec7666887f252a4a6af9d9b44a71f9a6275.tar.gz
scummvm-rg350-e0b9dec7666887f252a4a6af9d9b44a71f9a6275.tar.bz2
scummvm-rg350-e0b9dec7666887f252a4a6af9d9b44a71f9a6275.zip
Implemented o1_CLIPAREA
svn-id: r31968
Diffstat (limited to 'engines/made/screen.h')
-rw-r--r--engines/made/screen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/made/screen.h b/engines/made/screen.h
index d267b84c30..d46ad254f0 100644
--- a/engines/made/screen.h
+++ b/engines/made/screen.h
@@ -70,6 +70,14 @@ public:
void setPaletteLock(bool lock) { _paletteLock = lock; }
void setVisualEffectNum(int visualEffectNum) { _visualEffectNum = visualEffectNum; }
void setClip(uint16 clip) { _clip = clip; }
+
+ void setClipArea(uint16 x1, uint16 y1, uint16 x2, uint16 y2) {
+ _clipArea.x = x1;
+ _clipArea.y = y1;
+ _clipArea.w = ABS(x2 - x1);
+ _clipArea.h = ABS(y2 - y1);
+ }
+
void setExclude(uint16 exclude) { _exclude = exclude; }
void setGround(uint16 ground) { _ground = ground; }
void setTextColor(int16 color) { _textColor = color; }