diff options
Diffstat (limited to '')
-rw-r--r-- | src/audio/AudioManager.h | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index 72d8ba41..9479d1cd 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -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 { /* |