diff options
author | aap <aap@papnet.eu> | 2019-07-10 11:05:49 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-10 11:05:49 +0200 |
commit | 1aeb34f547e0be994b7c5979e68049b6d9f35d9d (patch) | |
tree | 01900e662b69b712263bea94a7292269af95ba7c /src/vehicles/Vehicle.h | |
parent | more CVehicle (diff) | |
download | re3-1aeb34f547e0be994b7c5979e68049b6d9f35d9d.tar re3-1aeb34f547e0be994b7c5979e68049b6d9f35d9d.tar.gz re3-1aeb34f547e0be994b7c5979e68049b6d9f35d9d.tar.bz2 re3-1aeb34f547e0be994b7c5979e68049b6d9f35d9d.tar.lz re3-1aeb34f547e0be994b7c5979e68049b6d9f35d9d.tar.xz re3-1aeb34f547e0be994b7c5979e68049b6d9f35d9d.tar.zst re3-1aeb34f547e0be994b7c5979e68049b6d9f35d9d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Vehicle.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h index 76ea76cb..c293b8a6 100644 --- a/src/vehicles/Vehicle.h +++ b/src/vehicles/Vehicle.h @@ -106,8 +106,10 @@ enum enum tWheelState { + WHEEL_STATE_0 = 0, WHEEL_STATE_1 = 1, // constant velocity - WHEEL_STATE_3 = 3, // not moving + WHEEL_STATE_2 = 2, // normal + WHEEL_STATE_STATIC = 3, // not moving }; enum eFlightModel @@ -249,6 +251,8 @@ public: bool IsPlane(void) { return m_vehType == VEHICLE_TYPE_PLANE; } void FlyingControl(eFlightModel flightModel); + void ProcessWheel(CVector &wheelFwd, CVector &wheelRight, CVector &wheelContactSpeed, CVector &wheelContactPoint, + int32 wheelsOnGround, float thrust, float brake, float adhesion, int8 wheelId, float *wheelSpeed, tWheelState *wheelState, uint16 wheelStatus); void ExtinguishCarFire(void); void ProcessDelayedExplosion(void); float ProcessWheelRotation(tWheelState state, const CVector &fwd, const CVector &speed, float radius); |