diff options
author | erorcun <erayorcunus@gmail.com> | 2019-11-20 22:06:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-20 22:06:22 +0100 |
commit | a7d0404c89047acbd426a0369a8cc343ed1429f0 (patch) | |
tree | 137c86403af35f742ebdff48706b520e4134dc5f /src/peds/Ped.h | |
parent | Frontend, Peds & logic and overflow fixes (diff) | |
parent | CPed completed! (diff) | |
download | re3-a7d0404c89047acbd426a0369a8cc343ed1429f0.tar re3-a7d0404c89047acbd426a0369a8cc343ed1429f0.tar.gz re3-a7d0404c89047acbd426a0369a8cc343ed1429f0.tar.bz2 re3-a7d0404c89047acbd426a0369a8cc343ed1429f0.tar.lz re3-a7d0404c89047acbd426a0369a8cc343ed1429f0.tar.xz re3-a7d0404c89047acbd426a0369a8cc343ed1429f0.tar.zst re3-a7d0404c89047acbd426a0369a8cc343ed1429f0.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 |