From a04d8f24be355b69bbba88b50055f2b1420fc29f Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Mon, 8 Jul 2019 21:44:32 +0200 Subject: ComputeDopplerEffectedFrequency --- src/vehicles/Vehicle.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/vehicles') diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 3074bfb6..4668ba7a 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -320,3 +320,19 @@ inline uint8 GetVehDoorFlag(int32 carnode) { return 0; } } + +class cTransmission; + +class cVehicleParams +{ +public: + char m_bDistanceCalculated; + char gap_1[3]; + float m_fDistance; + CVehicle *m_pVehicle; + cTransmission *m_pTransmission; + int m_nIndex; + float m_fVelocityChange; +}; + +static_assert(sizeof(cVehicleParams) == 0x18, "CVehicle: error"); -- cgit v1.2.3