OpenTTD Source 20241224-master-gf74b0cf984
|
Information about a specific unit system. More...
Data Fields | |
UnitConversion | c |
Conversion. | |
StringID | s |
String for the unit. | |
unsigned int | decimal_places |
Number of decimal places embedded in the value. For example, 1 if the value is in tenths, and 3 if the value is in thousandths. | |
Information about a specific unit system.
Definition at line 757 of file strings.cpp.
UnitConversion Units::c |
Conversion.
Definition at line 758 of file strings.cpp.
Referenced by ConvertDisplaySpeedToKmhishSpeed(), ConvertDisplaySpeedToSpeed(), ConvertKmhishSpeedToDisplaySpeed(), and ConvertSpeedToDisplaySpeed().
unsigned int Units::decimal_places |
Number of decimal places embedded in the value. For example, 1 if the value is in tenths, and 3 if the value is in thousandths.
Definition at line 760 of file strings.cpp.
StringID Units::s |
String for the unit.
Definition at line 759 of file strings.cpp.