diff --git a/Distribution/GameData/VesselMover/Plugins/VesselMover.dll b/Distribution/GameData/VesselMover/Plugins/VesselMover.dll index fdebb46..4e908d6 100644 Binary files a/Distribution/GameData/VesselMover/Plugins/VesselMover.dll and b/Distribution/GameData/VesselMover/Plugins/VesselMover.dll differ diff --git a/LocalDev/dist_dir.txt b/LocalDev/dist_dir.txt index 9ccec32..d887be7 100644 --- a/LocalDev/dist_dir.txt +++ b/LocalDev/dist_dir.txt @@ -1 +1 @@ -C:\cygwin\home\dlane\repo\gamerepo\VesselMover\BuildRelease \ No newline at end of file +C:\cygwin\home\dlane\repo\gamerepo\Distribution \ No newline at end of file diff --git a/LocalDev/ksp_dir.txt b/LocalDev/ksp_dir.txt index 4bb2f0f..9093325 100644 --- a/LocalDev/ksp_dir.txt +++ b/LocalDev/ksp_dir.txt @@ -1 +1 @@ -C:\Games\KSP_Debug \ No newline at end of file +S:\Games\KSP_1.3_Debug \ No newline at end of file diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index d7e16e8..41f86de 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ // Build Number // Revision // -[assembly: AssemblyVersion("1.5.1.4")] -[assembly: AssemblyFileVersion("1.5.1.4")] +[assembly: AssemblyVersion("1.6.0.0")] +[assembly: AssemblyFileVersion("1.6.0.0")] diff --git a/VesselMove.cs b/VesselMove.cs index 1455eda..6734fe7 100644 --- a/VesselMove.cs +++ b/VesselMove.cs @@ -615,7 +615,6 @@ public void UpdateBounds() Vector3 forward = Vector3.ProjectOnPlane(vessel.CoM-FlightCamera.fetch.mainCamera.transform.position, up).normalized; Vector3 right = Vector3.Cross(up, forward); - float maxSqrDist = 0; Part furthestPart = null; @@ -629,12 +628,12 @@ public void UpdateBounds() float furthestSqrDist = -1; foreach(Part p in vessel.parts) - { + { if (p.Modules.Contains("Tailhook")) return ; if (p.Modules.Contains("Arrestwire")) return; if (p.Modules.Contains("Catapult")) return; if (p.Modules.Contains("CLLS")) return; - if (p.Modules.Contains("OLS")) return; + if (p.Modules.Contains("OLS")) return; float sqrDist = Vector3.ProjectOnPlane((p.transform.position-vessel.CoM), up).sqrMagnitude; if(sqrDist > maxSqrDist) diff --git a/VesselMover.csproj b/VesselMover.csproj index 703a4a3..7ad6c89 100644 --- a/VesselMover.csproj +++ b/VesselMover.csproj @@ -32,6 +32,22 @@ x86 False + + true + bin\Debug\ + TRACE;DEBUG; + full + AnyCPU + prompt + MinimumRecommendedRules.ruleset + + + bin\Release\ + true + AnyCPU + prompt + MinimumRecommendedRules.ruleset + @@ -41,31 +57,21 @@ - - False - ..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\Assembly-CSharp.dll - False + + ..\KSP\1.3\Assembly-CSharp.dll - - False - ..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll - False + + ..\KSP\1.3\Assembly-CSharp-firstpass.dll - - False - ..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\KSPAssets.dll - False + + ..\KSP\1.3\KSPAssets.dll - - False - ..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\UnityEngine.dll - False + + ..\KSP\1.3\UnityEngine.dll - - False - ..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\UnityEngine.UI.dll - False + + ..\KSP\1.3\UnityEngine.UI.dll diff --git a/VesselMover.sln b/VesselMover.sln index 6a6f64b..d502d2e 100644 --- a/VesselMover.sln +++ b/VesselMover.sln @@ -1,17 +1,28 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VesselMover", "VesselMover.csproj", "{2094C4DC-956E-4AEB-907B-EEA1A0C1745A}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x86 = Debug|x86 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Debug|x86.ActiveCfg = Debug|x86 - {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Debug|x86.Build.0 = Debug|x86 - {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Release|x86.ActiveCfg = Release|x86 - {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Release|x86.Build.0 = Release|x86 - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VesselMover", "VesselMover.csproj", "{2094C4DC-956E-4AEB-907B-EEA1A0C1745A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Debug|x86.ActiveCfg = Debug|x86 + {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Debug|x86.Build.0 = Debug|x86 + {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Release|Any CPU.Build.0 = Release|Any CPU + {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Release|x86.ActiveCfg = Release|x86 + {2094C4DC-956E-4AEB-907B-EEA1A0C1745A}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal