Home
last modified time | relevance | path

Searched refs:DoUpdateSpeed (Results 1 – 3 of 3) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dground_vehicle.hpp363 inline uint DoUpdateSpeed(uint accel, int min_speed, int max_speed) in DoUpdateSpeed() function
H A Droadveh_cmd.cpp728 return this->DoUpdateSpeed(this->overtaking != 0 ? 512 : 256, 0, this->GetCurrentMaxSpeed()); in UpdateSpeed()
731 …return this->DoUpdateSpeed(this->GetAcceleration() + (this->overtaking != 0 ? 256 : 0), this->GetA… in UpdateSpeed()
H A Dtrain_cmd.cpp2828 …return this->DoUpdateSpeed(this->acceleration * (this->GetAccelerationStatus() == AS_BRAKE ? -4 : … in UpdateSpeed()
2831 …return this->DoUpdateSpeed(this->GetAcceleration(), this->GetAccelerationStatus() == AS_BRAKE ? 0 … in UpdateSpeed()