Skip to content

Commit

Permalink
1.1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbudda committed Apr 10, 2019
1 parent 29cf9af commit 9d4604d
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 10 deletions.
Binary file modified Assets/Plugins/KerbalEngineer.Unity.dll
Binary file not shown.
8 changes: 6 additions & 2 deletions Documents/CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
1.1.5.7, 2018-1-14, KSP 1.6.1 #2401
1.1.6.0, 2019-4-10, KSP 1.7.0 #2483
- Version bump for 1.7.0
- Show localized biome name

1.1.5.7, 2019-1-14, KSP 1.6.1 #2401
- Fix Impact Marker showing while on EVA and KER overlay isn't available due to career limitations.
- Add readout for throttle % to Vessel readouts.
- Merge some pull requests.

1.1.5.6, 2018-1-8, KSP 1.6.0 #2395
1.1.5.6, 2019-1-8, KSP 1.6.0 #2395
- Fix missing part data causing VAB filters to break.

1.1.5.5, 2018-12-20, KSP 1.6.0 #2395
Expand Down
2 changes: 1 addition & 1 deletion KerbalEngineer/EngineerGlobals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static class EngineerGlobals
/// <summary>
/// Current version of the Kerbal Engineer assembly.
/// </summary>
public const string ASSEMBLY_VERSION = "1.1.5.7";
public const string ASSEMBLY_VERSION = "1.1.6.0";

private static string assemblyFile;
private static string assemblyName;
Expand Down
4 changes: 3 additions & 1 deletion KerbalEngineer/Flight/Readouts/Surface/Biome.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ public Biome()

public override void Draw(Unity.Flight.ISectionModule section)
{
this.DrawLine(ScienceUtil.GetExperimentBiome(FlightGlobals.ActiveVessel.mainBody, FlightGlobals.ActiveVessel.latitude, FlightGlobals.ActiveVessel.longitude), section.IsHud);
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);
}

#endregion
Expand Down
1 change: 1 addition & 0 deletions KerbalEngineer/Flight/Readouts/Surface/ImpactProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ public void Update() {

try {
Biome = ScienceUtil.GetExperimentBiome(body, impactLatitude, impactLongitude);
Biome = ScienceUtil.GetBiomedisplayName(body, Biome);
} catch (Exception ex) { //this gets spammy with misbehaving mod planets.
Biome = "<failed>";
}
Expand Down
2 changes: 1 addition & 1 deletion KerbalEngineer/Flight/Readouts/Surface/Situation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public override void Draw(Unity.Flight.ISectionModule section)

private static string GetBiome()
{
return ScienceUtil.GetExperimentBiome(FlightGlobals.ActiveVessel.mainBody, FlightGlobals.ActiveVessel.latitude, FlightGlobals.ActiveVessel.longitude);
return ScienceUtil.GetExperimentBiomeLocalized(FlightGlobals.ActiveVessel.mainBody, FlightGlobals.ActiveVessel.latitude, FlightGlobals.ActiveVessel.longitude);
}

private static string GetBodyPlural()
Expand Down
Binary file modified Output/KerbalEngineer/KerbalEngineer.Unity.dll
Binary file not shown.
Binary file modified Output/KerbalEngineer/KerbalEngineer.dll
Binary file not shown.
10 changes: 5 additions & 5 deletions Output/KerbalEngineer/KerbalEngineer.version
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
{
"MAJOR":1,
"MINOR":1,
"PATCH":5,
"BUILD":7
"PATCH":6,
"BUILD":0
},
"KSP_VERSION":
{
"MAJOR":1,
"MINOR":6,
"PATCH":1
"MINOR":7,
"PATCH":0
},
"KSP_VERSION_MIN":
{
Expand All @@ -24,7 +24,7 @@
"KSP_VERSION_MAX":
{
"MAJOR":1,
"MINOR":6,
"MINOR":7,
"PATCH":9
}
}

0 comments on commit 9d4604d

Please sign in to comment.