Open Looky1173 opened 2 years ago
Curve radius in North America (when used) is expressed in feet. Typical units for curvature on freight systems is Degree of Curvature.
Using Test Source Build = 0.0.8264.42519 (2022-08-17 23:37:18Z)
Proposed modification is in line 1151 of HUDWindow.cs to display feet instead of meters when not in metric mode.
From:
TableSetCell(table, 14, "{0}", FormatStrings.FormatDistance(car.CurrentCurveRadius, car.IsMetric));
To:
TableSetCell(table, 14, "{0}", FormatStrings.FormatShortDistanceDisplay(car.CurrentCurveRadius, car.IsMetric));
Imported from https://bugs.launchpad.net/bugs/1987002
Curve radius in North America (when used) is expressed in feet. Typical units for curvature on freight systems is Degree of Curvature.
Using Test Source Build = 0.0.8264.42519 (2022-08-17 23:37:18Z)
Proposed modification is in line 1151 of HUDWindow.cs to display feet instead of meters when not in metric mode.
From:
TableSetCell(table, 14, "{0}", FormatStrings.FormatDistance(car.CurrentCurveRadius, car.IsMetric));
To:
TableSetCell(table, 14, "{0}", FormatStrings.FormatShortDistanceDisplay(car.CurrentCurveRadius, car.IsMetric));