some not fully tested stuff

This commit is contained in:
Nikolay Korolev
2020-01-01 02:35:54 +03:00
parent 5ef291ddf2
commit 80453d3f4d
15 changed files with 920 additions and 42 deletions

View File

@ -2,6 +2,7 @@
#include "Physical.h"
#include "AutoPilot.h"
#include "ModelIndices.h"
class CPed;
class CFire;
@ -267,6 +268,7 @@ public:
bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; }
CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); }
bool IsTaxi(void) { return GetModelIndex() == MI_TAXI || GetModelIndex() == MI_CABBIE || GetModelIndex() == MI_BORGNINE; }
static bool &bWheelsOnlyCheat;
static bool &bAllDodosCheat;