summaryrefslogblamecommitdiffstats
path: root/src/animation/AnimBlendAssocGroup.h
blob: 86f0ca18de6e93122a39431fd6bd3b2c3935be95 (plain) (tree)
1
2
3
4
5
6
7
8
9


                            
                  



                          
                              

                                         

                                                            








                                                               
                                                                                                              
  
#pragma once

class CAnimBlendAssociation;
struct CAnimBlock;

class CAnimBlendAssocGroup
{
public:
	CAnimBlock *animBlock;
	CAnimBlendAssociation *assocList;
	int32 numAssociations;
	int32 firstAnimId;
	int32 groupId;	// id of self in ms_aAnimAssocGroups

	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, const char **animNames, int numAssocs);
};