Searched refs:units_velocity (Results 1 – 4 of 4) sorted by relevance
756 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()
229 byte units_velocity; ///< unit system for velocity member
71 var = locale.units_velocity
2883 _settings_game.locale.units_velocity = Clamp(_old_units, 0, 2); in AfterLoadGame()