summaryrefslogtreecommitdiffstats
path: root/src/peds/PlayerPed.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-08-02 00:04:30 +0200
committereray orçunus <erayorcunus@gmail.com>2019-08-02 00:30:40 +0200
commit875cdd845db1255329c77c458df993f1b490e8e8 (patch)
tree73434501fcd8b2167daf88c83c5a1e0f40671780 /src/peds/PlayerPed.h
parentimplemented CPlane (diff)
downloadre3-875cdd845db1255329c77c458df993f1b490e8e8.tar
re3-875cdd845db1255329c77c458df993f1b490e8e8.tar.gz
re3-875cdd845db1255329c77c458df993f1b490e8e8.tar.bz2
re3-875cdd845db1255329c77c458df993f1b490e8e8.tar.lz
re3-875cdd845db1255329c77c458df993f1b490e8e8.tar.xz
re3-875cdd845db1255329c77c458df993f1b490e8e8.tar.zst
re3-875cdd845db1255329c77c458df993f1b490e8e8.zip
Diffstat (limited to '')
-rw-r--r--src/peds/PlayerPed.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/peds/PlayerPed.h b/src/peds/PlayerPed.h
index fa6d9d43..ecef9bef 100644
--- a/src/peds/PlayerPed.h
+++ b/src/peds/PlayerPed.h
@@ -12,14 +12,14 @@ public:
float m_fCurrentStamina;
float m_fMaxStamina;
float m_fStaminaProgress;
- bool m_bWeaponSlot;
+ uint8 m_nSelectedWepSlot;
bool m_bSpeedTimerFlag;
bool m_bShouldEvade;
int8 field_1367;
int32 m_nSpeedTimer;
int32 m_nShotDelay;
- float field_1376;
- int8 field_1380; // set if can't attack, why?
+ float field_1376; // m_fAttackButtonCounter?
+ int8 field_1380; // bHaveTargetSelected?
int8 field_1381;
int8 field_1382;
int8 field_1383;
@@ -34,19 +34,24 @@ public:
int8 field_1413;
int8 field_1414;
int8 field_1415;
- CVector field_1416[6];
- int32 field_1488[6];
+ CVector m_vecSafePos[6]; // safe places from the player, for example behind a tree
+ int32 field_1488[6]; // m_pPedAtSafePos?
float m_fWalkAngle;
float m_fFPSMoveHeading;
+ CPlayerPed();
~CPlayerPed();
void ReApplyMoveAnims(void);
- void ClearWeaponTarget();
+ void ClearWeaponTarget(void);
void SetWantedLevel(int32 level);
void SetWantedLevelNoDrop(int32 level);
void KeepAreaAroundPlayerClear(void);
void AnnoyPlayerPed(bool);
+ void MakeChangesForNewWeapon(int8);
+ void SetInitialState(void);
+ void SetMoveAnim(void);
+ void ProcessControl(void);
static void SetupPlayerPed(int32);
static void DeactivatePlayerPed(int32);