Home
last modified time | relevance | path

Searched refs:units_velocity (Results 1 – 4 of 4) sorted by relevance

/dports/games/openttd/openttd-12.1/src/
H A Dstrings.cpp756 return _units_velocity[_settings_game.locale.units_velocity].c.ToDisplay(speed, false); in ConvertSpeedToDisplaySpeed()
766 return _units_velocity[_settings_game.locale.units_velocity].c.FromDisplay(speed); in ConvertDisplaySpeedToSpeed()
776 return _units_velocity[_settings_game.locale.units_velocity].c.ToDisplay(speed * 10, false) / 16; in ConvertKmhishSpeedToDisplaySpeed()
786 return _units_velocity[_settings_game.locale.units_velocity].c.FromDisplay(speed * 16, true, 10); in ConvertDisplaySpeedToKmhishSpeed()
1256 assert(_settings_game.locale.units_velocity < lengthof(_units_velocity)); in FormatString()
1257 …unsigned int decimal_places = _units_velocity[_settings_game.locale.units_velocity].decimal_places; in FormatString()
1260 …buff = FormatString(buff, GetStringPtr(_units_velocity[_settings_game.locale.units_velocity].s), &… in FormatString()
H A Dsettings_type.h229 byte units_velocity; ///< unit system for velocity member
/dports/games/openttd/openttd-12.1/src/table/settings/
H A Dlocale_settings.ini71 var = locale.units_velocity
/dports/games/openttd/openttd-12.1/src/saveload/
H A Dafterload.cpp2883 _settings_game.locale.units_velocity = Clamp(_old_units, 0, 2); in AfterLoadGame()