2022-10-25 15:43:42 +00:00
|
|
|
#ifndef _CABSAIM
|
|
|
|
#define _CABSAIM
|
|
|
|
|
|
|
|
#include "MetroidPrime/BodyState/CAdditiveBodyState.hpp"
|
|
|
|
|
|
|
|
class CABSAim : public CAdditiveBodyState {
|
2022-11-10 18:50:42 +00:00
|
|
|
public:
|
|
|
|
CABSAim();
|
2023-02-06 07:21:28 +00:00
|
|
|
void Start(CBodyController& bc, CStateManager& mgr);
|
|
|
|
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr);
|
|
|
|
void Shutdown(CBodyController& bc);
|
2022-11-10 18:50:42 +00:00
|
|
|
|
|
|
|
private:
|
2022-10-25 15:43:42 +00:00
|
|
|
bool x4_needsIdle;
|
|
|
|
int x8_anims[4];
|
|
|
|
float x18_angles[4];
|
|
|
|
float x28_hWeight;
|
|
|
|
float x2c_hWeightVel;
|
|
|
|
float x30_vWeight;
|
|
|
|
float x34_vWeightVel;
|
2022-11-10 18:50:42 +00:00
|
|
|
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
|
2022-10-25 15:43:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CABSAIM
|