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)
1009
1009
1010
1010
if ( train . TrainWindResistanceDependent ) // Only show this information if wind resistance is selected
1011
1011
{
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 ) ) ) } ") ;
1013
1017
TableAddLine ( table ) ;
1014
1018
}
1015
-
1016
-
1017
1019
}
1018
1020
1019
1021
TableSetCells ( table , 0 ,
You can’t perform that action at this time.
0 commit comments