mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 11:30:34 +00:00
vehicles missing functions + fixes
This commit is contained in:
parent
e34631adce
commit
347f0a0e9c
6 changed files with 207 additions and 28 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "AutoPilot.h"
|
||||
#include "ModelIndices.h"
|
||||
#include "AnimManager.h"
|
||||
#include "Weapon.h"
|
||||
|
||||
class CPed;
|
||||
class CFire;
|
||||
|
@ -266,7 +267,7 @@ public:
|
|||
void ProcessCarAlarm(void);
|
||||
bool IsSphereTouchingVehicle(float sx, float sy, float sz, float radius);
|
||||
bool ShufflePassengersToMakeSpace(void);
|
||||
void InflictDamage(CEntity *damagedBy, uint32 weaponType, float damage);
|
||||
void InflictDamage(CEntity *damagedBy, eWeaponType weaponType, float damage);
|
||||
|
||||
bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; }
|
||||
CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue