mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 04:57:01 +00:00
Finish CPlayerGun
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "CPlayerState.hpp"
|
||||
#include "RetroTypes.hpp"
|
||||
#include "CStateManager.hpp"
|
||||
#include "CGunWeapon.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
@@ -17,9 +18,15 @@ public:
|
||||
bool IsComboFxActive(const CStateManager& mgr) const;
|
||||
void Load(CPlayerState::EBeamId curBeam, CStateManager& mgr);
|
||||
void StopComboFx(CStateManager& mgr, bool b1);
|
||||
bool UpdateComboFx(float dt, const zeus::CVector3f& scale, const zeus::CVector3f& pos,
|
||||
const zeus::CTransform& xf, CStateManager& mgr);
|
||||
void Fire(bool underwater, CPlayerState::EBeamId currentBeam, EChargeState chargeState,
|
||||
const zeus::CTransform& xf, CStateManager& mgr, EWeaponType type, TUniqueId homingId);
|
||||
void LoadIdle();
|
||||
bool IsLoaded() const { return x80_24_isLoaded; }
|
||||
void RenderMuzzleFx() const;
|
||||
TUniqueId HasTarget(const CStateManager& mgr) const;
|
||||
void SetNewTarget(TUniqueId targetId, CStateManager& mgr);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user