2019-06-11 08:59:28 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "templates.h"
|
|
|
|
|
|
|
|
class CAnimBlendSequence;
|
|
|
|
|
|
|
|
// A collection of sequences
|
|
|
|
class CAnimBlendHierarchy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
char name[24];
|
|
|
|
CAnimBlendSequence *sequences;
|
|
|
|
int16 numSequences;
|
|
|
|
int16 compressed; // not really used
|
|
|
|
float totalLength;
|
|
|
|
CLink<CAnimBlendHierarchy*> *linkPtr;
|
|
|
|
|
|
|
|
CAnimBlendHierarchy(void);
|
|
|
|
void Shutdown(void);
|
|
|
|
void SetName(char *name);
|
|
|
|
void CalcTotalTime(void);
|
|
|
|
void RemoveQuaternionFlips(void);
|
|
|
|
void RemoveAnimSequences(void);
|
|
|
|
void Uncompress(void);
|
|
|
|
void RemoveUncompressedData(void);
|
|
|
|
};
|
2020-05-10 15:54:37 +02:00
|
|
|
|
|
|
|
#ifdef CHECK_STRUCT_SIZES
|
2019-06-11 08:59:28 +02:00
|
|
|
static_assert(sizeof(CAnimBlendHierarchy) == 0x28, "CAnimBlendHierarchy: error");
|
2020-05-10 15:54:37 +02:00
|
|
|
#endif
|