summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Transmission.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehicles/Transmission.h')
-rw-r--r--src/vehicles/Transmission.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vehicles/Transmission.h b/src/vehicles/Transmission.h
index 686e0aca..8eeef1e8 100644
--- a/src/vehicles/Transmission.h
+++ b/src/vehicles/Transmission.h
@@ -20,7 +20,9 @@ public:
float fMaxVelocity;
float fUnkMaxVelocity;
float fMaxReverseVelocity;
- float field_5C;
+ float fCurVelocity;
void InitGearRatios(void);
+ void CalculateGearForSimpleCar(float speed, uint8 &gear);
+ float CalculateDriveAcceleration(const float &gasPedal, uint8 &gear, float &time, const float &velocity, bool cheat);
};