New updates for Hud.cpp and more.

This commit is contained in:
_AG
2019-06-15 01:34:19 +02:00
parent 8b55b8b144
commit 92cc1cf3af
28 changed files with 2062 additions and 38 deletions

View File

@@ -2,6 +2,7 @@
#include "Physical.h"
#include "Weapon.h"
#include "PathFind.h"
enum {
PED_MAX_WEAPONS = 13
@@ -163,13 +164,30 @@ public:
int32 m_nPedState;
int32 m_nLastPedState;
int32 m_nMoveState;
uint8 stuff2[188];
int32 m_nStoredActionState;
int32 m_nPrevActionState;
int32 m_nWaitState;
int32 m_nWaitTimer;
private:
uint32 stuff0[28];
public:
uint16 m_nPathNodes;
uint8 m_nCurPathNode;
int8 m_nPathState;
private:
int8 _pad2B5[3];
public:
CPathNode *m_pNextPathNode;
CPathNode *m_pLastPathNode;
Float m_fHealth;
Float m_fArmour;
uint8 stuff2[34];
CEntity *m_pCurrentPhysSurface;
CVector m_vecOffsetFromPhysSurface;
CEntity *m_pCurSurface;
uint8 stuff3[16];
CVehicle *m_pMyVehicle;
bool bInVehicle;
Bool bInVehicle;
uint8 stuff4[23];
int32 m_nPedType;
@@ -188,7 +206,7 @@ public:
bool UseGroundColModel(void);
void KillPedWithCar(CVehicle *veh, float impulse);
CWeapon *GetWeapon(void) { return &m_weapons[m_currentWeapon]; }
static Bool &bNastyLimbsCheat;
static Bool &bPedCheat2;
static Bool &bPedCheat3;