prime/include/MetroidPrime/CAnimPlaybackParms.hpp

52 lines
1.2 KiB
C++
Raw Normal View History

#ifndef _CANIMPLAYBACKPARMS
#define _CANIMPLAYBACKPARMS
#include "types.h"
class CQuaternion;
class CTransform4f;
class CVector3f;
class CAnimPlaybackParms {
private:
int x0_animA;
int x4_animB;
float x8_blendWeight;
bool xc_animating;
int x10_;
2022-10-25 19:35:44 +00:00
const CVector3f* x14_targetPos;
bool x18_useLocator;
2022-10-25 19:35:44 +00:00
const CQuaternion* x1c_deltaOrient;
const CTransform4f* x20_objectXf;
const CVector3f* x24_objectScale;
2022-10-05 18:05:56 +00:00
public:
CAnimPlaybackParms(int animA, int animB, float blendWeight, bool animating)
2022-10-05 23:06:15 +00:00
: x0_animA(animA)
, x4_animB(animB)
, x8_blendWeight(blendWeight)
, xc_animating(animating)
, x10_(0)
, x14_targetPos(nullptr)
, x18_useLocator(false)
, x1c_deltaOrient(nullptr)
, x20_objectXf(nullptr)
, x24_objectScale(nullptr) {}
2022-10-25 19:35:44 +00:00
CAnimPlaybackParms(int anim, const CQuaternion* deltaOrient, const CVector3f* targetPos,
const CTransform4f* xf, const CVector3f* scale, bool useLocator)
: x0_animA(anim)
, x4_animB(-1)
, x8_blendWeight(1.f)
, xc_animating(true)
, x10_(0)
, x14_targetPos(targetPos)
, x18_useLocator(useLocator)
, x1c_deltaOrient(deltaOrient)
, x20_objectXf(xf)
, x24_objectScale(scale) {}
};
CHECK_SIZEOF(CAnimPlaybackParms, 0x28)
#endif // _CANIMPLAYBACKPARMS