Clone of PhatAC @ https://github.com/floaterxk/PhatAC

Animation.h 561B

12345678910111213141516171819202122232425
  1. #pragma pack(push, 1)
  2. typedef struct animation_s
  3. {
  4. BYTE bType;
  5. WORD wIndex; //The index in the animation set.
  6. WORD wSequence; //The animation's sequence number.
  7. float fSpeed; //The speed this animation is to be played.
  8. double fStartTime; //..
  9. double fEndTime; //..
  10. DWORD dwStartFrame;
  11. DWORD dwEndFrame;
  12. DWORD dwFrameNum; //Current frame of this animation!
  13. DWORD dwTarget;
  14. DWORD dwAction; //For identifying actions (lifestone recall, etc.)
  15. DWORD dwActionData[10];
  16. } animation_t;
  17. #pragma pack(pop)
  18. typedef std::list<animation_t> animation_list;