Added thrust to weight ratio.
Added thrust to weight ratio.

--- a/KerbalEngineer/Flight/Readouts/ReadoutLibrary.cs
+++ b/KerbalEngineer/Flight/Readouts/ReadoutLibrary.cs
@@ -76,6 +76,7 @@
             this.readoutModules.Add(new SpecificImpulse());

             this.readoutModules.Add(new Mass());

             this.readoutModules.Add(new Thrust());

+            this.readoutModules.Add(new ThrustToWeight());

 

             // Rendezvous

             this.readoutModules.Add(new TargetSelector());


--- /dev/null
+++ b/KerbalEngineer/Flight/Readouts/Vessel/ThrustToWeight.cs
@@ -1,1 +1,42 @@
-
+// Project:	KerbalEngineer

+// Author:	CYBUTEK

+// License:	Attribution-NonCommercial-ShareAlike 3.0 Unported

+

+#region Using Directives

+

+using KerbalEngineer.Simulation;

+

+#endregion

+

+namespace KerbalEngineer.Flight.Readouts.Vessel

+{

+    public class ThrustToWeight : ReadoutModule

+    {

+        private string actual = string.Empty;

+        private string total = string.Empty;

+

+        public ThrustToWeight()

+        {

+            this.Name = "Thrust to Weight Ratio";

+            this.Category = ReadoutCategory.Vessel;

+            this.HelpString = "Shows the vessel's actual and total thrust to weight ratio.";

+        }

+

+        public override void Update()

+        {

+            SimulationManager.Instance.RequestSimulation();

+        }

+

+        public override void Draw()

+        {

+            this.actual = (SimulationManager.Instance.LastStage.ActualThrust / (SimulationManager.Instance.LastStage.TotalMass * FlightGlobals.getGeeForceAtPosition(FlightGlobals.ship_position).magnitude)).ToString("F2");

+            this.total = (SimulationManager.Instance.LastStage.Thrust / (SimulationManager.Instance.LastStage.TotalMass * FlightGlobals.getGeeForceAtPosition(FlightGlobals.ship_position).magnitude)).ToString("F2");

+            this.DrawLine("TWR", this.actual + " / " + this.total);

+        }

+

+        public override void Reset()

+        {

+            FlightEngineerCore.Instance.AddUpdatable(SimulationManager.Instance);

+        }

+    }

+}

--- a/KerbalEngineer/KerbalEngineer.csproj
+++ b/KerbalEngineer/KerbalEngineer.csproj
@@ -97,6 +97,7 @@
     <Compile Include="Flight\Readouts\Vessel\Mass.cs" />

     <Compile Include="Flight\Readouts\Vessel\Thrust.cs" />

     <Compile Include="Flight\Readouts\Vessel\SpecificImpulse.cs" />

+    <Compile Include="Flight\Readouts\Vessel\ThrustToWeight.cs" />

     <Compile Include="Flight\Sections\SectionEditor.cs" />

     <Compile Include="Flight\Sections\SectionLibrary.cs" />

     <Compile Include="Flight\Sections\SectionModule.cs" />


 Binary files a/Output/KerbalEngineer/KerbalEngineer.dll and b/Output/KerbalEngineer/KerbalEngineer.dll differ