aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/objects.h
diff options
context:
space:
mode:
authorNicola Mettifogo2008-08-15 14:25:43 +0000
committerNicola Mettifogo2008-08-15 14:25:43 +0000
commit05a021fd952c4d35ab82f487753162f3ed3bbd43 (patch)
treecfa927ebecdf7d7a8f323f5bddfb71417cbdbbc4 /engines/parallaction/objects.h
parent4e0485197fcfb6e8807996e5bf179c0249a7369c (diff)
downloadscummvm-rg350-05a021fd952c4d35ab82f487753162f3ed3bbd43.tar.gz
scummvm-rg350-05a021fd952c4d35ab82f487753162f3ed3bbd43.tar.bz2
scummvm-rg350-05a021fd952c4d35ab82f487753162f3ed3bbd43.zip
Added routines to load and handle item masks: animation are now correctly hidden when they are behind any object. The masks of items that are not explicitly activated (even if visible) still are handled (e.g. the crown in the museum is not visible in the foreground).
svn-id: r33900
Diffstat (limited to 'engines/parallaction/objects.h')
-rw-r--r--engines/parallaction/objects.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h
index d06eaf1a03..f66e602f68 100644
--- a/engines/parallaction/objects.h
+++ b/engines/parallaction/objects.h
@@ -198,11 +198,14 @@ struct GetData { // size = 24
byte *_backup;
uint16 field_14; // unused
uint16 field_16; // unused
+ MaskBuffer _mask[2];
+ bool hasMask;
GetData() {
_icon = 0;
_backup = NULL;
gfxobj = NULL;
+ hasMask = false;
}
};
struct SpeakData { // size = 36