cleanup processVehicleEngine and some fixes

This commit is contained in:
Roman Masanin
2020-09-21 02:49:35 +03:00
parent 5b9e4c4780
commit 0f119ed371
2 changed files with 57 additions and 210 deletions

View File

@@ -360,7 +360,7 @@ public:
void ProcessVehicle(CVehicle *vehicle);
bool ProcessVehicleDoors(cVehicleParams *params);
void ProcessVehicleEngine(cVehicleParams *params);
void UpdateGasPedalAudio(float* gasPedalAudio, float vehGasPedal);
void UpdateGasPedalAudio(CVehicle* veh, eVehicleType vehType);
void ProcessVehicleHorn(cVehicleParams *params);
void ProcessVehicleOneShots(cVehicleParams *params);
bool ProcessVehicleReverseWarning(cVehicleParams *params);
@@ -371,8 +371,6 @@ public:
void ProcessWeather(int32 id);
bool ProcessWetRoadNoise(cVehicleParams *params);
void ProcessVehicleEngine1(cVehicleParams* params);
int32 RandomDisplacement(uint32 seed) const;
void ReacquireDigitalHandle() const;
void ReleaseDigitalHandle() const;