diff options
author | aap <aap@papnet.eu> | 2020-06-04 17:38:41 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-04 17:38:41 +0200 |
commit | 3e36428568d1b26306a9639ed04aa49b578ac74e (patch) | |
tree | 8faf914355af8f1507e5a90426a16338fa55b5e4 /src/vehicles/Bike.h | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.gz re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.bz2 re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.lz re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.xz re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.zst re3-3e36428568d1b26306a9639ed04aa49b578ac74e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Bike.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/vehicles/Bike.h b/src/vehicles/Bike.h index c524a89c..6c8db44a 100644 --- a/src/vehicles/Bike.h +++ b/src/vehicles/Bike.h @@ -21,10 +21,10 @@ enum { }; enum { - BIKESUSP_FRONT_1, - BIKESUSP_FRONT_2, - BIKESUSP_REAR_1, - BIKESUSP_REAR_2, + BIKESUSP_F1, + BIKESUSP_F2, + BIKESUSP_R1, + BIKESUSP_R2, }; class CBike : public CVehicle @@ -33,8 +33,8 @@ public: RwFrame *m_aBikeNodes[BIKE_NUM_NODES]; bool bLeanMatrixClean; CMatrix m_leanMatrix; - CVector wheelieNormal; - CVector wheelieRight; + CVector m_vecAvgSurfaceNormal; + CVector m_vecAvgSurfaceRight; tBikeHandlingData *pBikeHandling; AssocGroupId m_bikeAnimType; uint8 m_wheelStatus[2]; @@ -58,7 +58,7 @@ public: float m_fFrontForkY; float m_fFrontForkZ; float m_fFrontForkSlope; - float m_fBikeSteerAngle; + float m_fWheelAngle; float m_fLeanLRAngle; float m_fLeanLRAngle2; float m_fLeanInput; @@ -68,9 +68,9 @@ public: uint8 unused[3]; // looks like padding..but for what? uint8 m_bike_flag01 : 1; uint8 m_bike_flag02 : 1; - uint8 m_bike_flag04 : 1; + uint8 bWaterTight : 1; uint8 m_bike_flag08 : 1; - uint8 m_bike_flag10 : 1; + uint8 bIsStanding : 1; uint8 m_bike_flag20 : 1; uint8 m_bike_flag40 : 1; uint8 m_bike_flag80 : 1; @@ -117,6 +117,9 @@ public: float GetHeightAboveRoad(void); void PlayCarHorn(void); + void VehicleDamage(void); + void ProcessBuoyancy(void); + void DoDriveByShootings(void); void PlayHornIfNecessary(void); void ResetSuspension(void); void SetupSuspensionLines(void); |