Skip to content

Commit

Permalink
Re-Added missing Module Manager CFG file
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyphos committed Nov 25, 2019
1 parent 3124856 commit 875659c
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 3 deletions.
7 changes: 7 additions & 0 deletions GameData/XyphosAerospace/Plugins/SASAG/SASAG.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@PART[*]:HAS[@MODULE[ModuleCommand]]:FINAL
{
MODULE
{
name = SASAG
}
}
Binary file modified GameData/XyphosAerospace/Plugins/SASAG/SASAG.dll
Binary file not shown.
21 changes: 21 additions & 0 deletions GameData/XyphosAerospace/Plugins/SASAG/license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017-2019 William "Xyphos" Scott ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 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("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
7 changes: 7 additions & 0 deletions SASAG.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@PART[*]:HAS[@MODULE[ModuleCommand]]:FINAL
{
MODULE
{
name = SASAG
}
}
5 changes: 4 additions & 1 deletion SASAG.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

using KSP.Localization;

#pragma warning disable IDE0060 // Remove unused parameter
namespace XyphosAerospace
{
Expand Down Expand Up @@ -82,7 +84,8 @@ private void SetSAS(VesselAutopilot.AutopilotMode mode)
ScreenMessages.PostScreenMessage(message: $"Vessel cannot set SAS to {mode}");
return;
}



vessel.ActionGroups.SetGroup(@group: KSPActionGroup.SAS, active: true); // turn on SAS
vessel.Autopilot.Enable(mode: mode); // set SAS mode
}
Expand Down
2 changes: 2 additions & 0 deletions SASAG.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
</ItemGroup>
<ItemGroup>
<Content Include=".gitignore" />
<Content Include="license.txt" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
Expand Down Expand Up @@ -110,6 +111,7 @@
<None Include=".git\refs\remotes\origin\HEAD" />
<None Include="app.config" />
<None Include="LICENSE" />
<None Include="SASAG.cfg" />
</ItemGroup>
<ItemGroup>
<Folder Include=".git\objects\info\" />
Expand Down
21 changes: 21 additions & 0 deletions license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017-2019 William "Xyphos" Scott ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

0 comments on commit 875659c

Please sign in to comment.