diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-03-01 02:43:30 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-03-01 02:44:58 +0100 |
commit | ae523a09a7c12ff3c1fd9cb61e741cf09702b3fe (patch) | |
tree | af779a144813d519e312398ba77cfdbeb9260420 /src/vehicles/Vehicle.h | |
parent | Merge pull request #338 from erorcun/erorcun (diff) | |
download | re3-ae523a09a7c12ff3c1fd9cb61e741cf09702b3fe.tar re3-ae523a09a7c12ff3c1fd9cb61e741cf09702b3fe.tar.gz re3-ae523a09a7c12ff3c1fd9cb61e741cf09702b3fe.tar.bz2 re3-ae523a09a7c12ff3c1fd9cb61e741cf09702b3fe.tar.lz re3-ae523a09a7c12ff3c1fd9cb61e741cf09702b3fe.tar.xz re3-ae523a09a7c12ff3c1fd9cb61e741cf09702b3fe.tar.zst re3-ae523a09a7c12ff3c1fd9cb61e741cf09702b3fe.zip |
Diffstat (limited to 'src/vehicles/Vehicle.h')
-rw-r--r-- | src/vehicles/Vehicle.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 7e99258c..bd8df694 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -3,6 +3,7 @@ #include "Physical.h" #include "AutoPilot.h" #include "ModelIndices.h" +#include "AnimManager.h" class CPed; class CFire; @@ -269,7 +270,8 @@ 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; } - + AnimationId GetDriverAnim(void) { return IsCar() && bLowVehicle ? ANIM_CAR_LSIT : (IsBoat() && GetModelIndex() != MI_SPEEDER ? ANIM_DRIVE_BOAT : ANIM_CAR_SIT); } + static bool &bWheelsOnlyCheat; static bool &bAllDodosCheat; static bool &bCheat3; |