aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.h
diff options
context:
space:
mode:
authorNicola Mettifogo2007-08-04 18:58:50 +0000
committerNicola Mettifogo2007-08-04 18:58:50 +0000
commit663e78b911a7447c25d24e5b7de820a1c790a759 (patch)
treeb4b1ca91417bd3390f80216d6b9d3e9065404fb2 /engines/parallaction/graphics.h
parent44279df48e3951fe58b325c36fae276eddcb1f94 (diff)
downloadscummvm-rg350-663e78b911a7447c25d24e5b7de820a1c790a759.tar.gz
scummvm-rg350-663e78b911a7447c25d24e5b7de820a1c790a759.tar.bz2
scummvm-rg350-663e78b911a7447c25d24e5b7de820a1c790a759.zip
Added routine to restore door backgrounds: this means that backgrounds for door and get zones are now handled by two different sets of routines. This fixes bugs #1765191 and #1762643 (it was actually the same bug).
svn-id: r28449
Diffstat (limited to 'engines/parallaction/graphics.h')
-rw-r--r--engines/parallaction/graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h
index cb92c90547..f518bd6625 100644
--- a/engines/parallaction/graphics.h
+++ b/engines/parallaction/graphics.h
@@ -175,7 +175,8 @@ public:
void freeStaticCnv(StaticCnv *cnv);
void backupDoorBackground(DoorData *data, int16 x, int16 y);
void backupGetBackground(GetData *data, int16 x, int16 y);
- void restoreZoneBackground(const Common::Rect& r, byte *data);
+ void restoreGetBackground(const Common::Rect& r, byte *data);
+ void restoreDoorBackground(StaticCnv *cnv, const Common::Rect& r, byte* background);
// location
void setBackground(byte *background);