summaryrefslogtreecommitdiff
path: root/src/animation/AnimBlendAssocGroup.h
blob: 708a3cddce18f0a8d2d104984666a6bda7d849ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

class CAnimBlendAssociation;

class CAnimBlendAssocGroup
{
public:
	CAnimBlendAssociation *assocList;
	int32 numAssociations;

	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);
	void CreateAssociations(const char *blockName, RpClump *clump, char **animNames, int numAssocs);
};