Skip to content

Commit

Permalink
Update for KSP 1.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
JPLRepo committed Oct 18, 2019
1 parent 1b9540d commit f834d71
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
V0.1.20.0
V0.1.21.0
Re-Compile for KSP 1.8.x.
V0.1.20.0
Re-Compile for KSP 1.7.x.
V0.1.19.0
Fixed issue with legacy transparent specular shader no longer available in KSP - causing some parts using this mod to appear with Pink (invalid) material/shader assignments.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"NAME":"JSIAdvTransparentPods",
"URL":"http://ksp-avc.cybutek.net/version.php?id=287",
"DOWNLOAD":"http://spacedock.info/mod/598/JSI%20Advanced%20Transparent%20Pods",
"VERSION":{"MAJOR":0,"MINOR":1,"PATCH":20,"BUILD":0},
"KSP_VERSION":{"MAJOR":1,"MINOR":7,"PATCH":2},
"KSP_VERSION_MIN":{"MAJOR":1,"MINOR":7,"PATCH":0},
"KSP_VERSION_MAX":{"MAJOR":1,"MINOR":7,"PATCH":99}
"VERSION":{"MAJOR":0,"MINOR":1,"PATCH":21,"BUILD":0},
"KSP_VERSION":{"MAJOR":1,"MINOR":8,"PATCH":0},
"KSP_VERSION_MIN":{"MAJOR":1,"MINOR":8,"PATCH":0},
"KSP_VERSION_MAX":{"MAJOR":1,"MINOR":8,"PATCH":99}
}
Binary file modified Distribution/GameData/JSI/JSIAdvTransparentPods/MiniAVC.dll
Binary file not shown.
Binary file not shown.
14 changes: 13 additions & 1 deletion JSITransparentPods/JSIAdvTransparentPods.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>JSIAdvTransparentPods</RootNamespace>
<AssemblyName>JSIAdvTransparentPods</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -20,6 +21,7 @@
<DefineConstants>TRACE;DEBUG;rag</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -28,6 +30,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
Expand All @@ -44,6 +47,15 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\KSPDLLs\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\..\KSPDLLs\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.IMGUIModule">
<HintPath>..\..\KSPDLLs\UnityEngine.IMGUIModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.PhysicsModule">
<HintPath>..\..\KSPDLLs\UnityEngine.PhysicsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\KSPDLLs\UnityEngine.UI.dll</HintPath>
Expand Down
4 changes: 2 additions & 2 deletions JSITransparentPods/JSIPortraits.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ internal static bool HasPortrait(Kerbal crew)

internal static bool InActiveCrew(Kerbal crew)
{
for (int i = 0; i < KerbalPortraitGallery.Instance.ActiveCrew.Count; ++i)
for (int i = 0; i < KerbalPortraitGallery.Instance.ActiveCrewItems.Count; ++i)
{
if (KerbalPortraitGallery.Instance.ActiveCrew[i] == crew)
if (KerbalPortraitGallery.Instance.ActiveCrewItems[i].kerbal != null && KerbalPortraitGallery.Instance.ActiveCrewItems[i].kerbal.name == crew.name)
return true;
}
return false;
Expand Down
4 changes: 2 additions & 2 deletions JSITransparentPods/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// 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("0.1.20.0")]
[assembly: AssemblyFileVersion("0.1.20.0")]
[assembly: AssemblyVersion("0.1.21.0")]
[assembly: AssemblyFileVersion("0.1.21.0")]

0 comments on commit f834d71

Please sign in to comment.