diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-11-19 23:15:45 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-11-20 22:05:10 +0100 |
commit | bd68b56b5d9ed6637973b57f742c17727ca214ac (patch) | |
tree | 137c86403af35f742ebdff48706b520e4134dc5f /src/peds/Ped.h | |
parent | Merge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff) | |
download | re3-bd68b56b5d9ed6637973b57f742c17727ca214ac.tar re3-bd68b56b5d9ed6637973b57f742c17727ca214ac.tar.gz re3-bd68b56b5d9ed6637973b57f742c17727ca214ac.tar.bz2 re3-bd68b56b5d9ed6637973b57f742c17727ca214ac.tar.lz re3-bd68b56b5d9ed6637973b57f742c17727ca214ac.tar.xz re3-bd68b56b5d9ed6637973b57f742c17727ca214ac.tar.zst re3-bd68b56b5d9ed6637973b57f742c17727ca214ac.zip |
Diffstat (limited to 'src/peds/Ped.h')
-rw-r--r-- | src/peds/Ped.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h index edf6b878..eb8fb3d0 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -411,7 +411,7 @@ public: CVector2D m_stPathNodeStates[10]; uint16 m_nPathNodes; int16 m_nCurPathNode; - int8 m_nPathState; + int8 m_nPathDir; private: int8 _pad2B5[3]; public: @@ -690,7 +690,7 @@ public: void ScanForInterestingStuff(void); void WarpPedIntoCar(CVehicle*); void SetCarJack(CVehicle*); - void WarpPedToNearLeaderOffScreen(void); + bool WarpPedToNearLeaderOffScreen(void); // Static methods static CVector GetLocalPositionToOpenCarDoor(CVehicle *veh, uint32 component, float offset); @@ -768,6 +768,7 @@ public: void SeekBoatPosition(void); void UpdatePosition(void); CObject *SpawnFlyingComponent(int, int8); + void SetCarJack_AllClear(CVehicle*, uint32, uint32); #ifdef VC_PED_PORTS bool CanPedJumpThis(CEntity*, CVector*); #else @@ -782,6 +783,7 @@ public: void SetPedState(PedState state) { m_nPedState = state; } bool DyingOrDead(void) { return m_nPedState == PED_DIE || m_nPedState == PED_DEAD; } void ReplaceWeaponWhenExitingVehicle(void); + void RemoveWeaponWhenEnteringVehicle(void); bool IsNotInWreckedVehicle(); // set by 0482:set_threat_reaction_range_multiplier opcode |