#ifndef LYTANIMATION_H #define LYTANIMATION_H #include #include #include #include struct LYTAnimGroupInfo { QString name; quint8 unusedFlag; }; struct LYTAnimStepKey { float frame; quint16 value; }; struct LYTAnimHermiteKey { float frame, value, slope; }; struct LYTAnimEntry { quint8 id, target, curveType; QVector keys; QVector stepKeys; }; struct LYTAnimPiece { enum Type { PaneAnim = 0, TexSRTAnim, VisAnim, VtxClrAnim, MatClrAnim, TexPatAnim, IndTexSRTAnim }; Type type; QList entries; }; struct LYTAnimBlock { QString name; bool isMaterial; QList pieces; }; class LYTAnimation { public: LYTAnimation(QByteArray data); ~LYTAnimation(); QString name; quint16 sourceTagNumber; quint16 sourceStartFrame, sourceEndFrame; bool recursiveBind; QList groups; quint16 frameSize; bool loop; QStringList importedFiles; QList blocks; }; #endif // LYTANIMATION_H