prime/include/MetroidPrime/CAnimRes.hpp
Luke Street 7f83e1fa03 Standardize include guards, clang-format headers
Former-commit-id: 261ee48bba0546f4620447040b7c3d3034686796
2022-10-09 01:13:17 -04:00

33 lines
679 B
C++

#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;
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)
: x0_ancsId(ancs)
, x4_charIdx(charIdx)
, x8_scale(scale)
, x14_canLoop(loop)
, x18_defaultAnim(defaultAnim) {}
};
CHECK_SIZEOF(CAnimRes, 0x1c)
#endif // _CANIMRES