re3/src/entities/Vehicle.cpp

14 lines
513 B
C++
Raw Normal View History

2019-06-02 15:13:56 +00:00
#include "common.h"
#include "patcher.h"
#include "Vehicle.h"
#include "Pools.h"
2019-06-16 22:16:38 +00:00
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;
2019-06-13 00:35:26 +00:00
2019-06-02 15:13:56 +00:00
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); }