summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-07 13:09:11 +0200
committeraap <aap@papnet.eu>2019-07-07 13:09:11 +0200
commit53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb (patch)
treefc65a6c40fa719f9d43be9e0e15be79c490135e0 /src/vehicles
parentfinished CPhysical (diff)
downloadre3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.gz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.bz2
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.lz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.xz
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.tar.zst
re3-53023eb65bdcde43e341c1ecb7cf0c7f8ee524fb.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Automobile.cpp (renamed from src/entities/Automobile.cpp)0
-rw-r--r--src/vehicles/Automobile.h (renamed from src/entities/Automobile.h)7
-rw-r--r--src/vehicles/Boat.cpp (renamed from src/entities/Boat.cpp)0
-rw-r--r--src/vehicles/Boat.h (renamed from src/entities/Boat.h)0
-rw-r--r--src/vehicles/DamageManager.cpp (renamed from src/DamageManager.cpp)0
-rw-r--r--src/vehicles/DamageManager.h (renamed from src/DamageManager.h)0
-rw-r--r--src/vehicles/HandlingMgr.cpp (renamed from src/control/HandlingMgr.cpp)0
-rw-r--r--src/vehicles/HandlingMgr.h (renamed from src/control/HandlingMgr.h)0
-rw-r--r--src/vehicles/Heli.cpp (renamed from src/entities/Heli.cpp)0
-rw-r--r--src/vehicles/Heli.h (renamed from src/entities/Heli.h)0
-rw-r--r--src/vehicles/Plane.cpp (renamed from src/entities/Plane.cpp)0
-rw-r--r--src/vehicles/Plane.h (renamed from src/entities/Plane.h)0
-rw-r--r--src/vehicles/Train.cpp (renamed from src/entities/Train.cpp)0
-rw-r--r--src/vehicles/Train.h (renamed from src/entities/Train.h)0
-rw-r--r--src/vehicles/Transmission.cpp (renamed from src/control/Transmission.cpp)0
-rw-r--r--src/vehicles/Transmission.h (renamed from src/control/Transmission.h)0
-rw-r--r--src/vehicles/Vehicle.cpp (renamed from src/entities/Vehicle.cpp)0
-rw-r--r--src/vehicles/Vehicle.h (renamed from src/entities/Vehicle.h)0
18 files changed, 3 insertions, 4 deletions
diff --git a/src/entities/Automobile.cpp b/src/vehicles/Automobile.cpp
index 54eed17a..54eed17a 100644
--- a/src/entities/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
diff --git a/src/entities/Automobile.h b/src/vehicles/Automobile.h
index b1463936..630635c7 100644
--- a/src/entities/Automobile.h
+++ b/src/vehicles/Automobile.h
@@ -25,8 +25,8 @@ public:
CDoor Doors[6];
RwFrame *m_aCarNodes[NUM_CAR_NODES];
CColPoint m_aWheelColPoints[4];
- float m_aWheelDist[4];
- float m_aWheelDistPrev[4];
+ float m_aSuspensionSpringRatio[4];
+ float m_aSuspensionSpringRatioPrev[4];
float m_aWheelSkidThing[4];
int field_49C;
bool m_aWheelSkidmarkMuddy[4];
@@ -37,7 +37,7 @@ public:
uint8 stuff3[12];
uint32 m_nBusDoorTimerEnd;
uint32 m_nBusDoorTimerStart;
- float m_aSuspensionRange[4];
+ float m_aSuspensionSpringLength[4];
float m_aSuspensionLineLength[4];
float m_fHeightAboveRoad;
float m_fImprovedHandling;
@@ -65,4 +65,3 @@ public:
void dtor() { this->CAutomobile::~CAutomobile(); }
};
static_assert(sizeof(CAutomobile) == 0x5A8, "CAutomobile: error");
-static_assert(offsetof(CAutomobile, m_aWheelDist) == 0x46C, "CAutomobile: error");
diff --git a/src/entities/Boat.cpp b/src/vehicles/Boat.cpp
index 076a910e..076a910e 100644
--- a/src/entities/Boat.cpp
+++ b/src/vehicles/Boat.cpp
diff --git a/src/entities/Boat.h b/src/vehicles/Boat.h
index 6d6482a4..6d6482a4 100644
--- a/src/entities/Boat.h
+++ b/src/vehicles/Boat.h
diff --git a/src/DamageManager.cpp b/src/vehicles/DamageManager.cpp
index 1a7f25ed..1a7f25ed 100644
--- a/src/DamageManager.cpp
+++ b/src/vehicles/DamageManager.cpp
diff --git a/src/DamageManager.h b/src/vehicles/DamageManager.h
index 1fdbc6b1..1fdbc6b1 100644
--- a/src/DamageManager.h
+++ b/src/vehicles/DamageManager.h
diff --git a/src/control/HandlingMgr.cpp b/src/vehicles/HandlingMgr.cpp
index 47d0564c..47d0564c 100644
--- a/src/control/HandlingMgr.cpp
+++ b/src/vehicles/HandlingMgr.cpp
diff --git a/src/control/HandlingMgr.h b/src/vehicles/HandlingMgr.h
index 958e2351..958e2351 100644
--- a/src/control/HandlingMgr.h
+++ b/src/vehicles/HandlingMgr.h
diff --git a/src/entities/Heli.cpp b/src/vehicles/Heli.cpp
index 01ee5375..01ee5375 100644
--- a/src/entities/Heli.cpp
+++ b/src/vehicles/Heli.cpp
diff --git a/src/entities/Heli.h b/src/vehicles/Heli.h
index da7bb171..da7bb171 100644
--- a/src/entities/Heli.h
+++ b/src/vehicles/Heli.h
diff --git a/src/entities/Plane.cpp b/src/vehicles/Plane.cpp
index 6e30bced..6e30bced 100644
--- a/src/entities/Plane.cpp
+++ b/src/vehicles/Plane.cpp
diff --git a/src/entities/Plane.h b/src/vehicles/Plane.h
index e26008f6..e26008f6 100644
--- a/src/entities/Plane.h
+++ b/src/vehicles/Plane.h
diff --git a/src/entities/Train.cpp b/src/vehicles/Train.cpp
index 62fd53ec..62fd53ec 100644
--- a/src/entities/Train.cpp
+++ b/src/vehicles/Train.cpp
diff --git a/src/entities/Train.h b/src/vehicles/Train.h
index 84b6faf5..84b6faf5 100644
--- a/src/entities/Train.h
+++ b/src/vehicles/Train.h
diff --git a/src/control/Transmission.cpp b/src/vehicles/Transmission.cpp
index 2be25cbb..2be25cbb 100644
--- a/src/control/Transmission.cpp
+++ b/src/vehicles/Transmission.cpp
diff --git a/src/control/Transmission.h b/src/vehicles/Transmission.h
index 686e0aca..686e0aca 100644
--- a/src/control/Transmission.h
+++ b/src/vehicles/Transmission.h
diff --git a/src/entities/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index dccd9195..dccd9195 100644
--- a/src/entities/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
diff --git a/src/entities/Vehicle.h b/src/vehicles/Vehicle.h
index 39a56fe0..39a56fe0 100644
--- a/src/entities/Vehicle.h
+++ b/src/vehicles/Vehicle.h