File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed
Orts.Simulation/Simulation/RollingStocks Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -3473,11 +3473,11 @@ public LatLonDirection GetLatLonDirection()
34733473
34743474 return new LatLonDirection ( latLon , directionDeg ) ; ;
34753475 }
3476-
3476+
34773477 public int GetWagonNumAxles ( ) { return WagonNumAxles ; }
34783478
34793479 public float GetGravitationalAccelerationMpS2 ( ) { return GravitationalAccelerationMpS2 ; }
3480-
3480+
34813481 /// <summary>
34823482 /// Update the gravity force and % gradient of this train car at the current position
34833483 /// </summary>
Original file line number Diff line number Diff line change 539539 </Content >
540540 <Content Include =" Content\TrainInfoSprites.png" >
541541 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
542- </Content > <Content Include =" Content\TrainOperationsCoupler.png" >
542+ </Content >
543+ <Content Include =" Content\TrainOperationsCoupler.png" >
543544 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
544545 </Content >
545546 <Content Include =" Content\TrainOperations\TrainOperationsMap.png" >
Original file line number Diff line number Diff line change 2020using System ;
2121using System . Collections . Generic ;
2222using System . IO ;
23- using System . Diagnostics ;
2423using System . Linq ;
2524using System . Windows . Forms ;
26- using LibGit2Sharp ;
2725using Microsoft . Xna . Framework ;
2826using Microsoft . Xna . Framework . Graphics ;
2927using Orts . Simulation ;
3230using ORTS . Common ;
3331using ORTS . Common . Input ;
3432using ORTS . Settings ;
35- using static System . Windows . Forms . VisualStyles . VisualStyleElement ;
36- using Orts . Formats . Msts ;
37- using SharpFont ;
38- using static Orts . Viewer3D . WebServices . TrainCarOperationsWebpage . OperationsSend ;
39- using SharpDX . Direct3D9 ;
4033using Orts . Simulation . RollingStocks . SubSystems . Brakes . MSTS ;
4134
4235namespace Orts . Viewer3D . Popups
@@ -74,8 +67,6 @@ public class HelpWindow : Window
7467 private Train LastPlayerTrain = null ;
7568 private int LastPlayerTrainCarCount = 0 ;
7669 private static Texture2D TrainInfoSpriteSheet = null ;
77- //private struct CarInfo { public float MassKg; public bool IsEngine; }
78- //private CarInfo[] CarMass = null; // TODO: Does not need to persist beyond method. Use List<T>(size) instead.
7970 private class CarInfo { public readonly float MassKg ; public readonly bool IsEngine ; public CarInfo ( float mass , bool isEng ) { MassKg = mass ; IsEngine = isEng ; } }
8071
8172 List < TabData > Tabs = new List < TabData > ( ) ;
You can’t perform that action at this time.
0 commit comments