Skip to content

Commit

Permalink
Merge pull request #215 from DMagic1/release
Browse files Browse the repository at this point in the history
Version 16.1
  • Loading branch information
DMagic1 committed May 2, 2016
2 parents 754b566 + 648df68 commit 85561ef
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 21 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ sneaky then they can of course be sneaky.

[shield:jenkins-dev]: http://img.shields.io/jenkins/s/https/ksp.sarbian.com/jenkins/SCANsat-dev.svg
[shield:jenkins-rel]: http://img.shields.io/jenkins/s/https/ksp.sarbian.com/jenkins/SCANsat-release.svg
[shield:support-ksp]: http://img.shields.io/badge/for%20KSP-v1.1-bad455.svg
[shield:support-ksp]: http://img.shields.io/badge/for%20KSP-v1.1.2-bad455.svg
[shield:support-rpm]: http://img.shields.io/badge/works%20with%20RPM-v0.25.x-a31f34.svg
[shield:support-mm]: http://img.shields.io/badge/works%20with%20MM-v2.6.x-40b7c0.svg
[shield:support-toolbar]: http://img.shields.io/badge/works%20with%20Blizzy's%20Toolbar-1.7.x-7c69c0.svg
Expand All @@ -875,7 +875,7 @@ sneaky then they can of course be sneaky.
[shield:support-ccfg]: https://img.shields.io/badge/works%20with%20Contract%20Configurator-1.9.x-yellowgreen.svg
[shield:ckan]: https://img.shields.io/badge/CKAN-Indexed-brightgreen.svg
[shield:support-mechjeb]: http://img.shields.io/badge/works%20with%20MechJeb-2.5.7-lightgrey.svg
[shield:support-kopernicus]: http://img.shields.io/badge/works%20with%20Kopernicus-0.6.x-ff8c00.svg
[shield:support-kopernicus]: http://img.shields.io/badge/works%20with%20Kopernicus-1.x-ff8c00.svg

[shield:gittip-tg-img]: http://img.shields.io/gittip/technogeeky.png
[shield:gittip-tg]: https://www.gittip.com/technogeeky/
Expand Down
10 changes: 5 additions & 5 deletions SCANassets/SCANsat.version
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"NAME":"SCANsat",
"URL":"https://raw.githubusercontent.com/S-C-A-N/SCANsat/dev/SCANassets/SCANsat.version",
"URL":"https://raw.githubusercontent.com/S-C-A-N/SCANsat/release/SCANassets/SCANsat.version",
"DOWNLOAD":"https://github.com/S-C-A-N/SCANsat/releases",
"GITHUB":{
"USERNAME":"S-C-A-N",
Expand All @@ -11,21 +11,21 @@
"MAJOR":1,
"MINOR":1,
"PATCH":6,
"BUILD":0
"BUILD":1
},
"KSP_VERSION":{
"MAJOR":1,
"MINOR":1,
"PATCH":0
"PATCH":2
},
"KSP_VERSION_MIN":{
"MAJOR":1,
"MINOR":1,
"PATCH":0
"PATCH":2
},
"KSP_VERSION_MAX":{
"MAJOR":1,
"MINOR":1,
"PATCH":0
"PATCH":2
}
}
6 changes: 3 additions & 3 deletions SCANmechjeb/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.0.0")]
[assembly: AssemblyFileVersion("1.6.0.0")]
[assembly: AssemblyInformationalVersion ("v16.0")]
[assembly: AssemblyVersion("1.6.0.1")]
[assembly: AssemblyFileVersion("1.6.0.1")]
[assembly: AssemblyInformationalVersion ("v16.1")]

[assembly: KSPAssembly ("SCANmechjeb", 0, 4)]
[assembly: KSPAssemblyDependency ("SCANsat", 1, 6)]
Expand Down
12 changes: 10 additions & 2 deletions SCANsat/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
Versoin 16.0 - 2016-4-29
Version 16.1 - 2016-5-2
------------------------

- Update for KSP 1.1.2

