Skip to content

Commit

Permalink
Use ROUtils for ResourceUnitInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanKell committed Nov 8, 2023
1 parent 71573ad commit 2b0515b
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 307 deletions.
6 changes: 1 addition & 5 deletions Source/Harmony/KSPUtil.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using HarmonyLib;
using KSP.Localization;
using KSP.UI.Screens;
using System.Reflection.Emit;
using System.Reflection;
using System.Collections.Generic;
using ROUtils;

namespace RealismOverhaul.Harmony
{
Expand Down
1 change: 1 addition & 0 deletions Source/Harmony/ModuleEngines.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using HarmonyLib;
using KSP.Localization;
using ROUtils;

namespace RealismOverhaul.Harmony
{
Expand Down
1 change: 1 addition & 0 deletions Source/Harmony/ModuleRCS.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using HarmonyLib;
using KSP.Localization;
using ROUtils;

namespace RealismOverhaul.Harmony
{
Expand Down
3 changes: 1 addition & 2 deletions Source/Harmony/ModuleResource.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using HarmonyLib;
using UnityEngine;
using System.Reflection;
using ROUtils;

namespace RealismOverhaul.Harmony
{
Expand Down
2 changes: 1 addition & 1 deletion Source/Harmony/PartLoader.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using HarmonyLib;
using KSP.Localization;
using System.Collections.Generic;
using ROUtils;

namespace RealismOverhaul.Harmony
{
Expand Down
1 change: 1 addition & 0 deletions Source/Harmony/ResourceItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Reflection.Emit;
using System.Reflection;
using System.Collections.Generic;
using ROUtils;

namespace RealismOverhaul.Harmony
{
Expand Down
1 change: 1 addition & 0 deletions Source/Harmony/UIPartActionResource.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using HarmonyLib;
using ROUtils;

namespace RealismOverhaul.Harmony
{
Expand Down
1 change: 1 addition & 0 deletions Source/Harmony/UIPartActionResourceEditor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using HarmonyLib;
using UnityEngine;
using ROUtils;

namespace RealismOverhaul.Harmony
{
Expand Down
2 changes: 2 additions & 0 deletions Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@
[assembly: AssemblyFileVersion("14.99.0.0")]
[assembly: KSPAssembly("RealismOverhaul", 14, 99)]
#endif

[assembly: KSPAssemblyDependency("ROUtils", 1, 0, 1)]
5 changes: 4 additions & 1 deletion Source/RealismOverhaul.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<Compile Include="Harmony\ResourceItem.cs" />
<Compile Include="Harmony\ModuleRCS.cs" />
<Compile Include="Harmony\ModuleResource.cs" />
<Compile Include="ResourceUnitInfo.cs" />
<Compile Include="DynamicBatteryStorageNuker.cs" />
<Compile Include="EjectionSeat\CrewEjectionHandler.cs" />
<Compile Include="HarmonyPatcher.cs" />
Expand Down Expand Up @@ -82,6 +81,10 @@
<Reference Include="Assembly-CSharp">
<Private>False</Private>
</Reference>
<Reference Include="ROUtils">
<HintPath>..\..\..\..\..\..\Games\R112\GameData\ROUtils\Plugins\ROUtils.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System">
<Private>False</Private>
</Reference>
Expand Down
298 changes: 0 additions & 298 deletions Source/ResourceUnitInfo.cs

This file was deleted.

0 comments on commit 2b0515b

Please sign in to comment.