blob: 424a925daf71796f8c1afee00ac04a71d4f351f9 (
plain) (
tree)
|
|
#pragma once
#include "templates.h"
#ifdef MoveMemory
#undef MoveMemory // windows shit
#endif
class CAnimBlendSequence;
// A collection of sequences
class CAnimBlendHierarchy
{
public:
char name[24];
CAnimBlendSequence *sequences;
int16 numSequences;
bool compressed; // not really used
bool compressed2; // not really used
float totalLength;
CLink<CAnimBlendHierarchy*> *linkPtr;
CAnimBlendHierarchy(void);
void Shutdown(void);
void SetName(char *name);
void CalcTotalTime(void);
void CalcTotalTimeCompressed(void);
void RemoveQuaternionFlips(void);
void RemoveAnimSequences(void);
void Uncompress(void);
void RemoveUncompressedData(void);
void MoveMemory(bool onlyone = false);
bool IsCompressed() { return !!compressed; };
};
VALIDATE_SIZE(CAnimBlendHierarchy, 0x28);
|