diff --git a/.gitignore b/.gitignore index 09d56bf..64c6cd0 100644 --- a/.gitignore +++ b/.gitignore @@ -182,3 +182,8 @@ UpgradeLog*.htm # Microsoft Fakes FakesAssemblies/ GameData/SystemHeat/Parts/@thumbs + +# KSPBuildTools / SDK-style build +/*.props.user +*.binlog +/GameData/SystemHeat/Plugin diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..849cb28 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,7 @@ + + + + + $(MSBuildThisFileDirectory) + + diff --git a/GameData/SystemHeat/Plugin/SystemHeat.dll b/GameData/SystemHeat/Plugin/SystemHeat.dll index ecdb779..4d9ce8e 100644 Binary files a/GameData/SystemHeat/Plugin/SystemHeat.dll and b/GameData/SystemHeat/Plugin/SystemHeat.dll differ diff --git a/SystemHeat.slnx b/SystemHeat.slnx new file mode 100644 index 0000000..2a4dfaa --- /dev/null +++ b/SystemHeat.slnx @@ -0,0 +1,3 @@ + + + diff --git a/SystemHeat/SystemHeat.sln b/SystemHeat/SystemHeat.sln deleted file mode 100644 index 97ceea1..0000000 --- a/SystemHeat/SystemHeat.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual C# Express 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SystemHeat", "SystemHeat\SystemHeat.csproj", "{1C84F8C1-7C2D-4220-98B1-7B3E0EE8416C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1C84F8C1-7C2D-4220-98B1-7B3E0EE8416C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1C84F8C1-7C2D-4220-98B1-7B3E0EE8416C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1C84F8C1-7C2D-4220-98B1-7B3E0EE8416C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1C84F8C1-7C2D-4220-98B1-7B3E0EE8416C}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/SystemHeat/SystemHeat/Properties/AssemblyInfo.cs b/SystemHeat/SystemHeat/Properties/AssemblyInfo.cs deleted file mode 100644 index a50a5d2..0000000 --- a/SystemHeat/SystemHeat/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("SystemHeat")] -[assembly: AssemblyDescription("Heat handling system for Kerbal Space Program")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Area Denial Games")] -[assembly: AssemblyProduct("SystemHeat")] -[assembly: AssemblyCopyright("Copyright ©Chris Adderley 2014")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("623034c4-bd8c-474b-a6d7-e483db87ed5c")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.1.0.0")] -[assembly: AssemblyFileVersion("0.1.0.0")] diff --git a/SystemHeat/SystemHeat/SystemHeat.csproj b/SystemHeat/SystemHeat/SystemHeat.csproj index 087019f..42e3bd5 100644 --- a/SystemHeat/SystemHeat/SystemHeat.csproj +++ b/SystemHeat/SystemHeat/SystemHeat.csproj @@ -1,150 +1,41 @@ - - + - Debug - AnyCPU - 8.0.30703 - 2.0 - {1C84F8C1-7C2D-4220-98B1-7B3E0EE8416C} - Library - Properties - SystemHeat + 0.8.2 SystemHeat - v4.8 - 512 - - - - true - full - false - bin\Release\ - DEBUG;TRACE - prompt - 4 - Off - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false + SystemHeat + net481 + + $(Version) + 1.0.0.0 + $(Version) + + Heat handling system for Kerbal Space Program + Area Denial Games + SystemHeat + Copyright © Chris Adderley 2014 + + $(ProjectRootDir)GameData\SystemHeat + Plugin + + portable + true + CS1591 + - - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\Assembly-CSharp.dll - - - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll - - - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\KSPAssets.dll - - - - - - - - - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.dll - - - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.AnimationModule.dll - - - False - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.AssetBundleModule.dll - - - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.CoreModule.dll - - - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.IMGUIModule.dll - - - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.TextRenderingModule.dll - - - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.UI.dll - - - False - ..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program\KSP_x64_Data\Managed\UnityEngine.UIModule.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + - - - - - - copy /Y "$(TargetDir)$(ProjectName).dll" "$(SolutionDir)\..\GameData\SystemHeat\Plugin\SystemHeat.dll" - - - \ No newline at end of file + diff --git a/SystemHeat/SystemHeat/UI/Overlay/OverlayPanel.cs b/SystemHeat/SystemHeat/UI/Overlay/OverlayPanel.cs index 92b058a..a0af78f 100644 --- a/SystemHeat/SystemHeat/UI/Overlay/OverlayPanel.cs +++ b/SystemHeat/SystemHeat/UI/Overlay/OverlayPanel.cs @@ -1,7 +1,6 @@ using UnityEngine; using UnityEngine.UI; using KSP.Localization; -using System.Data; namespace SystemHeat.UI {