mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-14 21:10:33 +00:00
vehicle model descriptions; a bit of heli code
This commit is contained in:
parent
7919b92d28
commit
9e842f1628
10 changed files with 63 additions and 39 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "ModelIndices.h"
|
||||
#include "AnimManager.h"
|
||||
#include "Weapon.h"
|
||||
#include "HandlingMgr.h"
|
||||
|
||||
class CPed;
|
||||
class CFire;
|
||||
|
@ -294,6 +295,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_ZEBRA || GetModelIndex() == MI_KAUFMAN; }
|
||||
bool IsRealHeli(void) { return !!(pHandling->Flags & HANDLING_IS_HELI); }
|
||||
AnimationId GetDriverAnim(void) { return IsCar() && bLowVehicle ? ANIM_CAR_LSIT : (IsBoat() && GetModelIndex() != MI_SPEEDER ? ANIM_DRIVE_BOAT : ANIM_CAR_SIT); }
|
||||
|
||||
static bool bWheelsOnlyCheat;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue