diff options
Diffstat (limited to '')
-rw-r--r-- | src/peds/PlayerPed.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/peds/PlayerPed.h b/src/peds/PlayerPed.h index 6a794d41..5725a8ee 100644 --- a/src/peds/PlayerPed.h +++ b/src/peds/PlayerPed.h @@ -2,6 +2,7 @@ #include "Ped.h" #include "Wanted.h" +#include "Pad.h" class CPlayerPed : public CPed { @@ -12,13 +13,13 @@ public: float m_fCurrentStamina; float m_fMaxStamina; float m_fStaminaProgress; - uint8 m_nSelectedWepSlot; + uint8 m_nSelectedWepSlot; // eWeaponType bool m_bSpeedTimerFlag; bool m_bShouldEvade; int8 field_1367; int32 m_nSpeedTimer; int32 m_nShotDelay; - float field_1376; // m_fAttackButtonCounter? + float field_1376; // m_fAttackButtonCounter? int8 field_1380; // bHaveTargetSelected? int8 field_1381; int8 field_1382; @@ -56,6 +57,16 @@ public: void UseSprintEnergy(void); class CPlayerInfo *GetPlayerInfoForThisPlayerPed(); void SetRealMoveAnim(void); + void RestoreSprintEnergy(float); + bool DoWeaponSmoothSpray(void); + void DoStuffToGoOnFire(void); + bool DoesTargetHaveToBeBroken(CVector, CWeapon*); + void RunningLand(CPad*); + bool IsThisPedAttackingPlayer(CPed*); + void PlayerControlSniper(CPad*); + void PlayerControlM16(CPad*); + void PlayerControlFighter(CPad*); + void ProcessWeaponSwitch(CPad*); void MakeObjectTargettable(int32); static void SetupPlayerPed(int32); |