22 #ifndef TWINE_PARSER_ANIM_H 23 #define TWINE_PARSER_ANIM_H 25 #include "common/array.h" 26 #include "common/stream.h" 27 #include "twine/parser/parser.h" 28 #include "twine/shared.h" 32 enum BoneType : uint16 {
39 BoneType type = BoneType::TYPE_ROTATE;
51 int16 animMasterRot = 0;
52 int16 animStepAlpha = 0;
53 int16 animStepBeta = 0;
54 int16 animStepGamma = 0;
66 uint16 _numBoneframes;
70 void reset()
override;
75 const KeyFrame *getKeyframe(uint index)
const;
77 uint getNbFramesAnim()
const;
78 uint16 getLoopFrame()
const;
79 uint16 getNumBoneframes()
const;
82 inline uint AnimData::getNbFramesAnim()
const {
83 return getKeyframes().size();
Definition: achievements_tables.h:27