diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-07-10 08:06:43 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-07-10 14:56:29 +0200 |
commit | 86681c6f18b5741ba25bbbb7319bb832ffa4807a (patch) | |
tree | 0af4b378873305260733777e528fc4b13e530400 /src/peds/Ped.h | |
parent | One driver owns all the cars fix (diff) | |
download | re3-86681c6f18b5741ba25bbbb7319bb832ffa4807a.tar re3-86681c6f18b5741ba25bbbb7319bb832ffa4807a.tar.gz re3-86681c6f18b5741ba25bbbb7319bb832ffa4807a.tar.bz2 re3-86681c6f18b5741ba25bbbb7319bb832ffa4807a.tar.lz re3-86681c6f18b5741ba25bbbb7319bb832ffa4807a.tar.xz re3-86681c6f18b5741ba25bbbb7319bb832ffa4807a.tar.zst re3-86681c6f18b5741ba25bbbb7319bb832ffa4807a.zip |
Diffstat (limited to 'src/peds/Ped.h')
-rw-r--r-- | src/peds/Ped.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/peds/Ped.h b/src/peds/Ped.h index 2390d1d4..4909a583 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -13,7 +13,7 @@ struct CPathNode; -enum eWaitState : uint32 { +enum eWaitState { WAITSTATE_FALSE, WAITSTATE_TRAFFIC_LIGHTS, WAITSTATE_CROSS_ROAD, @@ -292,10 +292,10 @@ public: int32 m_nPrevActionState; eWaitState m_nWaitState; uint32 m_nWaitTimer; - void *m_pPathNodesStates[8]; + void *m_pPathNodesStates[8]; // seems unused CVector2D m_stPathNodeStates[10]; uint16 m_nPathNodes; - uint8 m_nCurPathNode; + int16 m_nCurPathNode; int8 m_nPathState; private: int8 _pad2B5[3]; @@ -324,7 +324,7 @@ public: CVehicle *m_pMyVehicle; bool bInVehicle; uint8 pad_315[3]; - uint32 field_318; + float field_318; uint8 field_31C; uint8 field_31D; int16 m_phoneId; @@ -457,7 +457,8 @@ public: bool TurnBody(void); void Chat(void); void MakeChangesForNewWeapon(int8); - + void CheckAroundForPossibleCollisions(void); + bool Seek(void); // Static methods static void GetLocalPositionToOpenCarDoor(CVector *output, CVehicle *veh, uint32 enterType, float offset); |