mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 21:07:42 +00:00
Work on CPlayerGun
This commit is contained in:
@@ -10,20 +10,20 @@ class CAnimData;
|
||||
class CStateManager;
|
||||
class CGSFreeLook
|
||||
{
|
||||
friend class CGunController;
|
||||
float x0_ = 0.f;
|
||||
s32 x4_ = -1;
|
||||
u32 x8_ = -1;
|
||||
u32 xc_ = 0;
|
||||
u32 x10_ = -1;
|
||||
bool x14_ = false;
|
||||
float x0_delay = 0.f;
|
||||
s32 x4_cueAnimId = -1;
|
||||
s32 x8_loopState = -1; // In, loop, out
|
||||
s32 xc_gunId = 0;
|
||||
s32 x10_setId = -1;
|
||||
bool x14_idle = false;
|
||||
public:
|
||||
s32 GetSetId() const;
|
||||
void SetLoopState(s32);
|
||||
s32 GetLoopState() const;
|
||||
s32 GetGunId() const;
|
||||
bool Update(CAnimData&, float, CStateManager&);
|
||||
u32 SetAnim(CAnimData&, s32, s32, s32, CStateManager&, float);
|
||||
s32 GetSetId() const { return x10_setId; }
|
||||
void SetLoopState(s32 l) { x8_loopState = l; }
|
||||
s32 GetLoopState() const { return x8_loopState; }
|
||||
void SetIdle(bool l) { x14_idle = l; }
|
||||
s32 GetGunId() const { return xc_gunId; }
|
||||
bool Update(CAnimData& data, float dt, CStateManager& mgr);
|
||||
s32 SetAnim(CAnimData& data, s32 gunId, s32 setId, s32 loopState, CStateManager& mgr, float delay);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user