summaryrefslogtreecommitdiffstats
path: root/src/entities/Ped.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-17 11:48:42 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-17 14:20:15 +0200
commite45689373db75d47ee6a87aa5440de8d99d87c4d (patch)
tree97a274d5d0787c7e7b58b2f2337d10d29c15dc4e /src/entities/Ped.h
parentMerge pull request #20 from gennariarmando/master (diff)
downloadre3-e45689373db75d47ee6a87aa5440de8d99d87c4d.tar
re3-e45689373db75d47ee6a87aa5440de8d99d87c4d.tar.gz
re3-e45689373db75d47ee6a87aa5440de8d99d87c4d.tar.bz2
re3-e45689373db75d47ee6a87aa5440de8d99d87c4d.tar.lz
re3-e45689373db75d47ee6a87aa5440de8d99d87c4d.tar.xz
re3-e45689373db75d47ee6a87aa5440de8d99d87c4d.tar.zst
re3-e45689373db75d47ee6a87aa5440de8d99d87c4d.zip
Diffstat (limited to '')
-rw-r--r--src/entities/Ped.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/entities/Ped.h b/src/entities/Ped.h
index 0b0a5562..0249c707 100644
--- a/src/entities/Ped.h
+++ b/src/entities/Ped.h
@@ -97,7 +97,7 @@ public:
uint8 m_ped_flagA2 : 1;
uint8 m_ped_flagA4 : 1;
uint8 m_ped_flagA8 : 1;
- uint8 m_ped_flagA10 : 1;
+ uint8 m_ped_flagA10 : 1; // set when A20 just changed?
uint8 m_ped_flagA20_look : 1;
uint8 m_ped_flagA40 : 1;
uint8 m_ped_flagA80 : 1;
@@ -114,7 +114,7 @@ public:
uint8 m_ped_flagC4 : 1;
uint8 m_ped_flagC8 : 1;
uint8 m_ped_flagC10 : 1;
- uint8 m_ped_flagC20 : 1;
+ uint8 m_ped_flagC20 : 1; // just left some body part?
uint8 m_ped_flagC40 : 1;
uint8 m_ped_flagC80 : 1;
uint8 m_ped_flagD1 : 1;
@@ -166,7 +166,7 @@ public:
uint8 m_ped_flagI40 : 1;
uint8 m_ped_flagI80 : 1;
uint8 stuff10[15];
- int32 m_field_16C;
+ CPed *m_field_16C;
uint8 stuff12[44];
int32 m_pEventEntity;
float m_fAngleToEvent;
@@ -198,7 +198,10 @@ public:
CPathNode *m_pLastPathNode;
float m_fHealth;
float m_fArmour;
- uint8 stuff2[34];
+ uint8 stuff2[20];
+ float m_fRotationCur;
+ float m_fRotationDest;
+ uint8 stuff13[6];
CEntity *m_pCurrentPhysSurface;
CVector m_vecOffsetFromPhysSurface;
CEntity *m_pCurSurface;
@@ -249,6 +252,7 @@ public:
void RemoveBodyPart(PedNode nodeId, int8 unknown);
void SpawnFlyingComponent(int, int8 unknown);
bool OurPedCanSeeThisOne(CEntity* who);
+ void Avoid(void);
static RwObject *SetPedAtomicVisibilityCB(RwObject *object, void *data);
static RwFrame *RecurseFrameChildrenVisibilityCB(RwFrame *frame, void *data);