Searched refs:DoUpdateSpeed (Results 1 – 3 of 3) sorted by relevance
363 inline uint DoUpdateSpeed(uint accel, int min_speed, int max_speed) in DoUpdateSpeed() function
728 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()
2828 …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()