From df8f3dd166a4567b27933c461ee88833fc03dff5 Mon Sep 17 00:00:00 2001 From: "U-hades\\dlane" Date: Sun, 28 May 2017 11:45:54 -0500 Subject: [PATCH] recompile for 1.3 --- .../VesselMover/Plugins/VesselMover.dll | Bin 35328 -> 35328 bytes LocalDev/dist_dir.txt | 2 +- LocalDev/ksp_dir.txt | 2 +- Properties/AssemblyInfo.cs | 4 +- VesselMove.cs | 5 +- VesselMover.csproj | 46 ++++++++++-------- VesselMover.sln | 45 ++++++++++------- 7 files changed, 60 insertions(+), 44 deletions(-) diff --git a/Distribution/GameData/VesselMover/Plugins/VesselMover.dll b/Distribution/GameData/VesselMover/Plugins/VesselMover.dll index fdebb467d0e6aab60f5da6dd095a123075657242..4e908d6e19ab307b190b4c795b8e273f3aaa6bd6 100644 GIT binary patch delta 6017 zcmai2dwk4ix_{pHH^1N9Co_||WG0ljCsMhfafw!h4!Aa_Eiv87vLD z#0X}~sY|;=*R}-9>N#r9(Nz-wTNfQ+<2wvD2Byj!i;>ip44X$ zP?ApF9waIsKqTTN^NJdW$sQfWOYz$5TzytoL5}!a*})X`$&b{EoF7H4bM7*g*_1jW z$MjtmnmT7FsGnq=x+936I^_`=B&WZ_7DMi^NP7Lt9kQQ!on)`UcUUC7P_~gw7C)EM zGF4|<=M>dg)Vapj%N8MOJBMfnzE@^~9zJ7w%`YGSSKb6$ccO1~$VLvQ>%EA)khL8+ zvaCP8UA^O{i*v++xZY=^dBQE&9&32S(Ufk`VTCL0zVtMT1X%v2eQ}yW{Tz&K6*ej~ z6|PbEfwI|R{}UoCRA@l%pf^24_mSx%^3eBwX*1|)(ku>YbhG5NN18SdohJ#@pmxw% zgB6RzOpnsAF?5%OaZQwH2<`MUeILRZ^s4_xz@TE!4Yxs)Z8zKwT7iA=Pyyn2sH2OM zJ!$79JsDz~G%I5b(i`-5EYCsGbvj^frZF~ld(6si!$XX}jB@&u*ggmSTaa-@i1GKR z+MxT10}a(Vy*3!Q_+2<_zJ)Y)q|%U@RZ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V6 zUh6Fw_XN%u0>_cdY!WNDA7Xum7q7BwGxE(QX-3f-@)^U-UTt%v#7t@>TDjRSy^)`p z4lyLK#{59*39L6ep|e@~M7DdY8HtH|GPgs?0i{AUO8p3FP(bZ{fF`=^^0eYqDo%~| zbL?)f+!cPxblA9hpTZjPXYX_70qtJ<`(~m1t-a60*{27oU!;z#M(?MHG6V15D*1-@ zDWv4jvw4u z)Mp-UHnwJAAk1; z|9$bk#Q2sC;Ka9(r4*{JY&{2l!HIMKA}lcv|M9+5dVf8oT=mz#5o-|_x3@lbq>cH`Ke zCfTAy- f6Tetn^1Tp$Uti$(72&EzG@-1^x9%g+QEL7j=|<#x 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