mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 12:57:00 +00:00
22
include/MetroidPrime/BodyState/CBSDie.hpp
Normal file
22
include/MetroidPrime/BodyState/CBSDie.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef _CBSDIE
|
||||
#define _CBSDIE
|
||||
|
||||
#include "MetroidPrime/BodyState/CBodyState.hpp"
|
||||
|
||||
class CBSDie : public CBodyState {
|
||||
public:
|
||||
CBSDie();
|
||||
~CBSDie();
|
||||
|
||||
bool IsDead() const override;
|
||||
bool IsDying() const override;
|
||||
void Start(CBodyController& bc, CStateManager& mgr) override;
|
||||
pas::EAnimationState UpdateBody(float dt, CBodyController& bc, CStateManager& mgr) override;
|
||||
void Shutdown(CBodyController&) override;
|
||||
|
||||
private:
|
||||
float x4_remTime;
|
||||
bool x8_isDead;
|
||||
};
|
||||
|
||||
#endif // _CBSDIE
|
||||
@@ -24,9 +24,12 @@ public:
|
||||
void SetDeltaRotation(const CQuaternion& q);
|
||||
void SetCurrentAnimation(const CAnimPlaybackParms& parms, bool loop, bool noTrans);
|
||||
void FaceDirection(const CVector3f& v0, float dt);
|
||||
void EnableAnimation(bool enable);
|
||||
|
||||
bool IsAnimationOver() const { return x300_24_animationOver; }
|
||||
pas::EFallState GetFallState() const; // { return x2f0_fallState; }
|
||||
pas::ELocomotionType GetLocomotionType() const { return x2ec_locomotionType; }
|
||||
bool IsAnimationOver() const { return x300_24_animationOver; }
|
||||
bool ShouldPlayDeathAnims() const { return x300_28_playDeathAnims; }
|
||||
|
||||
private:
|
||||
CActor& x0_actor;
|
||||
@@ -39,6 +42,10 @@ private:
|
||||
int x2f8_curAnim ;
|
||||
float x2fc_turnSpeed;
|
||||
bool x300_24_animationOver : 1;
|
||||
bool x300_25_active : 1;
|
||||
bool x300_26_frozen : 1;
|
||||
bool x300_27_hasBeenFrozen : 1;
|
||||
bool x300_28_playDeathAnims : 1;
|
||||
};
|
||||
|
||||
#endif // _CBODYCONTROLLER
|
||||
|
||||
Reference in New Issue
Block a user