summaryrefslogtreecommitdiffstats
path: root/src/entities/Automobile.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-05-19 21:28:10 +0200
committeraap <aap@papnet.eu>2019-05-19 21:28:10 +0200
commitc4f9b9573f1535d3297946fbb5c73393594ffa24 (patch)
tree47acb1934d86d3ab220035258a2345f526c9b922 /src/entities/Automobile.h
parentmore work on CPhysical (diff)
downloadre3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.gz
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.bz2
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.lz
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.xz
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.tar.zst
re3-c4f9b9573f1535d3297946fbb5c73393594ffa24.zip
Diffstat (limited to 'src/entities/Automobile.h')
-rw-r--r--src/entities/Automobile.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/entities/Automobile.h b/src/entities/Automobile.h
new file mode 100644
index 00000000..06c0e742
--- /dev/null
+++ b/src/entities/Automobile.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "Vehicle.h"
+
+class CAutomobile : public CVehicle
+{
+public:
+ // 0x228
+ uint8 stuff1[484];
+ float m_afWheelSuspDist[4];
+ uint8 stuff2[300];
+};
+static_assert(sizeof(CAutomobile) == 0x5A8, "CAutomobile: error");
+static_assert(offsetof(CAutomobile, m_afWheelSuspDist) == 0x46C, "CAutomobile: error");