diff options
author | Bastien Bouclet | 2017-07-14 19:45:23 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-07-14 19:45:23 +0200 |
commit | ef42fd3476eb5da3a832d09b35e1cf539f8c2b95 (patch) | |
tree | e61730f36a86272f134ac6fe07a35ca2a773c912 /engines/mohawk/riven_card.h | |
parent | ce81c5345d7c8c017e70472dfe043b082cefee43 (diff) | |
download | scummvm-rg350-ef42fd3476eb5da3a832d09b35e1cf539f8c2b95.tar.gz scummvm-rg350-ef42fd3476eb5da3a832d09b35e1cf539f8c2b95.tar.bz2 scummvm-rg350-ef42fd3476eb5da3a832d09b35e1cf539f8c2b95.zip |
MOHAWK: Riven: Implement transition offsets
The games tries to match objects between the old and new card by
offsetting the transition of the new card.
Fixes #9947.
Diffstat (limited to 'engines/mohawk/riven_card.h')
-rw-r--r-- | engines/mohawk/riven_card.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/mohawk/riven_card.h b/engines/mohawk/riven_card.h index 0d752ed5c0..24f2c137e7 100644 --- a/engines/mohawk/riven_card.h +++ b/engines/mohawk/riven_card.h @@ -244,6 +244,13 @@ public: /** Get the hotspot's enable list id */ uint16 getBlstId() const; + /** + * Get the offset used to control overlap during transitions + * + * -1 means no overlap. + */ + int16 getTransitionOffset() const; + /** Write all of the hotspot's data to standard output */ void dump() const; @@ -263,7 +270,7 @@ private: uint16 _u0; uint16 _mouseCursor; uint16 _index; - int16 _u1; + int16 _transitionOffset; uint16 _flags; RivenScriptList _scripts; }; |