- Update API for Kerbalism support
- Fixed an error that prevented the UI from opening after exiting the Mission Control building

Version 16.0 - 2016-4-19
------------------------

- Update for KSP 1.1 final release
- Update for MechJeb 2.5.7

- KSPedia Entry
- 17 New KSPedia pages covering SCANsat basics and features
- 17 New KSPedia pages covering SCANsat basics and features

- Add science experiment for low resolution resource scan (M700 scanner)
- Adjust other science reward amounts
Expand Down
6 changes: 3 additions & 3 deletions SCANsat/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersion ("1.6.0.0")]
[assembly: AssemblyFileVersion ("1.6.0.6")]
[assembly: AssemblyInformationalVersion ("v16.0")]
[assembly: AssemblyVersion ("1.6.0.1")]
[assembly: AssemblyFileVersion ("1.6.0.1")]
[assembly: AssemblyInformationalVersion ("v16.1")]

[assembly: KSPAssembly ("SCANsat", 1, 6)]

Expand Down
4 changes: 2 additions & 2 deletions SCANsat/SCANcontroller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ private void Start()
GameEvents.onShowUI.Add(UIOn);
GameEvents.onHideUI.Add(UIOff);
GameEvents.onGUIMissionControlSpawn.Add(UIOff);
GameEvents.onGUIMissionControlDespawn.Add(UIOff);
GameEvents.onGUIMissionControlDespawn.Add(UIOn);
GameEvents.onGUIRnDComplexSpawn.Add(UIOff);
GameEvents.onGUIRnDComplexDespawn.Add(UIOn);
GameEvents.onGUIAdministrationFacilitySpawn.Add(UIOff);
Expand Down Expand Up @@ -1117,7 +1117,7 @@ private void OnDestroy()
GameEvents.onShowUI.Remove(UIOn);
GameEvents.onHideUI.Remove(UIOff);
GameEvents.onGUIMissionControlSpawn.Remove(UIOff);
GameEvents.onGUIMissionControlDespawn.Remove(UIOff);
GameEvents.onGUIMissionControlDespawn.Remove(UIOn);
GameEvents.onGUIRnDComplexSpawn.Remove(UIOff);
GameEvents.onGUIRnDComplexDespawn.Remove(UIOn);
GameEvents.onGUIAdministrationFacilitySpawn.Remove(UIOff);
Expand Down
8 changes: 4 additions & 4 deletions SCANsat/SCANutil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ public static bool registerSensorExternal(Vessel v, ProtoPartModuleSnapshot m, P
if (prefab == null)
return false;

if (!prefab.Modules.Contains<SCANsat.SCAN_PartModules.SCANsat>() || !prefab.Modules.Contains<ModuleSCANresourceScanner>())
if (!(prefab.Modules.Contains<SCANsat.SCAN_PartModules.SCANsat>() || prefab.Modules.Contains<ModuleSCANresourceScanner>()))
return false;

if (m.moduleName != "SCANsat" || m.moduleName != "ModuleSCANresourceScanner")
if (!(m.moduleName == "SCANsat" || m.moduleName == "ModuleSCANresourceScanner"))
return false;

if (SCANcontroller.controller == null)
Expand Down Expand Up @@ -240,10 +240,10 @@ public static bool unregisterSensorExternal(Vessel v, ProtoPartModuleSnapshot m,
if (prefab == null)
return false;

if (!prefab.Modules.Contains<SCANsat.SCAN_PartModules.SCANsat>() || !prefab.Modules.Contains<ModuleSCANresourceScanner>())
if (!(prefab.Modules.Contains<SCANsat.SCAN_PartModules.SCANsat>() || prefab.Modules.Contains<ModuleSCANresourceScanner>()))
return false;

if (m.moduleName != "SCANsat" || m.moduleName != "ModuleSCANresourceScanner")
if (!(m.moduleName == "SCANsat" || m.moduleName == "ModuleSCANresourceScanner"))
return false;

if (SCANcontroller.controller == null)
Expand Down

0 comments on commit 85561ef

Please sign in to comment.