Audio structs moved to their AudioManager.h

This commit is contained in:
Sergeanur 2020-04-27 20:06:54 +03:00
parent d397a59951
commit c94ccce6d6
3 changed files with 22 additions and 27 deletions

View File

@ -242,12 +242,31 @@ public:
};
class cVehicleParams;
class cTransmission;
class CPlane;
class CVehicle;
class CPed;
class cPedParams;
class cTransmission;
class cPedParams
{
public:
bool m_bDistanceCalculated;
float m_fDistance;
CPed *m_pPed;
};
class cVehicleParams
{
public:
bool m_bDistanceCalculated;
float m_fDistance;
CVehicle *m_pVehicle;
cTransmission *m_pTransmission;
int m_nIndex;
float m_fVelocityChange;
};
static_assert(sizeof(cVehicleParams) == 0x18, "cVehicleParams: error");
enum {
/*

View File

@ -888,15 +888,6 @@ public:
#endif
};
class cPedParams
{
public:
bool m_bDistanceCalculated;
char gap_1[3];
float m_fDistance;
CPed *m_pPed;
};
void FinishFuckUCB(CAnimBlendAssociation *assoc, void *arg);
#ifndef PED_SKIN

View File

@ -291,19 +291,4 @@ static_assert(offsetof(CVehicle, m_pCurGroundEntity) == 0x1E0, "CVehicle: error"
static_assert(offsetof(CVehicle, m_nAlarmState) == 0x1A0, "CVehicle: error");
static_assert(offsetof(CVehicle, m_nLastWeaponDamage) == 0x228, "CVehicle: error");
class cTransmission;
class cVehicleParams
{
public:
bool m_bDistanceCalculated;
float m_fDistance;
CVehicle *m_pVehicle;
cTransmission *m_pTransmission;
int m_nIndex;
float m_fVelocityChange;
};
static_assert(sizeof(cVehicleParams) == 0x18, "cVehicleParams: error");
void DestroyVehicleAndDriverAndPassengers(CVehicle* pVehicle);