diff options
author | David Eriksson | 2003-10-18 10:58:10 +0000 |
---|---|---|
committer | David Eriksson | 2003-10-18 10:58:10 +0000 |
commit | 65883950d84a1fab5320169b3b765be2d814afbb (patch) | |
tree | dafda4336bd60fedb8b269bb79712dbf3ff490a9 /queen/cutaway.h | |
parent | c518ee26ec394e7359bc565624de78b60f5fb84a (diff) | |
download | scummvm-rg350-65883950d84a1fab5320169b3b765be2d814afbb.tar.gz scummvm-rg350-65883950d84a1fab5320169b3b765be2d814afbb.tar.bz2 scummvm-rg350-65883950d84a1fab5320169b3b765be2d814afbb.zip |
Make the aeroplane fly (and Joe too... I wonder what he smoked.)
svn-id: r10889
Diffstat (limited to 'queen/cutaway.h')
-rw-r--r-- | queen/cutaway.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/queen/cutaway.h b/queen/cutaway.h index 7fbf767d97..4e6c7ccd9f 100644 --- a/queen/cutaway.h +++ b/queen/cutaway.h @@ -106,7 +106,7 @@ class Cutaway { struct CutawayAnim { int object; - int unpackFrame; // Frame to unpack + int unpackFrame; // Frame to unpack int speed; int bank; int mx; @@ -117,6 +117,7 @@ class Cutaway { int currentFrame; // Index to Current Frame int originalFrame; // Index to Original Object Frame int song; + bool flip; // set this if unpackFrame is negative }; struct ObjectDataBackup { @@ -260,6 +261,9 @@ class Cutaway { //! Get CutawayAnim data from ptr and return new ptr byte *getCutawayAnim(byte *ptr, int header, CutawayAnim &anim); + //! Special animation + int makeComplexAnimation(int16 currentImage, CutawayAnim *objAnim, int frameCount); + //! Read a CutawayObject from ptr and return new ptr static byte *getCutawayObject(byte *ptr, CutawayObject &object); |