summaryrefslogtreecommitdiffstats
path: root/src/entities/Ped.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-28 18:19:00 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-28 18:19:00 +0200
commit7ab2ba9399eb8003821122f619371e443a8b1603 (patch)
treeb0490ac6bdd9b7ff863cdd26d68280aea2e9357d /src/entities/Ped.h
parentMerge pull request #62 from erorcun/erorcun (diff)
downloadre3-7ab2ba9399eb8003821122f619371e443a8b1603.tar
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.gz
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.bz2
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.lz
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.xz
re3-7ab2ba9399eb8003821122f619371e443a8b1603.tar.zst
re3-7ab2ba9399eb8003821122f619371e443a8b1603.zip
Diffstat (limited to 'src/entities/Ped.h')
-rw-r--r--src/entities/Ped.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/entities/Ped.h b/src/entities/Ped.h
index 37a1cd3d..9b2ec31f 100644
--- a/src/entities/Ped.h
+++ b/src/entities/Ped.h
@@ -112,7 +112,7 @@ public:
// 0x128
CStoredCollPoly m_collPoly;
float m_fCollisionSpeed;
- uint8 m_ped_flagA1 : 1;
+ uint8 bIsStanding : 1;
uint8 m_ped_flagA2 : 1;
uint8 m_ped_flagA4 : 1; // stores (CTimer::GetTimeInMilliseconds() < m_lastHitTime)
uint8 bIsPointingGunAt : 1;
@@ -148,9 +148,9 @@ public:
uint8 m_ped_flagE2 : 1;
uint8 m_ped_flagE4 : 1;
uint8 m_ped_flagE8 : 1; // can duck?
- uint8 m_ped_flagE10 : 1; // can't attack if it's set
+ uint8 bCantFireBecauseCrouched : 1; // set if you don't want ped to attack
uint8 m_ped_flagE20 : 1;
- uint8 m_ped_flagE40 : 1;
+ uint8 bDoBloodyFootprints : 1;
uint8 m_ped_flagE80 : 1;
uint8 m_ped_flagF1 : 1;
uint8 m_ped_flagF2 : 1;
@@ -256,7 +256,9 @@ public:
uint32 m_hitRecoverTimer;
uint32 field_4E0;
uint32 m_duckTimer;
- uint8 stuff9[10];
+ uint8 stuff13[4];
+ int32 m_bloodyFootprintCount;
+ uint8 stuff9[2];
uint8 m_bodyPartBleeding; // PedNode
uint8 m_field_4F3;
CPed *m_nearPeds[10];
@@ -298,6 +300,7 @@ public:
void RestartNonPartialAnims(void);
void LineUpPedWithCar(PedLineUpPhase phase);
void SetPedPositionInCar(void);
+ void PlayFootSteps(void);
static void GetLocalPositionToOpenCarDoor(CVector *output, CVehicle *veh, uint32 enterType, float offset);
static void GetPositionToOpenCarDoor(CVector *output, CVehicle *veh, uint32 enterType, float seatPosMult);
static void GetPositionToOpenCarDoor(CVector* output, CVehicle* veh, uint32 enterType);