Skip to content

Commit

Permalink
compiled against Harmony 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gnivler committed Aug 22, 2018
1 parent 37bf275 commit 3c5d1d6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
// 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("1.52")]
[assembly: AssemblyVersion("1.53")]
2 changes: 1 addition & 1 deletion ScorchedEarth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private static void ListTheStack(List<CodeInstruction> codes)
//}

// every TerrainDecal will have a time property that makes all comparisons practically infinite
[HarmonyPatch(typeof(FootstepManager.TerrainDecal))]
[HarmonyPatch(typeof(FootstepManager.TerrainDecal), MethodType.Constructor)]
[HarmonyPatch(new[] {typeof(Vector3), typeof(Quaternion), typeof(Vector3), typeof(float)})]
public static class PatchTerrainDecalCtor
{
Expand Down
18 changes: 14 additions & 4 deletions ScorchedEarth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@
<AssemblyName>ScorchedEarth</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<Optimize>true</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand All @@ -32,7 +34,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null">
<Reference Include="0Harmony, Version=1.2.0.1, Culture=neutral, PublicKeyToken=null">
<HintPath>C:\References\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
Expand All @@ -48,7 +50,9 @@
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>C:\References\UnityEngine.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Logger.cs" />
Expand All @@ -60,5 +64,11 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
</PropertyGroup>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Both|AnyCPU' ">
<OutputPath>bin\Both\</OutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
</PropertyGroup>
</Project>
4 changes: 4 additions & 0 deletions ScorchedEarth.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
Both|Any CPU = Both|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{015FEEF3-3304-469B-9909-D443A54F288F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{015FEEF3-3304-469B-9909-D443A54F288F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{015FEEF3-3304-469B-9909-D443A54F288F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{015FEEF3-3304-469B-9909-D443A54F288F}.Release|Any CPU.Build.0 = Release|Any CPU
{015FEEF3-3304-469B-9909-D443A54F288F}.Both|Any CPU.ActiveCfg = Both|Any CPU
{015FEEF3-3304-469B-9909-D443A54F288F}.Both|Any CPU.Build.0 = Both|Any CPU
{015FEEF3-3304-469B-9909-D443A54F288F}.Both|Any CPU.Deploy.0 = Both|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit 3c5d1d6

Please sign in to comment.