Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Audio structs moved to their AudioManager.h
- Loading branch information
Showing
with
22 additions
and
27 deletions.
-
+22
−3
src/audio/AudioManager.h
-
+0
−9
src/peds/Ped.h
-
+0
−15
src/vehicles/Vehicle.h
There are no files selected for viewing
|
|
@@ -242,12 +242,31 @@ class cAudioScriptObjectManager |
|
|
}; |
|
|
|
|
|
|
|
|
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 { |
|
|
/* |
|
|
|
|
|
@@ -888,15 +888,6 @@ class CPed : public CPhysical |
|
|
#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 |
|
|
|
|
|
@@ -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); |