summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-27 20:56:53 +0200
committeraap <aap@papnet.eu>2020-04-27 20:56:53 +0200
commit1180cc2947c27ce88c16c01acdc74eb9a9008a64 (patch)
treef9241cdde8df5325dd0aea5bf071d81a2e274349 /src/audio/AudioManager.h
parentlittle support for gl3 textures; txd.img enabled again (diff)
parentFix tVehicleSampleData struct (diff)
downloadre3-1180cc2947c27ce88c16c01acdc74eb9a9008a64.tar
re3-1180cc2947c27ce88c16c01acdc74eb9a9008a64.tar.gz
re3-1180cc2947c27ce88c16c01acdc74eb9a9008a64.tar.bz2
re3-1180cc2947c27ce88c16c01acdc74eb9a9008a64.tar.lz
re3-1180cc2947c27ce88c16c01acdc74eb9a9008a64.tar.xz
re3-1180cc2947c27ce88c16c01acdc74eb9a9008a64.tar.zst
re3-1180cc2947c27ce88c16c01acdc74eb9a9008a64.zip
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 {
/*