summaryrefslogtreecommitdiffstats
path: root/src/entities/Automobile.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-26 23:24:45 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-26 23:24:45 +0200
commit15da9beff10f44abaa4015920df412bb8cdc7d4a (patch)
treecc4203c9266b450e393c179c8d528f71c5957f01 /src/entities/Automobile.h
parentMerge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff)
parentMerge pull request #48 from Nick007J/master (diff)
downloadre3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.gz
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.bz2
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.lz
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.xz
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.zst
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.zip
Diffstat (limited to 'src/entities/Automobile.h')
-rw-r--r--src/entities/Automobile.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/entities/Automobile.h b/src/entities/Automobile.h
index 379124e6..7422112b 100644
--- a/src/entities/Automobile.h
+++ b/src/entities/Automobile.h
@@ -1,14 +1,26 @@
#pragma once
+#include "DamageManager.h"
+#include "Door.h"
+#include "RwHelper.h"
#include "Vehicle.h"
class CAutomobile : public CVehicle
{
public:
// 0x288
- uint8 stuff1[484];
+ CDamageManager m_DamageManager;
+ CDoor m_aDoors[6];
+ RwFrame *m_apModelNodes[20];
+ uint8 stuff1[160];
float m_afWheelSuspDist[4];
- uint8 stuff2[300];
+ uint8 stuff2[44];
+ float m_afWheelRotation[4];
+ uint8 stuff3[200];
+ float m_fCarGunLR;
+ uint8 stuff4[36];
+
+ void SetDoorDamage(int32, uint32, bool); /* TODO: eDoors */
};
static_assert(sizeof(CAutomobile) == 0x5A8, "CAutomobile: error");
static_assert(offsetof(CAutomobile, m_afWheelSuspDist) == 0x46C, "CAutomobile: error");