Fission FSN
Loading...
Searching...
No Matches
fsC3dAnimationData.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsC3dAnimationData.h
4*
5* Purpose: Marmalade 3D animation data
6*
7*********************************************************************/
8
9#ifndef fsC3dAnimationDatahdr
10#define fsC3dAnimationDatahdr
11
12
13#include <map>
14#include <fsCore/fsStr.h>
15
16#include "fsC3dModelData.h"
18
19
21{
22 friend class fsI3dAnimationData;
23 friend class fsCRetained3dSprite;
24
25public:
26
27 ::ModelAnimation* const get(const fsStr& panimationName);
29
30protected:
31
32 static fsStr filenameGet(const fsStr& pFileName, const fsStr& pAnimationName);
33
34 fsC3dAnimationData(const fsStr& pFileName, const fsStr& pAnimationName);
35
36private:
37
38 fsStr animationNameGet(const fsStr& pAnimationName) const;
39
40 ::ModelAnimation* createRaylibAnimation(const fsStr& pAnimationName);
41
42 std::map<fsStr, ::ModelAnimation*> mAnims;
43 fsS32 mAnimationCount;
44 fsStr mModelFilename;
45};
46
47#endif
Definition fsC3dAnimationData.h:20
virtual ~fsC3dAnimationData()
friend class fsI3dAnimationData
Definition fsC3dAnimationData.h:21
::ModelAnimation *const get(const fsStr &panimationName)
fsC3dAnimationData(const fsStr &pFileName, const fsStr &pAnimationName)
friend class fsCRetained3dSprite
Definition fsC3dAnimationData.h:22
static fsStr filenameGet(const fsStr &pFileName, const fsStr &pAnimationName)
Definition fsI3dAnimationData.h:23
Definition fsStr.h:23
int fsS32
Definition fsBaseTypes.h:20