Skip to content

Commit 9e71288

Browse files
committed
Add description to all new entries
1 parent 5d3df7e commit 9e71288

File tree

1 file changed

+33
-41
lines changed

1 file changed

+33
-41
lines changed

MicroEngineerProject/MicroEngineer/MicroEntries.cs

Lines changed: 33 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,12 +1241,12 @@ public Separator()
12411241
#region OAB scene entries
12421242
public class TotalBurnTime_OAB : MicroEntry
12431243
{
1244-
public bool UseDHMSFormatting;
1244+
public bool UseDHMSFormatting; // TODO: implement
12451245

12461246
public TotalBurnTime_OAB()
12471247
{
12481248
Name = "Total Burn Time (OAB)";
1249-
Description = "TODO";
1249+
Description = "Shows the total length of burn the vessel can mantain.";
12501250
Category = MicroEntryCategory.OAB;
12511251
Unit = "s";
12521252
Formatting = "{0:N1}";
@@ -1278,7 +1278,7 @@ public class TotalDeltaVASL_OAB : MicroEntry
12781278
public TotalDeltaVASL_OAB()
12791279
{
12801280
Name = "Total ∆v ASL (OAB)";
1281-
Description = "TODO";
1281+
Description = "Shows the vessel's total delta velocity At Sea Level.";
12821282
Category = MicroEntryCategory.OAB;
12831283
Unit = "m/s";
12841284
Formatting = "{0:N0}";
@@ -1305,7 +1305,7 @@ public class TotalDeltaVActual_OAB : MicroEntry
13051305
public TotalDeltaVActual_OAB()
13061306
{
13071307
Name = "Total ∆v Actual (OAB)";
1308-
Description = "TODO";
1308+
Description = "Shows the vessel's actual total delta velocity (not used in OAB).";
13091309
Category = MicroEntryCategory.OAB;
13101310
Unit = "m/s";
13111311
Formatting = "{0:N0}";
@@ -1332,7 +1332,7 @@ public class TotalDeltaVVac_OAB : MicroEntry
13321332
public TotalDeltaVVac_OAB()
13331333
{
13341334
Name = "Total ∆v Vac (OAB)";
1335-
Description = "TODO";
1335+
Description = "Shows the vessel's total delta velocity in Vacuum.";
13361336
Category = MicroEntryCategory.OAB;
13371337
Unit = "m/s";
13381338
Formatting = "{0:N0}";
@@ -1354,14 +1354,17 @@ public override string ValueDisplay
13541354
}
13551355
}
13561356

1357+
/// <summary>
1358+
/// Holds stage info parameters for each stage. Also keeps information about the celestial body user selected in the window.
1359+
/// </summary>
13571360
public class StageInfo_OAB : MicroEntry
13581361
{
13591362
public List<string> CelestialBodyForStage = new();
13601363

13611364
public StageInfo_OAB()
13621365
{
13631366
Name = "Stage Info (OAB)";
1364-
Description = "TODO";
1367+
Description = "Holds a list of stage info parameters.";
13651368
Category = MicroEntryCategory.OAB;
13661369
Unit = null;
13671370
Formatting = null;
@@ -1424,45 +1427,34 @@ internal void AddNewCelestialBody(MicroCelestialBodies celestialBodies)
14241427
}
14251428
}
14261429

1430+
/// <summary>
1431+
/// Parameters for one stage
1432+
/// </summary>
14271433
public class DeltaVStageInfo_OAB
14281434
{
1429-
public double DeltaVActual; // 1137.103515625 double
1430-
public double DeltaVASL; // 1137.103515625 double
1431-
public double DeltaVVac; // 1303.40734863281 double
1432-
public double DryMass; // 8.21689996941015 double
1433-
public double EndMass; // 14.6350441498584 double
1434-
public double FuelMass; // 19.2799997702241 double
1435-
public double IspASL; // 183.860239557547 double
1436-
public double IspActual; // 183.860239557547 double
1437-
public double IspVac; // 210.761997905552 double
1435+
public double DeltaVActual;
1436+
public double DeltaVASL;
1437+
public double DeltaVVac;
1438+
public double DryMass;
1439+
public double EndMass;
1440+
public double FuelMass;
1441+
public double IspASL;
1442+
public double IspActual;
1443+
public double IspVac;
14381444
public int SeparationIndex;
1439-
// -> 5 for stage 0
1440-
// -> 5 for stage 1
1441-
// -> 4 for stage 2
1442-
// -> 2 for stage 3
1443-
// -> 2 for stage 4
1444-
// -> 0 for stage 5
1445-
// -> 0 for stage 6
14461445
public int Stage;
1447-
// -> 6 for stage 0
1448-
// -> 5 for stage 1
1449-
// -> 4 for stage 2
1450-
// -> 3
1451-
// -> 2
1452-
// -> 1
1453-
// -> 0
1454-
public double StageBurnTime; // 23.6707731615498 double
1455-
public double StageMass; // 27.4968997396342 double
1456-
public double StartMass; // 27.4968997396342 double
1457-
public float TWRASL; // 3.632009 float
1458-
public float TWRActual; // 3.632009 float
1459-
public float TWRVac; // 4.163198 float
1460-
public float ThrustASL; // 979.7148 float
1461-
public float ThrustActual; // 979.7148 float
1462-
public float ThrustVac; // 1123 float
1463-
public float TotalExhaustVelocityASL; // 979.7148 float
1464-
public float TotalExhaustVelocityActual; // 979.7148 float
1465-
public float TotalExhaustVelocityVAC; // 1123 float
1446+
public double StageBurnTime;
1447+
public double StageMass;
1448+
public double StartMass;
1449+
public float TWRASL;
1450+
public float TWRActual;
1451+
public float TWRVac;
1452+
public float ThrustASL;
1453+
public float ThrustActual;
1454+
public float ThrustVac;
1455+
public float TotalExhaustVelocityASL;
1456+
public float TotalExhaustVelocityActual;
1457+
public float TotalExhaustVelocityVAC;
14661458
public string CelestialBody;
14671459
}
14681460
#endregion

0 commit comments

Comments
 (0)