Skip to content

Commit

Permalink
Merge pull request #65 from BobPalmer/DEVELOP
Browse files Browse the repository at this point in the history
1.7.x Compat Patch
  • Loading branch information
BobPalmer authored Aug 12, 2019
2 parents b3d45e1 + 2e7ee7c commit 5f985eb
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.2.0 - 2019.08.04
------------------
KSP 1.7.x Compatibility

1.1.0 - 2019.02.05
------------------
KSP 1.6.x Compatibility
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For Non 1:10 systems.

@PART[USI_WarpDrive_625,USI_WarpDrive,ZWarpDrive25,ZWarpDrive125,ZWarpDrive375]:FOR[WarpEngine]:NEEDS[SigDim2]:AFTER[SigDim2]{
@PART[USI_WarpDrive_625,USI_WarpDrive,ZWarpDrive25,ZWarpDrive125,ZWarpDrive375]:AFTER[SigDim2]{
#@SigmaDimensions {}
@SigmaDimensions
{
Expand Down Expand Up @@ -28,7 +28,7 @@
// This pass seems to not like targeting non-integer values

// Respond to 2.5x and 3.2x scale
@PART[USI_WarpDrive_625,USI_WarpDrive,ZWarpDrive25,ZWarpDrive125,ZWarpDrive375]:FOR[WarpEngine]:NEEDS[SigDim2]:HAS[@SigmaDimensions:HAS[#Rescale[>2],#Rescale[<6]]]:AFTER[SigDim2]
@PART[USI_WarpDrive_625,USI_WarpDrive,ZWarpDrive25,ZWarpDrive125,ZWarpDrive375]:HAS[@SigmaDimensions:HAS[#Rescale[>2],#Rescale[<6]]]:AFTER[SigDim2]
{
@MODULE[USI_ModuleWarpEngine]{
@WarpFactor *= 3 // maximum warp
Expand All @@ -37,7 +37,7 @@
}

// Respond to 6.4x scale
@PART[USI_WarpDrive_625,USI_WarpDrive,ZWarpDrive25,ZWarpDrive125,ZWarpDrive375]:FOR[WarpEngine]:NEEDS[SigDim2]:HAS[@SigmaDimensions:HAS[#Rescale[>6],#Rescale[<9]]]:AFTER[SigDim2]
@PART[USI_WarpDrive_625,USI_WarpDrive,ZWarpDrive25,ZWarpDrive125,ZWarpDrive375]:HAS[@SigmaDimensions:HAS[#Rescale[>6],#Rescale[<9]]]:AFTER[SigDim2]
{
@MODULE[USI_ModuleWarpEngine]{
@WarpFactor *= 6.4 // maximum warp
Expand All @@ -46,7 +46,7 @@
}

// Respond to 10x and higher
@PART[USI_WarpDrive_625,USI_WarpDrive,ZWarpDrive25,ZWarpDrive125,ZWarpDrive375]:FOR[WarpEngine]:NEEDS[SigDim2]:HAS[@SigmaDimensions:HAS[#Rescale[>9]]]:AFTER[SigDim2]
@PART[USI_WarpDrive_625,USI_WarpDrive,ZWarpDrive25,ZWarpDrive125,ZWarpDrive375]:HAS[@SigmaDimensions:HAS[#Rescale[>9]]]:AFTER[SigDim2]
{
@MODULE[USI_ModuleWarpEngine]{
@WarpFactor *= 10 // maximum warp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
},
"VERSION":{
"MAJOR":1,
"MINOR":1,
"MINOR":2,
"PATCH":0,
"BUILD":0
},
"KSP_VERSION":{
"MAJOR":1,
"MINOR":6,
"PATCH":0
"MINOR":7,
"PATCH":3
},
"KSP_VERSION_MIN":{
"MAJOR":1,
Expand All @@ -25,7 +25,7 @@
},
"KSP_VERSION_MAX":{
"MAJOR":1,
"MINOR":6,
"MINOR":8,
"PATCH":9
}
}
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion Source/WarpEngine/WarpEngine/WarpEngine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>"D:\Games\pdb2mdb\pdb2mdb.exe" "$(TargetFileName)"</PostBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
Binary file modified Source/WarpEngine/WarpEngine/obj/Debug/WarpEngine.pdb
Binary file not shown.

0 comments on commit 5f985eb

Please sign in to comment.