diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-25 00:42:23 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-25 00:42:23 +0200 |
commit | cc731f47324cf58c899b242e34d661b651d3acef (patch) | |
tree | a096e4563ff09b208ff4697635baab2ec85395b4 /src/entities/Automobile.h | |
parent | CReplay::StorePedAnimation (diff) | |
download | re3-cc731f47324cf58c899b242e34d661b651d3acef.tar re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.gz re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.bz2 re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.lz re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.xz re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.zst re3-cc731f47324cf58c899b242e34d661b651d3acef.zip |
Diffstat (limited to '')
-rw-r--r-- | src/entities/Automobile.h | 16 |
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"); |