From 63574c22aa5b287ddff18adbc8902f8d791cd231 Mon Sep 17 00:00:00 2001 From: Sam Byass Date: Mon, 2 Mar 2020 20:39:13 +0000 Subject: [PATCH] Add harmony dep, make stages dispatch updates, better warning message --- About/About.xml | 11 ++++ Source/BetterLoading.csproj | 3 +- Source/BetterLoadingApi.cs | 19 ++++++- Source/BetterLoadingMain.cs | 40 ++++++++++----- Source/Compat/HugsLib/StageHugsLibInit.cs | 28 ++++++---- Source/Folder.DotSettings.user | 2 + Source/LoadingScreen.cs | 51 +++++++++++++++++-- Source/Stage/InitialLoad/0StageInitMods.cs | 5 ++ Source/Stage/InitialLoad/1StageReadXML.cs | 4 ++ Source/Stage/InitialLoad/2StageUnifyXML.cs | 6 ++- .../Stage/InitialLoad/3StageApplyPatches.cs | 11 ++++ .../Stage/InitialLoad/4StageRegisterDefs.cs | 9 ++++ .../Stage/InitialLoad/5StageConstructDefs.cs | 5 ++ .../InitialLoad/6StageResolveDefDatabases.cs | 11 +++- .../7StageRunPostLoadPreFinalizeCallbacks.cs | 29 +++++++---- .../InitialLoad/8StageRunStaticCctors.cs | 40 +++++++++------ .../9StageRunPostFinalizeCallbacks.cs | 21 ++++++-- Source/ToExecuteWhenFinishedHandler.cs | 5 +- 18 files changed, 237 insertions(+), 63 deletions(-) create mode 100644 Source/Folder.DotSettings.user diff --git a/About/About.xml b/About/About.xml index 09587a1..74f411d 100755 --- a/About/About.xml +++ b/About/About.xml @@ -12,6 +12,17 @@
  • Ludeon.RimWorld
  • UnlimitedHugs.HugsLib
  • + +
  • brrainz.harmony
  • +
    + +
  • + brrainz.harmony + Harmony + steam://url/CommunityFilePage/2009463077 + https://github.com/pardeike/HarmonyRimWorld/releases/latest +
  • +
    An enhanced loading screen. \ No newline at end of file diff --git a/Source/BetterLoading.csproj b/Source/BetterLoading.csproj index 7a58250..0a998b2 100755 --- a/Source/BetterLoading.csproj +++ b/Source/BetterLoading.csproj @@ -46,6 +46,7 @@ ../../../RimWorldLinux_Data/Managed/UnityEngine.dll ..\..\..\RimWorldWin64_Data\Managed\UnityEngine.dll + False ../../../RimWorldLinux_Data/Managed/UnityEngine.CoreModule.dll @@ -89,7 +90,7 @@ - +