File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1009,11 +1009,13 @@ void TextPageForceInfo(TableData table)
10091009
10101010 if ( train . TrainWindResistanceDependent ) // Only show this information if wind resistance is selected
10111011 {
1012- TableAddLine ( table , $ "{ Viewer . Catalog . GetString ( "Wind Speed:" ) } { Me . ToMi ( pS . TopH ( train . PhysicsWindSpeedMpS ) ) : N2} mph { Viewer . Catalog . GetString ( "Wind Direction:" ) } { train . PhysicsWindDirectionDeg : N2} Deg { Viewer . Catalog . GetString ( "Train Direction:" ) } { train . PhysicsTrainLocoDirectionDeg : N2} Deg { Viewer . Catalog . GetString ( "ResWind:" ) } { train . ResultantWindComponentDeg : N2} Deg { Viewer . Catalog . GetString ( "ResSpeed:" ) } { Me . ToMi ( pS . TopH ( train . WindResultantSpeedMpS ) ) : N2} mph") ;
1012+ TableAddLine ( table , $ "{ Viewer . Catalog . GetString ( "Wind Speed:" ) } { Viewer . Catalog . GetStringFmt ( "{0:N2} mph" , Me . ToMi ( pS . TopH ( train . PhysicsWindSpeedMpS ) ) ) } " +
1013+ $ "{ Viewer . Catalog . GetString ( "Wind Direction:" ) } { Viewer . Catalog . GetStringFmt ( "{0:N2} Deg" , train . PhysicsWindDirectionDeg ) } " +
1014+ $ "{ Viewer . Catalog . GetString ( "Train Direction:" ) } { Viewer . Catalog . GetStringFmt ( "{0:N2} Deg" , train . PhysicsTrainLocoDirectionDeg ) } " +
1015+ $ "{ Viewer . Catalog . GetString ( "ResWind:" ) } { Viewer . Catalog . GetStringFmt ( "{0:N2} Deg" , train . ResultantWindComponentDeg ) } " +
1016+ $ "{ Viewer . Catalog . GetString ( "ResSpeed:" ) } { Viewer . Catalog . GetStringFmt ( "{0:N2} mph" , Me . ToMi ( pS . TopH ( train . WindResultantSpeedMpS ) ) ) } ") ;
10131017 TableAddLine ( table ) ;
10141018 }
1015-
1016-
10171019 }
10181020
10191021 TableSetCells ( table , 0 ,
You can’t perform that action at this time.
0 commit comments