public override void Draw(Unity.Flight.ISectionModule section) { if (SimulationProcessor.ShowDetails) { this.DrawLine(Units.ToAcceleration(SimulationProcessor.LastStage.actualThrust / SimulationProcessor.LastStage.totalMass, SimulationProcessor.LastStage.thrust / SimulationProcessor.LastStage.totalMass), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { switch (ScienceUtil.GetExperimentSituation(FlightGlobals.ActiveVessel)) { case ExperimentSituations.SrfLanded: this.DrawLine("Landed", section.IsHud); break; case ExperimentSituations.SrfSplashed: this.DrawLine("Splashed", section.IsHud); break; case ExperimentSituations.FlyingLow: this.DrawLine("Flying Low", section.IsHud); break; case ExperimentSituations.FlyingHigh: this.DrawLine("Flying High", section.IsHud); break; case ExperimentSituations.InSpaceLow: this.DrawLine("In Space Low", section.IsHud); break; case ExperimentSituations.InSpaceHigh: this.DrawLine("In Space High", section.IsHud); break; } }
public override void Draw(Unity.Flight.ISectionModule section) { if (AtmosphericProcessor.ShowDetails) { this.DrawLine(AtmosphericProcessor.TerminalVelocity.ToSpeed(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (RendezvousProcessor.ShowDetails) { this.DrawLine(RendezvousProcessor.RelativeInclination.ToAngle(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (RendezvousProcessor.ShowDetails) { this.DrawLine(TimeFormatter.ConvertToString(RendezvousProcessor.OrbitalPeriod, "F3"), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (SimulationProcessor.ShowDetails) { this.DrawLine(SimulationProcessor.LastStage.RCSdeltaVStart.ToString("N0") + "m/s (" + TimeFormatter.ConvertToString(SimulationProcessor.LastStage.RCSBurnTime) + ")", section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (AtmosphericProcessor.ShowDetails) { DrawLine(AtmosphericProcessor.DynamicPressure.ToPressure(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { var T = FlightGlobals.currentMainBody.rotationPeriod; var geo = System.Math.Pow(T * T * FlightGlobals.currentMainBody.gravParameter / (4 * Math.PI * Math.PI), 1.0 / 3.0); this.DrawLine((geo - FlightGlobals.currentMainBody.Radius).ToDistance(), section.IsHud); }
public override void Draw(Unity.Flight.ISectionModule section) { if (FlightGlobals.ActiveVessel.mainBody.atmosphere) { this.DrawLine(FlightGlobals.ActiveVessel.mainBody.scienceValues.flyingAltitudeThreshold.ToDistance(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (ThermalProcessor.ShowDetails) { DrawLine(Units.ToTemperature(ThermalProcessor.CoolestSkinTemperature, ThermalProcessor.CoolestSkinTemperatureMax), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (ThermalProcessor.ShowDetails) { DrawLine(ThermalProcessor.InternalFlux.ToFlux(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (SimulationProcessor.ShowDetails) { this.DrawLine(Units.ConcatF(SimulationProcessor.LastStage.partCount, SimulationProcessor.LastStage.totalPartCount, 0), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (ImpactProcessor.ShowDetails) { this.DrawLine(ImpactProcessor.Altitude.ToDistance(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (!Double.IsInfinity(FlightGlobals.currentMainBody.sphereOfInfluence)) { this.DrawLine(FlightGlobals.currentMainBody.sphereOfInfluence.ToDistance(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (AtmosphericProcessor.ShowDetails) { DrawLine(AtmosphericProcessor.Efficiency.ToPercent(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (FlightGlobals.ActiveVessel.atmDensity > 0.0) { DrawLine(FlightGlobals.ActiveVessel.mach.ToMach(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { var biome = ScienceUtil.GetExperimentBiome(FlightGlobals.ActiveVessel.mainBody, FlightGlobals.ActiveVessel.latitude, FlightGlobals.ActiveVessel.longitude); biome = ScienceUtil.GetBiomedisplayName(FlightGlobals.ActiveVessel.mainBody, biome); this.DrawLine(biome, section.IsHud); }
public override void Draw(Unity.Flight.ISectionModule section) { if (SimulationProcessor.ShowDetails) { this.DrawLine(Units.ToSpeed(SimManager.Gravity), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { // Vis-viva: v^2 = GM(2/r - 1/a) // All this is easily got from the ships orbit (and reference body) String str; Orbit orbit = FlightGlobals.ship_orbit; if (orbit.eccentricity > 1.0) { str = "---m/s"; } else { double speedsqr = orbit.referenceBody.gravParameter * ((2 / orbit.ApR) - (1 / orbit.semiMajorAxis)); if (Double.IsNaN(speedsqr) || speedsqr < 0) { str = "---m/s"; // Don't think this is possible barring bugs in the Orbit class } else { str = Math.Sqrt(speedsqr).ToSpeed(); } } this.DrawLine(str, section.IsHud); }
public override void Draw(Unity.Flight.ISectionModule section) { if (SimulationProcessor.ShowDetails) { DrawLine(FlightGlobals.ActiveVessel.vesselName, section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (ThermalProcessor.ShowDetails && FlightGlobals.ActiveVessel.atmDensity > 0.0) { DrawLine(ThermalProcessor.ConvectionFlux.ToFlux(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (SimulationProcessor.ShowDetails) { this.DrawLine(EggConverter.ConvertDeltaV(SimulationProcessor.LastStage.deltaV).ToString("N0") + EggConverter.DeltaV + " (" + TimeFormatter.ConvertToString(SimulationProcessor.LastStage.time) + ")", section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (SimulationProcessor.ShowDetails) { this.DrawLine(Units.ToAngle(SimulationProcessor.LastStage.thrustOffsetAngle, 1), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (ThermalProcessor.ShowDetails) { DrawLine(ThermalProcessor.CoolestPartName, section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (SimulationProcessor.ShowDetails) { this.DrawLine(Units.ToForce(SimulationProcessor.LastStage.RCSThrust), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (FlightGlobals.ActiveVessel.mainBody.atmosphere) { this.DrawLine(FlightGlobals.ActiveVessel.mainBody.atmosphereDepth.ToDistance(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (RendezvousProcessor.ShowDetails) { this.DrawLine(RendezvousProcessor.Distance.ToDistance(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (RendezvousProcessor.ShowDetails) { this.DrawLine(RendezvousProcessor.RelativeRadialVelocity.ToSpeed(), section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (ImpactProcessor.ShowDetails) { this.DrawLine(ImpactProcessor.Biome, section.IsHud); } }
public override void Draw(Unity.Flight.ISectionModule section) { if (ThermalProcessor.ShowDetails) { DrawLine(ThermalProcessor.CriticalTemperaturePercentage.ToPercent(), section.IsHud); } }