summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-27 19:06:54 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-27 19:06:54 +0200
commitc94ccce6d666cbd18739e208c9882a65613f10f0 (patch)
tree81ce52912080dccb42a7ec55120053db76c82937 /src
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
downloadre3-c94ccce6d666cbd18739e208c9882a65613f10f0.tar
re3-c94ccce6d666cbd18739e208c9882a65613f10f0.tar.gz
re3-c94ccce6d666cbd18739e208c9882a65613f10f0.tar.bz2
re3-c94ccce6d666cbd18739e208c9882a65613f10f0.tar.lz
re3-c94ccce6d666cbd18739e208c9882a65613f10f0.tar.xz
re3-c94ccce6d666cbd18739e208c9882a65613f10f0.tar.zst
re3-c94ccce6d666cbd18739e208c9882a65613f10f0.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio/AudioManager.h25
-rw-r--r--src/peds/Ped.h9
-rw-r--r--src/vehicles/Vehicle.h15
3 files changed, 22 insertions, 27 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 {
/*
diff --git a/src/peds/Ped.h b/src/peds/Ped.h
index 2de30df6..46c6c82d 100644
--- a/src/peds/Ped.h
+++ b/src/peds/Ped.h
@@ -888,15 +888,6 @@ public:
#endif
};
-class cPedParams
-{
-public:
- bool m_bDistanceCalculated;
- char gap_1[3];
- float m_fDistance;
- CPed *m_pPed;
-};
-
void FinishFuckUCB(CAnimBlendAssociation *assoc, void *arg);
#ifndef PED_SKIN
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index f9ff1037..cb4ac2cf 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -291,19 +291,4 @@ static_assert(offsetof(CVehicle, m_pCurGroundEntity) == 0x1E0, "CVehicle: error"
static_assert(offsetof(CVehicle, m_nAlarmState) == 0x1A0, "CVehicle: error");
static_assert(offsetof(CVehicle, m_nLastWeaponDamage) == 0x228, "CVehicle: error");
-class cTransmission;
-
-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");
-
void DestroyVehicleAndDriverAndPassengers(CVehicle* pVehicle);