Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 764cf8ef1ea3
Choose a base ref
...
head repository: mockingbirdnest/Principia
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1143705ab413
Choose a head ref
  • 3 commits
  • 1 file changed
  • 1 contributor

Commits on Feb 22, 2020

  1. Copy the full SHA
    7d7f258 View commit details
  2. Copy the full SHA
    47755ec View commit details
  3. Merge pull request #2478 from pleroy/Frobenius

    Next release is Frobenius and remove the frobenioid UI
    pleroy authored Feb 22, 2020
    Copy the full SHA
    1143705 View commit details
Showing with 9 additions and 4 deletions.
  1. +9 −4 ksp_plugin_adapter/main_window.cs
13 changes: 9 additions & 4 deletions ksp_plugin_adapter/main_window.cs
Original file line number Diff line number Diff line change
@@ -5,10 +5,10 @@ namespace ksp_plugin_adapter {

internal class MainWindow : SupervisedWindowRenderer {
// Update this section before each release.
private const string next_release_name_ = "Frenet";
private const int next_release_lunation_number_ = 249;
private const string next_release_name_ = "Frobenius";
private const int next_release_lunation_number_ = 250;
private readonly DateTimeOffset next_release_date_ =
new DateTimeOffset(2020, 02, 23, 15, 32, 00, TimeSpan.Zero);
new DateTimeOffset(2020, 03, 24, 09, 28, 00, TimeSpan.Zero);

public delegate Vessel PredictedVessel();

@@ -272,11 +272,13 @@ private void RenderKSPFeatures() {
}

private void RenderLoggingSettings() {
#if FROBENIOID
string trace = "";
if (FlightGlobals.ActiveVessel &&
adapter_.PluginRunning() &&
plugin.HasVessel(FlightGlobals.ActiveVessel.id.ToString())) {
trace = plugin.VesselGetPileUpTrace(FlightGlobals.ActiveVessel.id.ToString());
trace =
plugin.VesselGetPileUpTrace(FlightGlobals.ActiveVessel.id.ToString());
}
UnityEngine.GUILayout.TextArea(
trace,
@@ -285,6 +287,7 @@ private void RenderLoggingSettings() {
conserve_angular_momentum_,
"Conserve angular momentum");
Interface.SetAngularMomentumConservation(conserve_angular_momentum_);
#endif
using (new UnityEngine.GUILayout.HorizontalScope()) {
UnityEngine.GUILayout.Label(text : "Verbose level:");
if (UnityEngine.GUILayout.Button(text : "←",
@@ -545,7 +548,9 @@ private void RenderToggleableSection(string name,
// Whether a journal is currently being recorded.
private static bool journaling_ = false;

#if FROBENIOID
private static bool conserve_angular_momentum_ = false;
#endif

private Vessel vessel_;
}