Skip to content

Commit

Permalink
Remove BARIS dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel-125 committed Jun 20, 2022
1 parent 2849caf commit f42a8be
Show file tree
Hide file tree
Showing 52 changed files with 483 additions and 242 deletions.
4 changes: 0 additions & 4 deletions DSEVUtils/DSEVUtils.csproj
Expand Up @@ -110,10 +110,6 @@
<Compile Include="Parts\WBIFixedHeatRadiator.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\BARIS\BARISBridge\BARISBridge.csproj">
<Project>{8D46364B-4F22-403D-84E3-C2DCA8E49A4A}</Project>
<Name>BARISBridge</Name>
</ProjectReference>
<ProjectReference Include="..\..\WildBlueTools\WildBlueTools.csproj">
<Project>{CC0BDF1A-9641-4628-9F0F-3500DDC99534}</Project>
<Name>WildBlueTools</Name>
Expand Down
38 changes: 38 additions & 0 deletions DSEVUtils/Parts/WBIDynamicHeatShield.cs
Expand Up @@ -11,6 +11,15 @@ public class WBIDynamicHeatShield: PartModule
[KSPField()]
public float maxTemp = 3400f;

/*
/// <summary>
/// The activation switch.
/// </summary>
[KSPField(isPersistant = true, guiName = "Magneto Plasma Shield", guiActive = true)]
[UI_Toggle(enabledText = "Enabled", disabledText = "Disabled")]
public bool isActivated = true;
*/

public override void OnStart(StartState state)
{
base.OnStart(state);
Expand All @@ -24,5 +33,34 @@ public override void OnStart(StartState state)
part.vessel.parts[index].skinMaxTemp = maxTemp;
}
}

private ConfigNode getPartConfigNode()
{
if (!HighLogic.LoadedSceneIsEditor && !HighLogic.LoadedSceneIsFlight)
return null;
if (this.part.partInfo.partConfig == null)
return null;
ConfigNode[] nodes = this.part.partInfo.partConfig.GetNodes("MODULE");
ConfigNode partConfigNode = null;
ConfigNode node = null;
string moduleName;

//Get the switcher config node.
for (int index = 0; index < nodes.Length; index++)
{
node = nodes[index];
if (node.HasValue("name"))
{
moduleName = node.GetValue("name");
if (moduleName == this.ClassName)
{
partConfigNode = node;
break;
}
}
}

return partConfigNode;
}
}
}
Binary file removed DSEVUtils/bin/Debug/BARISBridge.dll
Binary file not shown.
Binary file removed DSEVUtils/bin/Debug/BARISBridge.pdb
Binary file not shown.
Binary file modified DSEVUtils/bin/Debug/DSEVUtils.dll
Binary file not shown.
Binary file modified DSEVUtils/bin/Debug/DSEVUtils.pdb
Binary file not shown.
Binary file removed DSEVUtils/bin/Debug/MarkdownSeparator.exe
Binary file not shown.
1 change: 0 additions & 1 deletion DSEVUtils/bin/Debug/RunMDSeparator.bat

This file was deleted.

1 change: 0 additions & 1 deletion DSEVUtils/bin/Debug/RunPowershell.bat

This file was deleted.

Binary file modified DSEVUtils/bin/Debug/WildBlueTools.dll
Binary file not shown.
Binary file modified DSEVUtils/bin/Debug/WildBlueTools.pdb
Binary file not shown.
18 changes: 0 additions & 18 deletions DSEVUtils/bin/Debug/xmldoc2md.ps1

This file was deleted.

182 changes: 0 additions & 182 deletions DSEVUtils/bin/Debug/xmldoc2md.xsl

This file was deleted.

@@ -1 +1 @@
75179ff9e56cd0ca92eb4daff8a00519ec870034
7dea6535aaf2267e7261e1865a4b2f9483d84c9b
49 changes: 21 additions & 28 deletions DSEVUtils/obj/Debug/DSEVUtils.csproj.FileListAbsolute.txt
@@ -1,13 +1,7 @@
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\MarkdownSeparator.exe
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\xmldoc2md.xsl
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\RunMDSeparator.bat
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\RunPowershell.bat
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\xmldoc2md.ps1
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\DSEVUtils.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\DSEVUtils.pdb
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\Assembly-CSharp-firstpass.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\Assembly-CSharp.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\BARISBridge.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\KSPAssets.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.AnimationModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.AudioModule.dll
Expand All @@ -23,59 +17,58 @@ C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UIModule
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\WildBlueTools.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UnityWebRequestWWWModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.ParticleSystemModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UnityWebRequestModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\KSPTrackIR.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UnityWebRequestModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.AssetBundleModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\Mono.Cecil.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.VehiclesModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\Ionic.Zip.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\Unity.Analytics.DataPrivacy.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.ScreenCaptureModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\Unity.Analytics.StandardEvents.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UnityAnalyticsModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\Unity.Analytics.DataPrivacy.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.VRModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UnityWebRequestTextureModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UnityWebRequestAudioModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UnityWebRequestAssetBundleModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\TDx.TDxInput.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.Physics2DModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.SharedInternalsModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.JSONSerializeModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.TextCoreModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.JSONSerializeModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.XRModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.DSPGraphModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.AndroidJNIModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.AccessibilityModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UnityConnectModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.AIModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.AndroidJNIModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.PerformanceReportingModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.ClothModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.ClusterInputModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.DirectorModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.DSPGraphModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.ClusterRendererModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.CrashReportingModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.TilemapModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.TerrainModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.VFXModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.VideoModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.GridModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.SubsystemsModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.LocalizationModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UNETModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.DirectorModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.GameCenterModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.SpriteMaskModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.SpriteShapeModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.StreamingModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.TerrainModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.TerrainPhysicsModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.TilemapModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UnityConnectModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.VFXModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.VideoModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.SpriteShapeModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.WindModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.ClothModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.GameCenterModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.InputModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.TextCoreModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.UNETModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.ARModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.ClusterRendererModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.CrashReportingModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.PerformanceReportingModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\BARISBridge.pdb
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.InputModule.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\WildBlueTools.pdb
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\KSPAssets.XmlSerializers.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\obj\Debug\DSEVUtils.csprojAssemblyReference.cache
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\obj\Debug\DSEVUtils.csproj.CoreCompileInputs.cache
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\obj\Debug\DSEVUtils.csproj.CopyComplete
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\obj\Debug\DSEVUtils.dll
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\obj\Debug\DSEVUtils.pdb
C:\Projects\KSP\WildBlueIndustries\DSEV\DSEVUtils\bin\Debug\UnityEngine.SubsystemsModule.dll
Binary file modified DSEVUtils/obj/Debug/DSEVUtils.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified DSEVUtils/obj/Debug/DSEVUtils.dll
Binary file not shown.
Binary file modified DSEVUtils/obj/Debug/DSEVUtils.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit f42a8be

Please sign in to comment.