diff options
author | Paul Gilbert | 2015-06-12 22:20:28 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-12 22:20:28 -0400 |
commit | 5dc79a8f3272f8e5c9131fac925d4533a25ab4d9 (patch) | |
tree | dcaf6b03f70ac7d9d60d1ffcee3ceaa9b43023ff /engines/sherlock/objects.h | |
parent | a3fb5ab1fbb0cf3ff448ba9e9966ef21c7dc3847 (diff) | |
download | scummvm-rg350-5dc79a8f3272f8e5c9131fac925d4533a25ab4d9.tar.gz scummvm-rg350-5dc79a8f3272f8e5c9131fac925d4533a25ab4d9.tar.bz2 scummvm-rg350-5dc79a8f3272f8e5c9131fac925d4533a25ab4d9.zip |
SHERLOCK: RT: Implement animation structure changes
Diffstat (limited to 'engines/sherlock/objects.h')
-rw-r--r-- | engines/sherlock/objects.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/sherlock/objects.h b/engines/sherlock/objects.h index a22606bcb3..6035bb4ee6 100644 --- a/engines/sherlock/objects.h +++ b/engines/sherlock/objects.h @@ -433,15 +433,21 @@ public: void setObjTalkSequence(int seq); }; + +class PositionFacing : public Point32 { +public: + int _facing; + + PositionFacing() : Point32(), _facing(0) {} +}; + struct CAnim { Common::String _name; // Name Common::Point _position; // Position int _size; // Size of uncompressed animation int _flags; // Tells if can be walked behind - Point32 _goto; // coords holmes should walk to before starting canim - int _gotoDir; - Point32 _teleportPos; // Location Holmes shoul teleport to after - int _teleportDir; // playing canim + PositionFacing _goto[2]; // Position Holmes (and NPC in Rose Tattoo) should walk to before anim starts + PositionFacing _teleport[2]; // Location Holmes (and NPC) shoul teleport to after playing canim // Scalpel specific byte _sequences[MAX_FRAME]; // Animation sequences |