2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CANIMPLAYBACKPARMS
|
|
|
|
#define _CANIMPLAYBACKPARMS
|
2022-08-14 18:38:41 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
class CQuaternion;
|
|
|
|
class CTransform4f;
|
|
|
|
class CVector3f;
|
|
|
|
|
|
|
|
class CAnimPlaybackParms {
|
|
|
|
private:
|
2022-09-05 04:01:13 +00:00
|
|
|
int x0_animA;
|
|
|
|
int x4_animB;
|
2022-10-09 05:37:23 +00:00
|
|
|
float x8_blendWeight;
|
2022-08-14 18:38:41 +00:00
|
|
|
bool xc_animating;
|
2022-09-05 04:01:13 +00:00
|
|
|
int x10_;
|
2022-10-25 19:35:44 +00:00
|
|
|
const CVector3f* x14_targetPos;
|
2022-08-14 18:38:41 +00:00
|
|
|
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,
|
2022-12-01 13:45:36 +00:00
|
|
|
const CTransform4f* xf, const CVector3f* scale, bool useLocator)
|
2022-10-25 19:35:44 +00:00
|
|
|
: 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) {}
|
2022-08-14 18:38:41 +00:00
|
|
|
};
|
|
|
|
CHECK_SIZEOF(CAnimPlaybackParms, 0x28)
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CANIMPLAYBACKPARMS
|