-
-
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.
- Loading branch information
1 parent
bdcf184
commit 1120d42
Showing
16 changed files
with
387 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,3 +73,9 @@ Release/ | |
*.log | ||
TestResult.xml | ||
*.VisualState.xml | ||
|
||
# internal tools | ||
buildRelease.bat | ||
deploy.bat | ||
*.sqlite | ||
*.json |
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
37 changes: 37 additions & 0 deletions
37
GameData/FieldTrainingFacility/FieldTrainingFacility.version
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,37 @@ | ||
{ | ||
"NAME":"FieldTrainingFacility", | ||
"URL":"https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/FieldTrainingFacility.version", | ||
"DOWNLOAD":"https://github.com/zer0Kerbal/FieldTrainingFacility/releases", | ||
"CHANGE_LOG_URL":"https://raw.githubusercontent.com/zer0Kerbal/FieldTrainingFacility/KerbalChangelog.cfg", | ||
"GITHUB": | ||
{ | ||
"USERNAME":"zer0Kerbal", | ||
"REPOSITORY":"FieldTrainingFacility", | ||
"ALLOW_PRE_RELEASE":false | ||
}, | ||
"VERSION": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":1, | ||
"PATCH":0, | ||
"BUILD":3 | ||
}, | ||
"KSP_VERSION": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":7, | ||
"PATCH":3 | ||
}, | ||
"KSP_VERSION_MIN": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":7, | ||
"PATCH":1 | ||
}, | ||
"KSP_VERSION_MAX": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":7, | ||
"PATCH":9999 | ||
} | ||
} |
Empty file.
6 changes: 3 additions & 3 deletions
6
...Data/FieldTrainingFacility/FTFtoLabMM.cfg → .../MM-Patches/PlanetaryBaseInc-KPBS-Lab.cfg
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
6 changes: 3 additions & 3 deletions
6
...ta/FieldTrainingFacility/FTFtoKPBSLab.cfg → ...ity/MM-Patches/Stock-Large_Crewed_Lab.cfg
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,2 @@ | ||
# FieldTrainingFacility | ||
This mod adds training center at laboratory. Paying science point, Gets kerbal experiences |
Empty file.
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,8 @@ | ||
| ||
// This code was generated by a tool. Any changes made manually will be lost | ||
// the next time this code is regenerated. | ||
// | ||
|
||
using System.Reflection; | ||
|
||
[assembly: AssemblyVersion("1.1.0.3")] |
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,96 @@ | ||
<#@ template debug="false" hostspecific="true" language="C#" #> | ||
<#@ import namespace="System.IO" #> | ||
<#@ output extension=".cs" #> | ||
|
||
<# | ||
|
||
// Instructions | ||
// 1. Add a new Text Template to the project | ||
// 2. Copy this file into the new template | ||
// 3. Update the string: versionfile with the complete path to the .version file | ||
// 4. Remove the following line from the file AssemblyInfo.cs (usually located in the "Property" folder inside your C# project): | ||
// [assembly: AssemblyVersion("1.0.0.0")] | ||
// 5. Add the following to the PreBuild steps: | ||
// set textTemplatingPath="%CommonProgramFiles(x86)%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" | ||
// | ||
// if %textTemplatingPath%=="\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" set textTemplatingPath="%CommonProgramFiles%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" | ||
// | ||
// %textTemplatingPath% "$(ProjectDir)AssemblyFileVersion.tt" | ||
|
||
int major = 0; | ||
int minor = 0; | ||
int build = 0; | ||
int patch = 0; | ||
bool versionSection = false; | ||
|
||
int i = 0; | ||
int i2 = 0; | ||
string s; | ||
|
||
// | ||
// Update the following with the complete path to the .version file | ||
// | ||
string versionfile = @"C:\KSP_DEV\Workspace\FieldTrainingFacility\FieldTrainingFacility.version"; | ||
|
||
if (!File.Exists(versionfile)) | ||
{ | ||
Write("File: " + versionfile + " missing\n"); | ||
} | ||
|
||
try | ||
{ | ||
foreach (var line in File.ReadAllLines(versionfile)) | ||
{ | ||
if (line != null) | ||
{ | ||
if (!versionSection) | ||
{ | ||
if (line.Contains("\"VERSION\"")) | ||
versionSection = true; | ||
} | ||
else | ||
{ | ||
if (line.Contains("}")) | ||
versionSection = false; | ||
i = line.IndexOf(":"); | ||
i2 = line.IndexOf(","); | ||
if (i2 == -1) | ||
i2 = line.Length; | ||
if (i >= 0 && i2 >= 0) | ||
{ | ||
s = line.Substring(i + 1, i2 - i - 1); | ||
|
||
if (line.Contains("MAJOR")) | ||
Int32.TryParse(s, out major); | ||
|
||
if (line.Contains("MINOR")) | ||
Int32.TryParse(s, out minor); | ||
|
||
if (line.Contains("PATCH")) | ||
Int32.TryParse(s, out patch); | ||
|
||
if (line.Contains("BUILD")) | ||
Int32.TryParse(s, out build); | ||
} | ||
} | ||
} | ||
} | ||
|
||
} | ||
catch | ||
{ | ||
major = 1; | ||
minor = 0; | ||
patch = 0; | ||
build = 0; | ||
} | ||
//Write("File done"); | ||
|
||
#> | ||
// This code was generated by a tool. Any changes made manually will be lost | ||
// the next time this code is regenerated. | ||
// | ||
|
||
using System.Reflection; | ||
|
||
[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")] |
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
Oops, something went wrong.