summaryrefslogtreecommitdiff
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-27 20:06:54 +0300
committerSergeanur <s.anureev@yandex.ua>2020-04-27 20:06:54 +0300
commitc94ccce6d666cbd18739e208c9882a65613f10f0 (patch)
tree81ce52912080dccb42a7ec55120053db76c82937 /src/audio/AudioManager.h
parentd397a59951a22336d5b61997449ab74d263c06b8 (diff)
Audio structs moved to their AudioManager.h
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r--src/audio/AudioManager.h25
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 {
/*