prime/include/MetroidPrime/CAnimRes.hpp

36 lines
733 B
C++
Raw Normal View History

#ifndef _CANIMRES
#define _CANIMRES
#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) {}
2022-11-09 00:12:27 +00:00
CAnimRes(CAssetId ancs, const int charIdx, const CVector3f& scale, const int defaultAnim, const bool loop)
: x0_ancsId(ancs)
, x4_charIdx(charIdx)
, x8_scale(scale)
, x14_canLoop(loop)
, x18_defaultAnim(defaultAnim) {}
2022-10-11 15:30:39 +00:00
// name?
static int kDefaultCharIdx;
};
CHECK_SIZEOF(CAnimRes, 0x1c)
#endif // _CANIMRES