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 07:21:28 +00:00
|
|
|
bool ApplyHeadTracking() const;
|
|
|
|
void Start(CBodyController& bc, CStateManager& mgr);
|
|
|
|
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr);
|
|
|
|
void Shutdown(CBodyController&);
|
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
|