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
32 changes: 6 additions & 26 deletions FinalFrontierAdapter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,38 +31,18 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\1.1.2-0_development\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\1.1.2-0_development\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="KSPAssets">
<HintPath>..\..\..\1.1.2-0_development\KSP_x64_Data\Managed\KSPAssets.dll</HintPath>
<Reference Include="Assembly-CSharp">
<HintPath>C:\Users\jpmac\Desktop\Games\SteamLibrary\steamapps\common\Kerbal Space Program\KSP_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="KSPCore">
<HintPath>..\..\..\1.1.2-0_development\KSP_x64_Data\Managed\KSPCore.dll</HintPath>
<HintPath>C:\Users\jpmac\Desktop\Games\SteamLibrary\steamapps\common\Kerbal Space Program\KSP_Data\Managed\KSPCore.dll</HintPath>
</Reference>
<Reference Include="KSPUtil">
<HintPath>..\..\..\1.1.2-0_development\KSP_x64_Data\Managed\KSPUtil.dll</HintPath>
<HintPath>C:\Users\jpmac\Desktop\Games\SteamLibrary\steamapps\common\Kerbal Space Program\KSP_Data\Managed\KSPUtil.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\1.1.2-0_development\KSP_x64_Data\Managed\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Networking">
<HintPath>..\..\..\1.1.2-0_development\KSP_x64_Data\Managed\UnityEngine.Networking.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>..\..\..\1.1.2-0_development\KSP_x64_Data\Managed\UnityEngine.UI.dll</HintPath>
<Reference Include="UnityEngine">
<HintPath>C:\Users\jpmac\Desktop\Games\SteamLibrary\steamapps\common\Kerbal Space Program\KSP_Data\Managed\UnityEngine.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
22 changes: 22 additions & 0 deletions FinalFrontierAdapter.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FinalFrontierAdapter", "FinalFrontierAdapter.csproj", "{E44ECC7F-0A53-4FFE-87DC-A17DBDB8FF78}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E44ECC7F-0A53-4FFE-87DC-A17DBDB8FF78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E44ECC7F-0A53-4FFE-87DC-A17DBDB8FF78}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E44ECC7F-0A53-4FFE-87DC-A17DBDB8FF78}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E44ECC7F-0A53-4FFE-87DC-A17DBDB8FF78}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FinalFrontierAdapter")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyCopyright("Copyright © 2016 Nereid & CaptainSwag101")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
6 changes: 3 additions & 3 deletions src/Example.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ namespace MyPlugin
class Example : MonoBehaviour
{
// place your ribbon png files (size 120x32 pixel) here...
private const String RIBBON_BASE = "MyPluginInGameData/Ribbons/";
private const string RIBBON_BASE = "MyPluginInGameData/Ribbons/";

// UNIQUE (!) ribbon code
private const String RIBBON_CODE = "KSP";
private const string RIBBON_CODE = "KSP";
// UNIQUE (!) custom ribbon id (used for custom ribbons only)
private const int RIBBON_ID = 1001;

Expand All @@ -29,7 +29,7 @@ public void Start()
// create the adapter
this.adapter = new FinalFrontierAdapter();
// plugin to Final Frontier
this.adapter.Plugin();
this.adapter.TryInstallPlugin();

// optional: log the version of Final Frontier
Debug.Log("Final Frontier version: "+adapter.GetVersion());
Expand Down
Loading