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;
|
2020-05-08 15:59:57 +02:00
|
|
|
bool compressed; // not really used
|
|
|
|
bool compressed2; // not really used
|
2019-06-11 08:59:28 +02:00
|
|
|
float totalLength;
|
|
|
|
CLink<CAnimBlendHierarchy*> *linkPtr;
|
|
|
|
|
|
|
|
CAnimBlendHierarchy(void);
|
|
|
|
void Shutdown(void);
|
|
|
|
void SetName(char *name);
|
|
|
|
void CalcTotalTime(void);
|
2020-05-08 15:59:57 +02:00
|
|
|
void CalcTotalTimeCompressed(void);
|
2019-06-11 08:59:28 +02:00
|
|
|
void RemoveQuaternionFlips(void);
|
|
|
|
void RemoveAnimSequences(void);
|
|
|
|
void Uncompress(void);
|
|
|
|
void RemoveUncompressedData(void);
|
|
|
|
};
|
2020-05-10 15:54:37 +02:00
|
|
|
|
2020-05-10 17:49:33 +02:00
|
|
|
VALIDATE_SIZE(CAnimBlendHierarchy, 0x28);
|