-
Notifications
You must be signed in to change notification settings - Fork 9
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
Showing
168 changed files
with
14,496 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
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,5 @@ | ||
################################################################################ | ||
# Ce fichier .gitignore a été automatiquement créé par Microsoft(R) Visual Studio. | ||
################################################################################ | ||
|
||
/.vs |
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,126 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<ProjectGuid>{9AE3EB35-37E3-4DF8-B859-C0B29D6851C6}</ProjectGuid> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<OutputType>Library</OutputType> | ||
<AssemblyName>Assembly-CSharp</AssemblyName> | ||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="UnityEngine"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.CoreModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.CoreModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.UI"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.UI.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.UIModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.UIModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.AudioModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.AudioModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.Physics2DModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.Physics2DModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.TextRenderingModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.TextRenderingModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.ParticleSystemModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.ParticleSystemModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Sirenix.OdinInspector.Attributes"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\Sirenix.OdinInspector.Attributes.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.JSONSerializeModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.JSONSerializeModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.ImageConversionModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.ImageConversionModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.ScreenCaptureModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.ScreenCaptureModule.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.GameCenterModule"> | ||
<HintPath>..\Spaceflight Simulator Pc v1.2\spaceflight simulator pc 1.2_data\Managed\UnityEngine.GameCenterModule.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Blur.cs" /> | ||
<Compile Include="BoolValueHolder.cs" /> | ||
<Compile Include="CelestialBodyData.cs" /> | ||
<Compile Include="Controller.cs" /> | ||
<Compile Include="ControlModule.cs" /> | ||
<Compile Include="CreateRocket.cs" /> | ||
<Compile Include="CustomEvent.cs" /> | ||
<Compile Include="Double3.cs" /> | ||
<Compile Include="Ellipse.cs" /> | ||
<Compile Include="EngineModule.cs" /> | ||
<Compile Include="FloatValueHolder.cs" /> | ||
<Compile Include="GameEvent.cs" /> | ||
<Compile Include="GameEventListener.cs" /> | ||
<Compile Include="GameSaving.cs" /> | ||
<Compile Include="GPGSIds.cs" /> | ||
<Compile Include="HeightMap.cs" /> | ||
<Compile Include="InputController.cs" /> | ||
<Compile Include="Kepler.cs" /> | ||
<Compile Include="LandingLegModule.cs" /> | ||
<Compile Include="LinkModule.cs" /> | ||
<Compile Include="MainMenu.cs" /> | ||
<Compile Include="Map.cs" /> | ||
<Compile Include="Module.cs" /> | ||
<Compile Include="MoveModule.cs" /> | ||
<Compile Include="NewBuildSystem\Build.cs" /> | ||
<Compile Include="NewBuildSystem\Orientation.cs" /> | ||
<Compile Include="NewBuildSystem\PartData.cs" /> | ||
<Compile Include="NewBuildSystem\PartGrid.cs" /> | ||
<Compile Include="NewBuildSystem\PickPartGrid.cs" /> | ||
<Compile Include="NewBuildSystem\PlacedPart.cs" /> | ||
<Compile Include="NewBuildSystem\Utility.cs" /> | ||
<Compile Include="Orbit.cs" /> | ||
<Compile Include="ParachuteModule.cs" /> | ||
<Compile Include="Part.cs" /> | ||
<Compile Include="PartChildCollider.cs" /> | ||
<Compile Include="PartDatabase.cs" /> | ||
<Compile Include="PartsManager.cs" /> | ||
<Compile Include="PlanetManager.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Ref.cs" /> | ||
<Compile Include="ReorderableList.cs" /> | ||
<Compile Include="Resource.cs" /> | ||
<Compile Include="ResourceModule.cs" /> | ||
<Compile Include="Saving.cs" /> | ||
<Compile Include="SeparatorModule.cs" /> | ||
<Compile Include="SimpleReorderableList.cs" /> | ||
<Compile Include="SortingLayerExposer.cs" /> | ||
<Compile Include="Soundtrack.cs" /> | ||
<Compile Include="TextData.cs" /> | ||
<Compile Include="TipsData.cs" /> | ||
<Compile Include="TorqueModule.cs" /> | ||
<Compile Include="Touch.cs" /> | ||
<Compile Include="ValuesModule.cs" /> | ||
<Compile Include="Vessel.cs" /> | ||
<Compile Include="Warning.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
</Project> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 15 | ||
VisualStudioVersion = 15.0.27004.2005 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{9AE3EB35-37E3-4DF8-B859-C0B29D6851C6}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{9AE3EB35-37E3-4DF8-B859-C0B29D6851C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{9AE3EB35-37E3-4DF8-B859-C0B29D6851C6}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{9AE3EB35-37E3-4DF8-B859-C0B29D6851C6}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{9AE3EB35-37E3-4DF8-B859-C0B29D6851C6}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {3A3D0368-D060-40E0-81F0-36EC8D1C5B60} | ||
EndGlobalSection | ||
EndGlobal |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,44 @@ | ||
using Sirenix.OdinInspector; | ||
using System; | ||
using System.IO; | ||
using UnityEngine; | ||
|
||
public class Blur : MonoBehaviour | ||
{ | ||
public Texture2D shade; | ||
|
||
public Texture2D blur; | ||
|
||
public float blurStreght; | ||
|
||
[Button("Generate Shade Texture", ButtonSizes.Small)] | ||
public void Generate() | ||
{ | ||
Texture2D texture2D = new Texture2D(this.shade.width, this.shade.height, TextureFormat.Alpha8, false); | ||
MonoBehaviour.print(texture2D.width + " " + texture2D.height); | ||
texture2D.filterMode = FilterMode.Point; | ||
for (int i = 0; i < this.shade.width; i++) | ||
{ | ||
for (int j = 0; j < this.shade.height; j++) | ||
{ | ||
if (this.blur.GetPixel(i, j).a > 0f) | ||
{ | ||
int num = (int)(this.blur.GetPixel(i, j).a * 12f); | ||
float num2 = 0f; | ||
for (int k = 0; k < num * 2 + 1; k++) | ||
{ | ||
num2 += this.shade.GetPixel(Mathf.Clamp(i - num + k, 0, this.shade.width), j).a; | ||
} | ||
num2 = Mathf.Lerp(this.shade.GetPixel(i, j).a, num2 / (float)(num * 2 + 1), this.blurStreght); | ||
texture2D.SetPixel(i, j, new Color(1f, 1f, 1f, num2)); | ||
} | ||
else | ||
{ | ||
texture2D.SetPixel(i, j, this.shade.GetPixel(i, j)); | ||
} | ||
} | ||
} | ||
texture2D.Apply(); | ||
File.WriteAllBytes(Application.dataPath + "/Textures/Combined.png", texture2D.EncodeToPNG()); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,7 @@ | ||
using System; | ||
|
||
[Serializable] | ||
public class BoolValueHolder | ||
{ | ||
public bool boolValue; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.