From 0f1fbf5e9a7477c6fbb7645491598e87ed2e183e Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 17 Jul 2019 13:19:20 +0200 Subject: renamed some variables and added files; more CAutomobile::ProcessControl --- src/vehicles/Transmission.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vehicles/Transmission.h') diff --git a/src/vehicles/Transmission.h b/src/vehicles/Transmission.h index 686e0aca..ea67b62c 100644 --- a/src/vehicles/Transmission.h +++ b/src/vehicles/Transmission.h @@ -20,7 +20,8 @@ public: float fMaxVelocity; float fUnkMaxVelocity; float fMaxReverseVelocity; - float field_5C; + float fCurVelocity; void InitGearRatios(void); + void CalculateGearForSimpleCar(float speed, uint8 &gear); }; -- cgit v1.2.3 From ba242bcf584d885167a9499e53f5bcaf6c9cc866 Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 17 Jul 2019 23:58:06 +0200 Subject: more CAutomobile::ProcessControl --- src/vehicles/Transmission.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vehicles/Transmission.h') diff --git a/src/vehicles/Transmission.h b/src/vehicles/Transmission.h index ea67b62c..8eeef1e8 100644 --- a/src/vehicles/Transmission.h +++ b/src/vehicles/Transmission.h @@ -24,4 +24,5 @@ public: void InitGearRatios(void); void CalculateGearForSimpleCar(float speed, uint8 &gear); + float CalculateDriveAcceleration(const float &gasPedal, uint8 &gear, float &time, const float &velocity, bool cheat); }; -- cgit v1.2.3