2019-06-11 08:59:28 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CAnimBlendAssociation;
|
2020-05-08 15:59:57 +02:00
|
|
|
struct CAnimBlock;
|
2019-06-11 08:59:28 +02:00
|
|
|
|
|
|
|
class CAnimBlendAssocGroup
|
|
|
|
{
|
|
|
|
public:
|
2020-05-08 15:59:57 +02:00
|
|
|
CAnimBlock *animBlock;
|
2019-06-11 08:59:28 +02:00
|
|
|
CAnimBlendAssociation *assocList;
|
|
|
|
int32 numAssociations;
|
2020-05-08 15:59:57 +02:00
|
|
|
int32 firstAnimId;
|
|
|
|
int32 groupId; // id of self in ms_aAnimAssocGroups
|
2019-06-11 08:59:28 +02:00
|
|
|
|
|
|
|
CAnimBlendAssocGroup(void);
|
|
|
|
~CAnimBlendAssocGroup(void);
|
|
|
|
void DestroyAssociations(void);
|
|
|
|
CAnimBlendAssociation *GetAnimation(uint32 id);
|
|
|
|
CAnimBlendAssociation *GetAnimation(const char *name);
|
|
|
|
CAnimBlendAssociation *CopyAnimation(uint32 id);
|
|
|
|
CAnimBlendAssociation *CopyAnimation(const char *name);
|
|
|
|
void CreateAssociations(const char *name);
|
2019-08-16 20:17:15 +02:00
|
|
|
void CreateAssociations(const char *blockName, RpClump *clump, const char **animNames, int numAssocs);
|
2019-06-11 08:59:28 +02:00
|
|
|
};
|