mirror of
https://github.com/halpz/re3.git
synced 2025-07-22 10:39:47 +00:00
CPad done
This commit is contained in:
@ -3,6 +3,10 @@
|
||||
#include "Ped.h"
|
||||
#include "Pools.h"
|
||||
|
||||
Bool &CPed::bNastyLimbsCheat = *(Bool*)0x95CD44;
|
||||
Bool &CPed::bPedCheat2 = *(Bool*)0x95CD5A;
|
||||
Bool &CPed::bPedCheat3 = *(Bool*)0x95CD59;
|
||||
|
||||
void *CPed::operator new(size_t sz) { return CPools::GetPedPool()->New(); }
|
||||
void CPed::operator delete(void *p, size_t sz) { CPools::GetPedPool()->Delete((CPed*)p); }
|
||||
|
||||
|
@ -188,6 +188,10 @@ 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;
|
||||
};
|
||||
static_assert(offsetof(CPed, m_nPedState) == 0x224, "CPed: error");
|
||||
static_assert(offsetof(CPed, m_pCurSurface) == 0x2FC, "CPed: error");
|
||||
|
@ -3,5 +3,11 @@
|
||||
#include "Vehicle.h"
|
||||
#include "Pools.h"
|
||||
|
||||
Bool &CVehicle::bWheelsOnlyCheat = *(Bool *)0x95CD78;
|
||||
Bool &CVehicle::bAllDodosCheat = *(Bool *)0x95CD75;
|
||||
Bool &CVehicle::bCheat3 = *(Bool *)0x95CD66;
|
||||
Bool &CVehicle::bCheat4 = *(Bool *)0x95CD65;
|
||||
Bool &CVehicle::bCheat5 = *(Bool *)0x95CD64;
|
||||
|
||||
void *CVehicle::operator new(size_t sz) { return CPools::GetVehiclePool()->New(); }
|
||||
void CVehicle::operator delete(void *p, size_t sz) { CPools::GetVehiclePool()->Delete((CVehicle*)p); }
|
||||
|
@ -62,6 +62,12 @@ uint8 m_extra2;
|
||||
bool IsTrain(void) { return m_vehType == VEHICLE_TYPE_TRAIN; }
|
||||
bool IsHeli(void) { return m_vehType == VEHICLE_TYPE_HELI; }
|
||||
bool IsPlane(void) { return m_vehType == VEHICLE_TYPE_PLANE; }
|
||||
|
||||
static Bool &bWheelsOnlyCheat;
|
||||
static Bool &bAllDodosCheat;
|
||||
static Bool &bCheat3;
|
||||
static Bool &bCheat4;
|
||||
static Bool &bCheat5;
|
||||
};
|
||||
static_assert(sizeof(CVehicle) == 0x288, "CVehicle: error");
|
||||
static_assert(offsetof(CVehicle, m_pCurSurface) == 0x1E0, "CVehicle: error");
|
||||
|
Reference in New Issue
Block a user