diff options
author | Nicola Mettifogo | 2007-03-13 19:59:45 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-03-13 19:59:45 +0000 |
commit | 33093f3452e0dc1a5e6449ee5fa3ab3459832817 (patch) | |
tree | 9e38f2babc000971b3e422315bb470ed20e83319 /engines/parallaction/graphics.h | |
parent | 753c13111ccc5f133ed75a94d640529ea3d5bcc4 (diff) | |
download | scummvm-rg350-33093f3452e0dc1a5e6449ee5fa3ab3459832817.tar.gz scummvm-rg350-33093f3452e0dc1a5e6449ee5fa3ab3459832817.tar.bz2 scummvm-rg350-33093f3452e0dc1a5e6449ee5fa3ab3459832817.zip |
made hi-level graphics routine use Common::Rect instead of (x,y,w,h) t-uples
svn-id: r26121
Diffstat (limited to 'engines/parallaction/graphics.h')
-rw-r--r-- | engines/parallaction/graphics.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h index 64358312cb..ba7dc05823 100644 --- a/engines/parallaction/graphics.h +++ b/engines/parallaction/graphics.h @@ -80,7 +80,7 @@ public: public: // dialogue and text - void drawBalloon(int16 left, int16 top, uint16 width, uint16 height, uint16 arg_8); + void drawBalloon(const Common::Rect& r, uint16 arg_8); void displayBalloonString(uint16 x, uint16 y, const char *text, byte color); void displayString(uint16 x, uint16 y, const char *text); bool displayWrappedString(char *text, uint16 x, uint16 y, uint16 maxwidth, byte color); @@ -93,7 +93,7 @@ public: void freeStaticCnv(StaticCnv *cnv); void backupDoorBackground(DoorData *data, int16 x, int16 y); void backupGetBackground(GetData *data, int16 x, int16 y); - void restoreZoneBackground(byte *data, int16 x, int16 y, uint16 w, uint16 h); + void restoreZoneBackground(const Common::Rect& r, byte *data); // location void setBackground(byte *background); @@ -102,10 +102,10 @@ public: void parseBackground(Common::SeekableReadStream &stream); int16 queryMask(int16 v); void intGrottaHackMask(); - void restoreBackground(int16 left, int16 top, uint16 width, uint16 height); + void restoreBackground(const Common::Rect& r); // intro - void maskClearRectangle(uint16 left, uint16 top, uint16 right, uint16 bottom, Gfx::Buffers mask); + void maskClearRectangle(const Common::Rect& r, Gfx::Buffers mask); void maskOpNot(uint16 x, uint16 y, uint16 unused, Gfx::Buffers mask); // low level |