2022-10-28 11:25:08 +00:00
|
|
|
#ifndef _CBSSCRIPTED
|
|
|
|
#define _CBSSCRIPTED
|
|
|
|
|
|
|
|
#include "MetroidPrime/BodyState/CBodyState.hpp"
|
|
|
|
|
|
|
|
class CBSScripted : public CBodyState {
|
|
|
|
public:
|
|
|
|
CBSScripted();
|
|
|
|
~CBSScripted();
|
|
|
|
|
2023-02-06 17:01:01 +00:00
|
|
|
bool ApplyHeadTracking() const override;
|
|
|
|
void Start(CBodyController& bc, CStateManager& mgr) override;
|
|
|
|
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) override;
|
|
|
|
void Shutdown(CBodyController&) override;
|
2022-10-28 11:25:08 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
bool x4_24_loopAnim : 1;
|
|
|
|
bool x4_25_timedLoop : 1;
|
|
|
|
float x8_remTime;
|
|
|
|
|
|
|
|
pas::EAnimationState GetBodyStateTransition(float dt, CBodyController& bc);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CBSSCRIPTED
|