mirror of
https://github.com/halpz/re3.git
synced 2025-07-17 21:38:12 +00:00
vehicles missing functions + fixes
This commit is contained in:
@ -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()); }
|
||||
|
Reference in New Issue
Block a user