1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-10 21:39:15 +00:00
re3/src/animation/AnimBlendHierarchy.h

36 lines
760 B
C
Raw Normal View History

#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;
2020-12-18 22:46:51 +00:00
bool compressed;
bool keepCompressed;
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);
2020-08-24 18:52:16 +00:00
bool IsCompressed() { return !!compressed; };
};
2020-05-10 13:54:37 +00:00
VALIDATE_SIZE(CAnimBlendHierarchy, 0x28);