-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from cvusmo/dev
Dev
- Loading branch information
Showing
17 changed files
with
622 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.6.33829.357 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FFT", "FFT.csproj", "{A06C1571-D0D1-4873-AC96-D55679AB50F4}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{A06C1571-D0D1-4873-AC96-D55679AB50F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A06C1571-D0D1-4873-AC96-D55679AB50F4}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A06C1571-D0D1-4873-AC96-D55679AB50F4}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A06C1571-D0D1-4873-AC96-D55679AB50F4}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {EFA788CF-0DC4-478A-B919-68F58032113A} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using UnityEngine; | ||
|
||
namespace FFT.Modules | ||
{ | ||
public class Data_FuelTanks : MonoBehaviour | ||
{ | ||
public Dictionary<string, GameObject> fuelTankDict; | ||
|
||
public void Awake() | ||
{ | ||
fuelTankDict = new Dictionary<string, GameObject>(); | ||
|
||
fuelTankDict.Add("CV401", CV401); | ||
fuelTankDict.Add("CV411", CV411); | ||
fuelTankDict.Add("CV421", CV421); | ||
fuelTankDict.Add("SP701", SP701); | ||
fuelTankDict.Add("SR812", SR812); | ||
fuelTankDict.Add("SR812A", SR812A); | ||
fuelTankDict.Add("SR813", SR813); | ||
} | ||
|
||
[SerializeField] | ||
public GameObject CV401; | ||
[SerializeField] | ||
public GameObject CV411; | ||
[SerializeField] | ||
public GameObject CV421; | ||
[SerializeField] | ||
public GameObject SP701; | ||
[SerializeField] | ||
public GameObject SR812; | ||
[SerializeField] | ||
public GameObject SR812A; | ||
[SerializeField] | ||
public GameObject SR813; | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using KSP.Sim; | ||
using KSP.Sim.Definitions; | ||
using UnityEngine; | ||
|
||
namespace FFT.Modules | ||
{ | ||
public class Data_ValveParts : MonoBehaviour | ||
{ | ||
public Dictionary<string, GameObject> ventValveDict; | ||
public void Awake() | ||
{ | ||
ventValveDict = new Dictionary<string, GameObject>(); | ||
|
||
ventValveDict.Add("RF1", RF1); | ||
ventValveDict.Add("RF2", RF2); | ||
} | ||
|
||
[SerializeField] | ||
public GameObject RF1; | ||
[SerializeField] | ||
public GameObject RF2; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using FFT.Modules; | ||
using KSP.Sim; | ||
using KSP.Sim.Definitions; | ||
using System; | ||
using UnityEngine; | ||
|
||
namespace FFT.Modules | ||
{ | ||
[Serializable] | ||
public class Data_VentValve : ModuleData | ||
{ | ||
public override Type ModuleType => typeof(Module_VentValve); | ||
|
||
[KSPState] | ||
public AnimationCurve VFXASLCurve = new AnimationCurve(new Keyframe(0, 1), new Keyframe(1000, 0)); | ||
[KSPState] | ||
public AnimationCurve VFXAGLCurve = new AnimationCurve(new Keyframe(0, 1), new Keyframe(1000, 0)); | ||
[KSPState] | ||
public AnimationCurve VFXVerticalSpeedCurve; | ||
[KSPState] | ||
public AnimationCurve VFXHorizontalSpeedCurve; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.