Skip to content

Commit 8b450dd

Browse files
adventure-gptLocal UserJonnyOThan
authored
Mechjeb 2.15.1 full feature parity (#171)
Co-authored-by: Local User <local@local.dev> Co-authored-by: JonnyOThan <jonnyothan@gmail.com>
1 parent 847e098 commit 8b450dd

12 files changed

Lines changed: 9174 additions & 12 deletions

File tree

GameData/JSI/RPMPodPatches/BasicMFD/MFD40x20.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ PROP
371371
text = MechJeb software not installed.
372372
PAGEHANDLER:NEEDS[MechJeb2]
373373
{
374-
name = MechJebRPM
374+
name = MechJebRPMMenu
375375
method = ShowMenu
376376
pageActiveMethod = PageActive
377377
buttonClickMethod = ClickProcessor

RasterPropMonitor/Auxiliary modules/JSINumericInput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
namespace JSI
2727
{
28-
class JSINumericInput : InternalModule
28+
public class JSINumericInput : InternalModule
2929
{
3030
[SerializeReference] ConfigNodeHolder moduleConfig;
3131

RasterPropMonitor/Core/OrbitExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ public static double RelativeInclination_DEG(this Orbit a, Orbit b)
138138
// note strangely, the stock RelativeInclination function is already in degrees
139139
return Orbit.RelativeInclination(a, b);
140140
}
141-
#if false
142141

143142
// These "Swapped" functions translate preexisting Orbit class functions into world
144143
// space. For some reason, Orbit class functions seem to use a coordinate system
@@ -450,6 +449,5 @@ public static Vector3d DeltaVToManeuverNodeCoordinates(this Orbit o, double UT,
450449
Vector3d.Dot(-o.NormalPlus(UT), dV),
451450
Vector3d.Dot(o.Prograde(UT), dV));
452451
}
453-
#endif
454452
}
455453
}

RasterPropMonitor/Handlers/JSIGraphingBackground.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace JSI
2626
{
2727
// JSIGraphingBackground provides an editable / configurable way to render
2828
// one or more data in a graphical manner.
29-
class JSIGraphingBackground : InternalModule
29+
public class JSIGraphingBackground : InternalModule
3030
{
3131
[KSPField]
3232
public string layout = null;

RasterPropMonitor/Handlers/JSIHeadsUpDisplay.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace JSI
3131
* are displayed with a "ladder" (texture). Strips also provide heading
3232
* information.
3333
************************************************************************/
34-
class JSIHeadsUpDisplay : InternalModule
34+
public class JSIHeadsUpDisplay : InternalModule
3535
{
3636
[KSPField]
3737
public string cameraTransform = string.Empty;

RasterPropMonitor/Handlers/JSIMechJeb.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,6 @@ private void UpdateDeltaVStats(object activeJeb)
10721072
try
10731073
{
10741074
object stagestats = GetComputerModule(activeJeb, "MechJebModuleStageStats");
1075-
10761075
requestUpdate(stagestats, new object[] { this, false });
10771076

10781077
int atmStatsLength = 0, vacStatsLength = 0;

RasterPropMonitor/Handlers/JSISASMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private static VesselAutopilot.AutopilotMode ConvertMode(VesselAutopilot.Autopil
7070
}
7171
}
7272

73-
class JSISASMenu : InternalModule
73+
public class JSISASMenu : InternalModule
7474
{
7575
[KSPField]
7676
public string pageTitle = string.Empty;

RasterPropMonitor/Handlers/JSIScienceDisplay.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
using System.Text;
66
using UnityEngine;
77

8-
namespace JSI.Handlers
8+
namespace JSI
99
{
10-
class ExperimentDetailsMenu : TextMenu
10+
public class ExperimentDetailsMenu : TextMenu
1111
{
1212
public ExperimentDetailsMenu(ModuleScienceExperiment experimentModule)
1313
{
@@ -103,7 +103,7 @@ static void AddMessageChunk(string message, StringBuilder stringBuilder, ref int
103103
}
104104
}
105105

106-
class JSIScienceDisplay : InternalModule
106+
public class JSIScienceDisplay : InternalModule
107107
{
108108
[KSPField]
109109
public string pageTitle;

0 commit comments

Comments
 (0)