mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-17 05:39:00 +00:00
27 lines
415 B
C
27 lines
415 B
C
|
#pragma once
|
||
|
|
||
|
struct tGear
|
||
|
{
|
||
|
float fMaxVelocity;
|
||
|
float fShiftUpVelocity;
|
||
|
float fShiftDownVelocity;
|
||
|
};
|
||
|
|
||
|
class cTransmission
|
||
|
{
|
||
|
public:
|
||
|
// Gear 0 is reverse, 1-5 are forward
|
||
|
tGear Gears[6];
|
||
|
char nDriveType;
|
||
|
char nEngineType;
|
||
|
int8 nNumberOfGears;
|
||
|
uint8 Flags;
|
||
|
float fEngineAcceleration;
|
||
|
float fMaxVelocity;
|
||
|
float fUnkMaxVelocity;
|
||
|
float fMaxReverseVelocity;
|
||
|
float field_5C;
|
||
|
|
||
|
void InitGearRatios(void);
|
||
|
};
|