Merge pull request #916 from Sergeanur/VC/VarConsole

CVarConsole
This commit is contained in:
aap 2021-01-03 17:01:17 +01:00 committed by GitHub
commit 6579645934
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 1012 additions and 14 deletions

View file

@ -48,6 +48,9 @@ bool CVehicle::bAllTaxisHaveNitro;
bool CVehicle::m_bDisableMouseSteering = true;
bool CVehicle::bDisableRemoteDetonation;
bool CVehicle::bDisableRemoteDetonationOnContact;
#ifndef MASTER
bool CVehicle::m_bDisplayHandlingInfo;
#endif
void *CVehicle::operator new(size_t sz) { return CPools::GetVehiclePool()->New(); }
void *CVehicle::operator new(size_t sz, int handle) { return CPools::GetVehiclePool()->New(handle); }

View file

@ -402,6 +402,9 @@ public:
static bool m_bDisableMouseSteering;
static bool bDisableRemoteDetonation;
static bool bDisableRemoteDetonationOnContact;
#ifndef MASTER
static bool m_bDisplayHandlingInfo;
#endif
};
void DestroyVehicleAndDriverAndPassengers(CVehicle* pVehicle);