OpenTTD Source 20250312-master-gcdcc6b491d
|
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 828 of file strings.cpp.
UnitConversion Units::c |
Conversion.
Definition at line 829 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 831 of file strings.cpp.
StringID Units::s |
String for the unit.
Definition at line 830 of file strings.cpp.