Skip to content

Commit

Permalink
Update for RW 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
KapitanOczywisty committed Jul 22, 2021
1 parent bb697df commit 552f29a
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# Custom for Visual Studio
*.cs diff=csharp
*.sh eol=lf

# Standard to msysgit
*.doc diff=astextplain
Expand Down
1 change: 1 addition & 0 deletions About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<li>1.0</li>
<li>1.1</li>
<li>1.2</li>
<li>1.3</li>
</supportedVersions>
<packageId>kapitanoczywisty.changemapedge.dev</packageId>
<modDependencies>
Expand Down
4 changes: 4 additions & 0 deletions LoadFolders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@
<li>/</li>
<li>v1.1</li>
</v1.1>
<v1.3>
<li>/</li>
<li>v1.3</li>
</v1.3>
</loadFolders>
10 changes: 5 additions & 5 deletions Source/ChangeMapEdge.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\v1.1\Assemblies\</OutputPath>
<OutputPath>..\v1.3\Assemblies\</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
Expand All @@ -25,7 +25,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\ChangeMapEdge - Release\v1.1\Assemblies\</OutputPath>
<OutputPath>..\..\ChangeMapEdge - Release\v1.3\Assemblies\</OutputPath>
<DefineConstants>
</DefineConstants>
<ErrorReport>prompt</ErrorReport>
Expand All @@ -34,7 +34,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony">
<HintPath>..\..\HugsLib\v1.1\Assemblies\0Harmony.dll</HintPath>
<HintPath>..\..\..\..\..\workshop\content\294100\2009463077\Current\Assemblies\0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Assembly-CSharp">
Expand All @@ -46,7 +46,7 @@
<Private>False</Private>
</Reference>
<Reference Include="HugsLib">
<HintPath>..\..\HugsLib\v1.1\Assemblies\HugsLib.dll</HintPath>
<HintPath>..\..\..\..\..\workshop\content\294100\818773962\v1.3\Assemblies\HugsLib.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down Expand Up @@ -99,4 +99,4 @@ IF /I "$(ConfigurationName)" == "Release"; xcopy "$(ProjectDir)..\Sounds" "$(Tar
IF /I "$(ConfigurationName)" == "Release"; xcopy "$(ProjectDir)..\Textures" "$(TargetDir)..\Textures" /S /C /Y /K /I /Q /D
IF /I "$(ConfigurationName)" == "Release"; IF EXIST "$(ProjectDir)..\LICENSE"; copy "$(ProjectDir)..\LICENSE" "$(TargetDir)..\LICENSE" /Y</PostBuildEvent-->
</PropertyGroup>
</Project>
</Project>
8 changes: 4 additions & 4 deletions Source/ChangeMapEdgeHarmony.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ private static void DrawMapEdgeLines(int edgeDist)
Vector3 vector2 = new Vector3((float)edgeDist, y, (float)(size.z - edgeDist));
Vector3 vector3 = new Vector3((float)(size.x - edgeDist), y, (float)(size.z - edgeDist));
Vector3 vector4 = new Vector3((float)(size.x - edgeDist), y, (float)edgeDist);
GenDraw.DrawLineBetween(vector, vector2, ChangeMapEdgeHarmony.LineMatMetaOverlay);
GenDraw.DrawLineBetween(vector2, vector3, ChangeMapEdgeHarmony.LineMatMetaOverlay);
GenDraw.DrawLineBetween(vector3, vector4, ChangeMapEdgeHarmony.LineMatMetaOverlay);
GenDraw.DrawLineBetween(vector4, vector, ChangeMapEdgeHarmony.LineMatMetaOverlay);
GenDraw.DrawLineBetween(vector, vector2, ChangeMapEdgeHarmony.LineMatMetaOverlay, 0.2f);
GenDraw.DrawLineBetween(vector2, vector3, ChangeMapEdgeHarmony.LineMatMetaOverlay, 0.2f);
GenDraw.DrawLineBetween(vector3, vector4, ChangeMapEdgeHarmony.LineMatMetaOverlay, 0.2f);
GenDraw.DrawLineBetween(vector4, vector, ChangeMapEdgeHarmony.LineMatMetaOverlay, 0.2f);
}

public static bool IgnoreFunction()
Expand Down
3 changes: 3 additions & 0 deletions debug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin/MSBuild.exe ChangeMapEdge.sln '//p:Configuration=Debug'
3 changes: 3 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin/MSBuild.exe ChangeMapEdge.sln '//p:Configuration=Release'
Binary file added v1.3/Assemblies/ChangeMapEdge.dll
Binary file not shown.

0 comments on commit 552f29a

Please sign in to comment.