summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.h
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-07-08 21:44:32 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-07-19 16:22:46 +0200
commita04d8f24be355b69bbba88b50055f2b1420fc29f (patch)
tree9bf1455e1cbb4f403dcf9ee9a4c16b52d610a108 /src/vehicles/Vehicle.h
parentfixed dodo bug (diff)
downloadre3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.gz
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.bz2
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.lz
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.xz
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.tar.zst
re3-a04d8f24be355b69bbba88b50055f2b1420fc29f.zip
Diffstat (limited to 'src/vehicles/Vehicle.h')
-rw-r--r--src/vehicles/Vehicle.h16
1 files changed, 16 insertions, 0 deletions
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");