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();
|
|
|
|
void Start(CBodyController& bc, CStateManager& mgr) override;
|
|
|
|
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) override;
|
|
|
|
void Shutdown(CBodyController& bc) override;
|
|
|
|
|
|
|
|
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
|