diff options
author | aap <aap@papnet.eu> | 2019-07-16 19:48:50 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-16 19:48:50 +0200 |
commit | 36f3a517f9664415b07a4aa537db22159b67a8f2 (patch) | |
tree | 967839bbeee586f4f74cbfd630ed9118ad9d84f2 /src/vehicles/Automobile.h | |
parent | fixed merge (diff) | |
download | re3-36f3a517f9664415b07a4aa537db22159b67a8f2.tar re3-36f3a517f9664415b07a4aa537db22159b67a8f2.tar.gz re3-36f3a517f9664415b07a4aa537db22159b67a8f2.tar.bz2 re3-36f3a517f9664415b07a4aa537db22159b67a8f2.tar.lz re3-36f3a517f9664415b07a4aa537db22159b67a8f2.tar.xz re3-36f3a517f9664415b07a4aa537db22159b67a8f2.tar.zst re3-36f3a517f9664415b07a4aa537db22159b67a8f2.zip |
Diffstat (limited to 'src/vehicles/Automobile.h')
-rw-r--r-- | src/vehicles/Automobile.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/vehicles/Automobile.h b/src/vehicles/Automobile.h index 60e08d0a..31042415 100644 --- a/src/vehicles/Automobile.h +++ b/src/vehicles/Automobile.h @@ -6,6 +6,12 @@ class CObject; +// Wheels are in order: +// FRONT LEFT +// REAR LEFT +// FRONT RIGHT +// REAR RIGHT + class CAutomobile : public CVehicle { public: @@ -24,13 +30,15 @@ public: float m_aWheelPosition[4]; float m_aWheelSpeed[4]; uint8 field_4D8; - uint8 m_auto_flagA7 : 1; + uint8 m_bombType : 3; uint8 bTaxiLight : 1; - uint8 m_auto_flagA10 : 1; + uint8 bHadDriver : 1; // for bombs uint8 m_auto_flagA20 : 1; uint8 m_auto_flagA40 : 1; uint8 m_auto_flagA80 : 1; - uint8 field_4DA[10]; + uint8 field_4DA[2]; + CEntity *field_4DC; // blow up entity + uint8 field_4E0[4]; uint32 m_nBusDoorTimerEnd; uint32 m_nBusDoorTimerStart; float m_aSuspensionSpringLength[4]; @@ -41,7 +49,7 @@ public: float field_530; CPhysical *m_aGroundPhysical[4]; // physicals touching wheels CVector m_aGroundOffset[4]; // from ground object to colpoint - CEntity *m_pBlowUpEntity; + CEntity *m_pSetOnFireEntity; float m_weaponThingA; // TODO float m_weaponThingB; // TODO float m_fCarGunLR; @@ -87,6 +95,7 @@ public: float GetHeightAboveRoad(void); void PlayCarHorn(void); + void ProcessBuoyancy(void); void PlayHornIfNecessary(void); void ResetSuspension(void); void SetupSuspensionLines(void); |