From cbee96d5856d96dc3422bdf55c64cfa473cd5af7 Mon Sep 17 00:00:00 2001 From: Kapitan Oczywisty <44417092+KapitanOczywisty@users.noreply.github.com> Date: Tue, 25 Feb 2020 20:14:55 +0100 Subject: [PATCH] Update for RW 1.1 --- About/About-Debug.xml | 6 +++++- About/About-Release.xml | 6 +++++- About/About.xml | 6 +++++- LoadFolders.xml | 6 ++++++ Source/ChangeMapEdge.csproj | 18 +++++++++++------- Source/ChangeMapEdgeHarmony.cs | 4 ++-- v1.1/About/About.xml | 7 +++++++ v1.1/Assemblies/ChangeMapEdge.dll | Bin 0 -> 7680 bytes 8 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 LoadFolders.xml create mode 100644 v1.1/About/About.xml create mode 100644 v1.1/Assemblies/ChangeMapEdge.dll diff --git a/About/About-Debug.xml b/About/About-Debug.xml index 1be97d0..f4828c9 100644 --- a/About/About-Debug.xml +++ b/About/About-Debug.xml @@ -2,6 +2,10 @@ Change map edge limit - Dev Build Kapitan Oczywisty - 1.0.2059 + +
  • 1.0
  • +
  • 1.1
  • +
    + kapitanoczywisty.changemapedge.dev Change map edge limit dev build
    \ No newline at end of file diff --git a/About/About-Release.xml b/About/About-Release.xml index cf32e78..099ce60 100644 --- a/About/About-Release.xml +++ b/About/About-Release.xml @@ -2,7 +2,11 @@ Change map edge limit Kapitan Oczywisty - 1.0.2059 + +
  • 1.0
  • +
  • 1.1
  • +
    + kapitanoczywisty.changemapedge Simple mod that allows you to customize "too close to map edge" limits when placing buildings, blueprints or zones. Should works with any other mod (unless is doing the same thing). diff --git a/About/About.xml b/About/About.xml index 1be97d0..f4828c9 100644 --- a/About/About.xml +++ b/About/About.xml @@ -2,6 +2,10 @@ Change map edge limit - Dev Build Kapitan Oczywisty - 1.0.2059 + +
  • 1.0
  • +
  • 1.1
  • +
    + kapitanoczywisty.changemapedge.dev Change map edge limit dev build
    \ No newline at end of file diff --git a/LoadFolders.xml b/LoadFolders.xml new file mode 100644 index 0000000..3d1d7f3 --- /dev/null +++ b/LoadFolders.xml @@ -0,0 +1,6 @@ + + +
  • /
  • +
  • v1.1
  • +
    +
    \ No newline at end of file diff --git a/Source/ChangeMapEdge.csproj b/Source/ChangeMapEdge.csproj index 859add7..09bb2a7 100644 --- a/Source/ChangeMapEdge.csproj +++ b/Source/ChangeMapEdge.csproj @@ -9,14 +9,14 @@ Properties ChangeMapEdge ChangeMapEdge - v3.5 + v4.7.2 512 false none false - ..\Assemblies\ + ..\v1.1\Assemblies\ prompt @@ -25,7 +25,7 @@ none true - ..\..\ChangeMapEdge - Release\Assemblies\ + ..\..\ChangeMapEdge - Release\v1.1\Assemblies\ prompt @@ -34,15 +34,19 @@ - ..\..\HugsLib\Assemblies\0Harmony.dll + ..\..\HugsLib\v1.1\Assemblies\0Harmony.dll False ..\..\..\RimWorldWin64_Data\Managed\Assembly-CSharp.dll False + + ..\..\..\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll + False + - ..\..\HugsLib\Assemblies\HugsLib.dll + ..\..\HugsLib\v1.1\Assemblies\HugsLib.dll False @@ -85,7 +89,7 @@ $(SolutionDir)..\..\RimWorldWin.exe - echo F|xcopy "$(ProjectDir)..\About\About-$(ConfigurationName).xml" "$(TargetDir)..\About\About.xml" /C /Y /K /Q /D + \ No newline at end of file diff --git a/Source/ChangeMapEdgeHarmony.cs b/Source/ChangeMapEdgeHarmony.cs index 3b8b33b..0a65d1e 100644 --- a/Source/ChangeMapEdgeHarmony.cs +++ b/Source/ChangeMapEdgeHarmony.cs @@ -1,6 +1,6 @@ using System; using Verse; -using Harmony; +using HarmonyLib; using System.Reflection; using RimWorld; using UnityEngine; @@ -12,7 +12,7 @@ static class ChangeMapEdgeHarmony { static ChangeMapEdgeHarmony() { - HarmonyInstance harmony = HarmonyInstance.Create("rimworld.kapitanoczywisty.changemapedge"); + Harmony harmony = new Harmony("rimworld.kapitanoczywisty.changemapedge"); MethodInfo nobuild_targetmethod = AccessTools.Method(typeof(Verse.GenDraw), "DrawNoBuildEdgeLines"); HarmonyMethod nobuild_prefixmethod = new HarmonyMethod(typeof(ChangeMapEdgeHarmony).GetMethod("DrawNoBuildEdgeLines_Prefix")); diff --git a/v1.1/About/About.xml b/v1.1/About/About.xml new file mode 100644 index 0000000..1be97d0 --- /dev/null +++ b/v1.1/About/About.xml @@ -0,0 +1,7 @@ + + + Change map edge limit - Dev Build + Kapitan Oczywisty + 1.0.2059 + Change map edge limit dev build + \ No newline at end of file diff --git a/v1.1/Assemblies/ChangeMapEdge.dll b/v1.1/Assemblies/ChangeMapEdge.dll new file mode 100644 index 0000000000000000000000000000000000000000..d6bd971dac1d655493696bdb837f2f15ffbe47a0 GIT binary patch literal 7680 zcmeHLeQX=$8Gr81zBq2`)=nB|f%ejrVp8HIX}XrJK$@>MkhGymQwr=Y8Ji{kR*s^Q)u~Q3%haOGMA%ms^j3?++Hhj;;HCjGnE3spUCo z_@$QdS<}_>jy>b(IW4VQmhEX%hUOG3&9t=sJ!4wV&KRlX%cC27)1w1K!;(Tju=jno z?Ck=r*Oo~gM9rY6CF-xb@vGtK!9%oC^yO0AOz_2s7Jz`xO`$_yWKsUF{`x4B(7p`2 zd$`j>^cW{%X*)#Ju$1;;aE&Mukc$A{6~I%TG4BC?vk3q^F;+irV4`V6hf6KFj|y#Z8o&vIVTI5wHW^l&TD+sKzBsQ*1! za{`*7wzcwt`0bUGjYLt{P9h+c+8R3~S_ZS=#>oN9M>mn$MvWa2nkc)Ii`*JxSdezCji{--SH&w!VvTC_e4VeDP zVwE~IuExXhx=L(S3l{?xA^{7ll|{kTtMLdd)R!$_Zo~9A<`7}VY2CVH3&tExt_QS{ zwdk^hEYGR(ToP+Pno!WMJAN&?@&TU|syn{1gfHcUs~lfHQh$P{CV3qc2uTWH@lZS* zM8lB))`s}F2J7$(1956D*Pl#?7b^g?B#J?`v8AX{wfS9nS=|kFYOA%pwj+T zPu17+hV?ILGw(&n0HyH2jM#FZCiXLgPFO*lCm{n}A;a?gl<7qGDU5T{+U4(rRC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