Skip to content

Commit

Permalink
recompile for 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gomker committed May 28, 2017
1 parent 498806c commit df8f3dd
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 44 deletions.
Binary file modified Distribution/GameData/VesselMover/Plugins/VesselMover.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion LocalDev/dist_dir.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
C:\cygwin\home\dlane\repo\gamerepo\VesselMover\BuildRelease
C:\cygwin\home\dlane\repo\gamerepo\Distribution
2 changes: 1 addition & 1 deletion LocalDev/ksp_dir.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
C:\Games\KSP_Debug
S:\Games\KSP_1.3_Debug
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
5 changes: 2 additions & 3 deletions VesselMove.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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)
Expand Down
46 changes: 26 additions & 20 deletions VesselMover.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@
<PlatformTarget>x86</PlatformTarget>
<ConsolePause>False</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<OutputPath>bin\Release\</OutputPath>
<Optimize>true</Optimize>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
Expand All @@ -41,31 +57,21 @@
<Compile Include="VMUtils.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
<Reference Include="Assembly-CSharp">
<HintPath>..\KSP\1.3\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
<Private>False</Private>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>..\KSP\1.3\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="KSPAssets, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\KSPAssets.dll</HintPath>
<Private>False</Private>
<Reference Include="KSPAssets">
<HintPath>..\KSP\1.3\KSPAssets.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
<Reference Include="UnityEngine">
<HintPath>..\KSP\1.3\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Games\KSP\KSP_x64_Data\Managed\UnityEngine.UI.dll</HintPath>
<Private>False</Private>
<Reference Include="UnityEngine.UI">
<HintPath>..\KSP\1.3\UnityEngine.UI.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
45 changes: 28 additions & 17 deletions VesselMover.sln
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit df8f3dd

Please sign in to comment.