2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CANIMRES
|
|
|
|
#define _CANIMRES
|
2022-09-19 04:19:46 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "MetroidPrime/TGameTypes.hpp"
|
|
|
|
|
|
|
|
#include "Kyoto/IObjectStore.hpp"
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
|
|
|
|
class CAnimRes {
|
|
|
|
private:
|
|
|
|
CAssetId x0_ancsId;
|
|
|
|
int x4_charIdx;
|
|
|
|
CVector3f x8_scale;
|
|
|
|
bool x14_canLoop;
|
|
|
|
int x18_defaultAnim;
|
2022-10-06 08:53:35 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
// CAnimRes()
|
|
|
|
// : x4_charIdx(-1), x14_canLoop(false), x8_scale(????), x18_defaultAnim(-1) {}
|
|
|
|
|
|
|
|
CAnimRes(CAssetId ancs, int charIdx, const CVector3f& scale, const int defaultAnim, bool loop)
|
2022-10-09 05:13:17 +00:00
|
|
|
: x0_ancsId(ancs)
|
|
|
|
, x4_charIdx(charIdx)
|
|
|
|
, x8_scale(scale)
|
|
|
|
, x14_canLoop(loop)
|
|
|
|
, x18_defaultAnim(defaultAnim) {}
|
2022-09-19 04:19:46 +00:00
|
|
|
};
|
|
|
|
CHECK_SIZEOF(CAnimRes, 0x1c)
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CANIMRES
|