Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<name>Progress Renderer</name>
<author>Lanilor</author>
<url>https://github.com/Lanilor/Progress-Renderer</url>
<targetVersion>1.0.2096</targetVersion>
<targetVersion>1.1</targetVersion>
<description>
&lt;size=20&gt;Progress Renderer (scheduled map renderings)&lt;/size&gt;

Expand Down
Binary file removed Assemblies/0Harmony.dll
Binary file not shown.
Binary file removed Assemblies/0System.Drawing.dll
Binary file not shown.
Binary file modified Assemblies/ProgressRenderer.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/Harmony_Patches/Harmony.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Reflection;
using Harmony;
using HarmonyLib;
using Verse;

namespace ProgressRenderer
Expand All @@ -11,7 +11,7 @@ class Harmony

static Harmony()
{
HarmonyInstance harmony = HarmonyInstance.Create("rimworld.lanilor.progressrenderer");
var harmony = new HarmonyLib.Harmony("rimworld.lanilor.progressrenderer");
harmony.PatchAll(Assembly.GetExecutingAssembly());

//harmony.Patch(AccessTools.Method(AccessTools.TypeByName("RiverMaker"), "ValidatePassage"), null, new HarmonyMethod(typeof(Harmony_RiverMaker_ValidatePassage), "Postfix"));
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_AreaManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using RimWorld;
using RimWorld.Planet;
using Verse;
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_DeepResourceGrid.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using Verse;

namespace ProgressRenderer
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_DesignationManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using Verse;

namespace ProgressRenderer
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_DesignatorManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using Verse;

namespace ProgressRenderer
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_EnvironmentStatsDrawer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using RimWorld;
using Verse;

Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_GameConditionManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using RimWorld;
using RimWorld.Planet;
using Verse;
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_MainMenuDrawer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using RimWorld;
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_MapEdgeClipDrawer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using RimWorld;
using RimWorld.Planet;
using Verse;
Expand Down
5 changes: 2 additions & 3 deletions Source/Harmony_Patches/Harmony_OverlayDrawHandler.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
using Harmony;
using HarmonyLib;
using Verse;
using RimWorld;

namespace ProgressRenderer
{

[HarmonyPatch(typeof(OverlayDrawHandler))]
[HarmonyPatch("ShouldDrawPowerGrid", PropertyMethod.Getter)]
[HarmonyPatch(typeof(OverlayDrawHandler), "ShouldDrawPowerGrid", MethodType.Getter)]
public class Harmony_OverlayDrawHandler_ShouldDrawPowerGrid
{

Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_OverlayDrawer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using RimWorld;
using RimWorld.Planet;
using Verse;
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_RoofGrid.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using Verse;

namespace ProgressRenderer
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_ScreenshotModeHandler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using UnityEngine;
using Verse;

Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_SelectionDrawer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using RimWorld;
using Verse;

Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony_Patches/Harmony_Targeter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Harmony;
using HarmonyLib;
using RimWorld;
using Verse;

Expand Down
2 changes: 1 addition & 1 deletion Source/MapComponents/MapComponent_RenderManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using System.Threading;
using FluxJpeg.Core;
using FluxJpeg.Core.Encoder;
using Harmony;
using HarmonyLib;
using RimWorld;
using RimWorld.Planet;
using UnityEngine;
Expand Down
107 changes: 107 additions & 0 deletions Source/ProgressRenderer.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9B308CE3-3B6F-4A8F-A81E-BFEF49B7DCB0}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ProgressRenderer</RootNamespace>
<AssemblyName>ProgressRenderer</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="0Harmony, Version=2.0.0.7, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\Lib.Harmony.2.0.0.7\lib\net472\0Harmony.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="FJ.CoreWin">
<HintPath>..\Assemblies\FJ.CoreWin.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.InteropServices.RuntimeInformation" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine">
<HintPath>..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ImageConversionModule">
<HintPath>..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.ImageConversionModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.IMGUIModule">
<HintPath>..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextRenderingModule">
<HintPath>..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="DefOf\DesignationDefOf.cs" />
<Compile Include="DefOf\KeyBindingDefOf.cs" />
<Compile Include="Designator\Designator_CornerMarker.cs" />
<Compile Include="Designator\Designator_CornerMarkerAdd.cs" />
<Compile Include="Designator\Designator_CornerMarkerRemove.cs" />
<Compile Include="Enum\FileNamePattern.cs" />
<Compile Include="Enum\RenderFeedback.cs" />
<Compile Include="Extension\Listing_StandardExtension.cs" />
<Compile Include="Gen\MoreGenDate.cs" />
<Compile Include="Harmony_Patches\Harmony.cs" />
<Compile Include="Harmony_Patches\Harmony_AreaManager.cs" />
<Compile Include="Harmony_Patches\Harmony_DeepResourceGrid.cs" />
<Compile Include="Harmony_Patches\Harmony_DesignationManager.cs" />
<Compile Include="Harmony_Patches\Harmony_DesignatorManager.cs" />
<Compile Include="Harmony_Patches\Harmony_EnvironmentStatsDrawer.cs" />
<Compile Include="Harmony_Patches\Harmony_GameConditionManager.cs" />
<Compile Include="Harmony_Patches\Harmony_MainMenuDrawer.cs" />
<Compile Include="Harmony_Patches\Harmony_MapEdgeClipDrawer.cs" />
<Compile Include="Harmony_Patches\Harmony_OverlayDrawer.cs" />
<Compile Include="Harmony_Patches\Harmony_OverlayDrawHandler.cs" />
<Compile Include="Harmony_Patches\Harmony_RoofGrid.cs" />
<Compile Include="Harmony_Patches\Harmony_ScreenshotModeHandler.cs" />
<Compile Include="Harmony_Patches\Harmony_SelectionDrawer.cs" />
<Compile Include="Harmony_Patches\Harmony_Targeter.cs" />
<Compile Include="MapComponents\MapComponent_RenderManager.cs" />
<Compile Include="Mod\PRMod.cs" />
<Compile Include="Mod\PRModSettings.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="UI\MoreWidgets.cs" />
<Compile Include="UI\SmallMessageBox.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
4 changes: 4 additions & 0 deletions Source/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Lib.Harmony" version="2.0.0.7" targetFramework="net472" />
</packages>