Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Version 0.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Real-Gecko committed Dec 11, 2016
1 parent 63f3877 commit c268186
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 7 deletions.
7 changes: 6 additions & 1 deletion BonVoyage/BonVoyage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public void Update()
/// Deal with launcher button.
/// </summary>
private void CreateLauncher() {
if (ToolbarManager.ToolbarAvailable && useToolbar) {
if (ToolbarManager.ToolbarAvailable && useToolbar && !HighLogic.LoadedSceneIsEditor) {
toolbarButton = ToolbarManager.Instance.add ("BonVoyage", "AppLaunch");
toolbarButton.TexturePath = "BonVoyage/Textures/bon-voyage-icon-toolbar";
toolbarButton.ToolTip = "Bon Voyage Controller";
Expand Down Expand Up @@ -408,11 +408,16 @@ public void DrawGUI(int guiId)
GUI.contentColor = Color.white;
autoDewarp = GUILayout.Toggle(autoDewarp, "Automagic Dewarp");
useKSPSkin = GUILayout.Toggle (useKSPSkin, "Use KSP Skin");
GUILayout.BeginHorizontal ();
if (GUILayout.Button ("Close", GUILayout.Height(25))) {
onToggle ();
}
if (GUILayout.Button("Switch Toolbar", GUILayout.Height(25), GUILayout.Width(150))) {
useToolbar = !useToolbar;
DestroyLauncher ();
CreateLauncher ();
}
GUILayout.EndHorizontal ();
GUILayout.EndVertical();
GUI.DragWindow();
}
Expand Down
2 changes: 1 addition & 1 deletion BonVoyage/BonVoyageModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ private double CalculateOtherPower()
if (converterModule.ModuleIsActive() && converterModule.ConverterName == "Reactor") {
foreach (var resource in converterModule.outputList) {
if (resource.ResourceName == "ElectricCharge") {
otherPower += resource.Ratio * converterModule.Efficiency;
otherPower += resource.Ratio * converterModule.GetEfficiencyMultiplier();
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion BonVoyage/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("0.11.0")]
[assembly: AssemblyVersion("0.11.1")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
Binary file modified GameData/BonVoyage/BonVoyage.dll
Binary file not shown.
8 changes: 4 additions & 4 deletions GameData/BonVoyage/BonVoyage.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@
{
"MAJOR" : 0,
"MINOR" : 11,
"PATCH" : 0,
"PATCH" : 1,
"BUILD" : 0
},
"KSP_VERSION" :
{
"MAJOR" : 1,
"MINOR" : 2,
"PATCH" : 0
"PATCH" : 2
},
"KSP_VERSION_MIN" :
{
"MAJOR" : 1,
"MINOR" : 2,
"PATCH" : 0
"PATCH" : 2
},
"KSP_VERSION_MAX" :
{
"MAJOR" : 1,
"MINOR" : 2,
"PATCH" : 0
"PATCH" : 2
}
}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Rovers background processing for KSP.

# Changelog
## 0.11.1
- Fixes for KSP 1.2.2
- Added "Close" button to main window
- Toolbar button won't appear in editors

## 0.11.0
- New part, created by [Enceos](http://forum.kerbalspaceprogram.com/index.php?/profile/110725-enceos/)
- Icon is now colorized, made by [Madebyoliver](http://www.flaticon.com/authors/madebyoliver) and licensed under [Creative Commons BY 3.0](http://creativecommons.org/licenses/by/3.0/)
Expand Down
2 changes: 2 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
- something is wrong with landedAt field on vessel launch
- check for closest star
- show route only for active rover
- background for target picker information
- target 200 meters away from navpoint

0 comments on commit c268186

Please sign in to comment.