mirror of
https://github.com/halpz/re3.git
synced 2025-06-29 11:36:25 +00:00
Merge branch 'master' into garages_dev
This commit is contained in:
@ -4483,6 +4483,8 @@ CAutomobile::SetAllTaxiLights(bool set)
|
||||
m_sAllTaxiLights = set;
|
||||
}
|
||||
|
||||
#include <new>
|
||||
|
||||
class CAutomobile_ : public CAutomobile
|
||||
{
|
||||
public:
|
||||
|
@ -299,6 +299,8 @@ CBoat::FillBoatList()
|
||||
}
|
||||
}
|
||||
|
||||
#include <new>
|
||||
|
||||
class CBoat_ : public CBoat
|
||||
{
|
||||
public:
|
||||
|
@ -1034,6 +1034,7 @@ bool CHeli::HasCatalinaBeenShotDown(void) { return CatalinaHasBeenShotDown; }
|
||||
|
||||
void CHeli::ActivateHeli(bool activate) { ScriptHeliOn = activate; }
|
||||
|
||||
#include <new>
|
||||
|
||||
class CHeli_ : public CHeli
|
||||
{
|
||||
|
@ -964,6 +964,7 @@ bool CPlane::HasCesnaLanded(void) { return CesnaMissionStatus == CESNA_STATUS_LA
|
||||
bool CPlane::HasCesnaBeenDestroyed(void) { return CesnaMissionStatus == CESNA_STATUS_DESTROYED; }
|
||||
bool CPlane::HasDropOffCesnaBeenShotDown(void) { return DropOffCesnaMissionStatus == CESNA_STATUS_DESTROYED; }
|
||||
|
||||
#include <new>
|
||||
|
||||
class CPlane_ : public CPlane
|
||||
{
|
||||
|
@ -691,6 +691,8 @@ CTrain::UpdateTrains(void)
|
||||
}
|
||||
}
|
||||
|
||||
#include <new>
|
||||
|
||||
class CTrain_ : public CTrain
|
||||
{
|
||||
public:
|
||||
|
@ -33,6 +33,7 @@ void CVehicle::operator delete(void *p, int handle) { CPools::GetVehiclePool()->
|
||||
WRAPPER bool CVehicle::ShufflePassengersToMakeSpace(void) { EAXJMP(0x5528A0); }
|
||||
// or Weapon.cpp?
|
||||
WRAPPER void FireOneInstantHitRound(CVector *shotSource, CVector *shotTarget, int32 damage) { EAXJMP(0x563B00); }
|
||||
WRAPPER void CVehicle::InflictDamage(CEntity *damagedBy, uint32 weaponType, float damage) { EAXJMP(0x551950); }
|
||||
|
||||
CVehicle::CVehicle(uint8 CreatedBy)
|
||||
{
|
||||
|
@ -266,6 +266,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);
|
||||
|
||||
bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; }
|
||||
CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); }
|
||||
|
Reference in New Issue
Block a user