diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-21 05:59:31 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-22 15:19:22 +0300 |
commit | f40f44b14e028c4bb2bee2e898c210e3f41b20bb (patch) | |
tree | f66810ab48dc09fd116db6d7e81822c6f760444f /src/peds/PlayerPed.h | |
parent | 5bedca7692490914ad2545767a6f1aa1fd46f386 (diff) |
Peds, Hud, CFO 1/2, fixes - including zone names
Diffstat (limited to 'src/peds/PlayerPed.h')
-rw-r--r-- | src/peds/PlayerPed.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/peds/PlayerPed.h b/src/peds/PlayerPed.h index 7ff95ff3..3b8d8fcb 100644 --- a/src/peds/PlayerPed.h +++ b/src/peds/PlayerPed.h @@ -34,7 +34,7 @@ public: bool m_bDrunkVisualsWearOff; // TODO(Miami): That may be something else CVector m_vecSafePos[6]; // safe places from the player, for example behind a tree CPed *m_pPedAtSafePos[6]; - CPlayerPed* m_pMeleeList[6]; + CPed *m_pMeleeList[6]; // reachable peds at each direction(6) char unused1; int16 m_nCheckPlayersIndex; float m_fWalkAngle; //angle between heading and walking direction @@ -85,6 +85,8 @@ public: bool DoesPlayerWantNewWeapon(eWeaponType, bool); void PlayIdleAnimations(CPad*); void RemovePedFromMeleeList(CPed*); + void GetMeleeAttackCoords(CVector&, int8, float); + int32 FindMeleeAttackPoint(CPed*, CVector&, uint32&); static void SetupPlayerPed(int32); static void DeactivatePlayerPed(int32); |