aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/mult.h
diff options
context:
space:
mode:
authorSven Hesse2008-04-27 03:19:19 +0000
committerSven Hesse2008-04-27 03:19:19 +0000
commitab1a3b0cc89686fa2e9ef864a429ae27ed7b2d2f (patch)
tree201eb24a9d3c98d641bb44dd811d69ba2a882ec4 /engines/gob/mult.h
parent1d167da633a7dd666bb946156dd9e0ec29be2b53 (diff)
downloadscummvm-rg350-ab1a3b0cc89686fa2e9ef864a429ae27ed7b2d2f.tar.gz
scummvm-rg350-ab1a3b0cc89686fa2e9ef864a429ae27ed7b2d2f.tar.bz2
scummvm-rg350-ab1a3b0cc89686fa2e9ef864a429ae27ed7b2d2f.zip
Implemented support for VMDs substituting object animations.
Still far from being complete (and correct), but it's a start... - Only VMD "command" -3 is followed - Not all animation types are working - Timing is still off in most cases - Offsets are generally OK, but not always - No sound yet - Shouldn't segfault randomly, but I'm not entirely sure ;) svn-id: r31750
Diffstat (limited to 'engines/gob/mult.h')
-rw-r--r--engines/gob/mult.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/mult.h b/engines/gob/mult.h
index 90f6e61f9a..9d43435184 100644
--- a/engines/gob/mult.h
+++ b/engines/gob/mult.h
@@ -36,7 +36,7 @@ public:
#include "common/pack-start.h" // START STRUCT PACKING
struct Mult_AnimData {
- uint8 animation;
+ int8 animation;
uint8 layer;
uint8 frame;
int8 animType;
@@ -104,6 +104,7 @@ public:
int16 newTop;
int16 newRight;
int16 newBottom;
+ uint32 videoSlot;
} PACKED_STRUCT;
struct Mult_StaticKey {