mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-18 20:05:21 +00:00
@@ -31,6 +31,7 @@ class CGunController {
|
||||
|
||||
public:
|
||||
explicit CGunController(CModelData& modelData);
|
||||
~CGunController();
|
||||
|
||||
void EnterFreeLook(CStateManager&, int, int);
|
||||
void EnterComboFire(CStateManager&, int);
|
||||
@@ -43,5 +44,6 @@ public:
|
||||
void Reset();
|
||||
void ReturnToBasePosition(CStateManager&);
|
||||
};
|
||||
CHECK_SIZEOF(CGunController, 0x5C)
|
||||
|
||||
#endif // _CGUNCONTROLLER_HPP
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define _CGUNMOTION_HPP
|
||||
|
||||
#include "MetroidPrime/CModelData.hpp"
|
||||
#include "MetroidPrime/Weapons/GunController/CGunController.hpp"
|
||||
|
||||
#include "Kyoto/CToken.hpp"
|
||||
#include "Kyoto/CObjectReference.hpp"
|
||||
@@ -34,8 +35,13 @@ public:
|
||||
~CGunMotion();
|
||||
|
||||
bool PlayPasAnim(SamusGun::EAnimationState state, CStateManager& mgr, float angle, bool bigStrike);
|
||||
void Update(float, CStateManager&);
|
||||
void Draw(const CStateManager&, const CTransform4f&) const;
|
||||
void ReturnToDefault(CStateManager& mgr);
|
||||
void GetFreeLookSetId() const;
|
||||
void BasePosition(bool bigStrikeReset);
|
||||
void ReturnToDefault(CStateManager& mgr, bool setState);
|
||||
void EnterFidget(CStateManager&, SamusGun::EFidgetType, int);
|
||||
void LoadAnimations();
|
||||
|
||||
CModelData& GetModelData() { return x0_modelData; }
|
||||
const CModelData& GetModelData() const { return x0_modelData; }
|
||||
@@ -43,7 +49,7 @@ public:
|
||||
|
||||
private:
|
||||
CModelData x0_modelData;
|
||||
u8 x4c_pad[0x5C];
|
||||
CGunController x4c_gunController;
|
||||
rstl::vector<CToken> xa8_anims;
|
||||
bool xb8_24_animPlaying : 1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user