mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Make all classes public
This commit is contained in:
parent
59ef3a2658
commit
0a548d5f12
@ -5,7 +5,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Atmosphere
|
||||
{
|
||||
static class AirBuilder
|
||||
public static class AirBuilder
|
||||
{
|
||||
public static void Make(GameObject body, Sector sector, AtmosphereModule.AirInfo info)
|
||||
{
|
||||
|
||||
@ -4,7 +4,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Atmosphere
|
||||
{
|
||||
static class AtmosphereBuilder
|
||||
public static class AtmosphereBuilder
|
||||
{
|
||||
public static void Make(GameObject body, Sector sector, AtmosphereModule atmosphereModule, float surfaceSize)
|
||||
{
|
||||
|
||||
@ -8,7 +8,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Atmosphere
|
||||
{
|
||||
static class CloudsBuilder
|
||||
public static class CloudsBuilder
|
||||
{
|
||||
private static Shader _sphereShader = null;
|
||||
public static void Make(GameObject body, Sector sector, AtmosphereModule atmo, IModBehaviour mod)
|
||||
|
||||
@ -6,7 +6,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Atmosphere
|
||||
{
|
||||
static class EffectsBuilder
|
||||
public static class EffectsBuilder
|
||||
{
|
||||
public static void Make(GameObject body, Sector sector, AtmosphereModule.AirInfo info, float surfaceSize)
|
||||
{
|
||||
|
||||
@ -10,7 +10,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Atmosphere
|
||||
{
|
||||
static class FogBuilder
|
||||
public static class FogBuilder
|
||||
{
|
||||
public static void Make(GameObject body, Sector sector, AtmosphereModule atmo)
|
||||
{
|
||||
|
||||
@ -5,7 +5,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Atmosphere
|
||||
{
|
||||
static class SunOverrideBuilder
|
||||
public static class SunOverrideBuilder
|
||||
{
|
||||
public static void Make(GameObject body, Sector sector, AtmosphereModule atmo, float surfaceSize)
|
||||
{
|
||||
|
||||
@ -6,7 +6,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Atmosphere
|
||||
{
|
||||
static class VolumesBuilder
|
||||
public static class VolumesBuilder
|
||||
{
|
||||
public static void Make(GameObject body, float innerRadius, float outerRadius, bool useMiniMap)
|
||||
{
|
||||
|
||||
@ -14,7 +14,7 @@ using NewHorizons.Handlers;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class AsteroidBeltBuilder
|
||||
public static class AsteroidBeltBuilder
|
||||
{
|
||||
public static void Make(string bodyName, IPlanetConfig parentConfig, IModBehaviour mod)
|
||||
{
|
||||
|
||||
@ -9,7 +9,7 @@ using UnityEngine;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class CloakBuilder
|
||||
public static class CloakBuilder
|
||||
{
|
||||
public static void Make(GameObject body, Sector sector, float radius)
|
||||
{
|
||||
|
||||
@ -8,7 +8,7 @@ using Random = UnityEngine.Random;
|
||||
|
||||
namespace NewHorizons.Builder.Body.Geometry
|
||||
{
|
||||
static class Icosphere
|
||||
public static class Icosphere
|
||||
{
|
||||
private static readonly float t = (1f + Mathf.Sqrt(5f)) / 2f;
|
||||
// By subdivisions, will add to this to memoize computation of icospheres
|
||||
|
||||
@ -3,7 +3,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class GeometryBuilder
|
||||
public static class GeometryBuilder
|
||||
{
|
||||
public static void Make(GameObject body, Sector sector, float groundScale)
|
||||
{
|
||||
|
||||
@ -13,7 +13,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class HeightMapBuilder
|
||||
public static class HeightMapBuilder
|
||||
{
|
||||
public static Shader PlanetShader;
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class LavaBuilder
|
||||
public static class LavaBuilder
|
||||
{
|
||||
public static void Make(GameObject go, Sector sector, OWRigidbody rb, LavaModule module)
|
||||
{
|
||||
|
||||
@ -9,7 +9,7 @@ using UnityEngine;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class ProcGenBuilder
|
||||
public static class ProcGenBuilder
|
||||
{
|
||||
public static void Make(GameObject go, Sector sector, ProcGenModule module)
|
||||
{
|
||||
|
||||
@ -14,7 +14,7 @@ using NewHorizons.Components.SizeControllers;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class RingBuilder
|
||||
public static class RingBuilder
|
||||
{
|
||||
public static Shader RingShader;
|
||||
public static Shader RingShader1Pixel;
|
||||
|
||||
@ -9,7 +9,7 @@ using UnityEngine;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class SandBuilder
|
||||
public static class SandBuilder
|
||||
{
|
||||
public static void Make(GameObject go, Sector sector, OWRigidbody rb, SandModule module)
|
||||
{
|
||||
|
||||
@ -12,7 +12,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class SingularityBuilder
|
||||
public static class SingularityBuilder
|
||||
{
|
||||
enum Polarity
|
||||
{
|
||||
|
||||
@ -14,7 +14,7 @@ using NewHorizons.Components.SizeControllers;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class StarBuilder
|
||||
public static class StarBuilder
|
||||
{
|
||||
public const float OuterRadiusRatio = 1.5f;
|
||||
private static Texture2D _colorOverTime;
|
||||
|
||||
@ -9,7 +9,7 @@ using NewHorizons.Components.SizeControllers;
|
||||
|
||||
namespace NewHorizons.Builder.Body
|
||||
{
|
||||
static class WaterBuilder
|
||||
public static class WaterBuilder
|
||||
{
|
||||
public static void Make(GameObject go, Sector sector, OWRigidbody rb, WaterModule module)
|
||||
{
|
||||
|
||||
@ -6,7 +6,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.General
|
||||
{
|
||||
static class AmbientLightBuilder
|
||||
public static class AmbientLightBuilder
|
||||
{
|
||||
public static void Make(GameObject body, Sector sector, float scale)
|
||||
{
|
||||
|
||||
@ -9,7 +9,7 @@ using NewHorizons.Components.Orbital;
|
||||
|
||||
namespace NewHorizons.Builder.General
|
||||
{
|
||||
static class AstroObjectBuilder
|
||||
public static class AstroObjectBuilder
|
||||
{
|
||||
public static NHAstroObject Make(GameObject body, AstroObject primaryBody, IPlanetConfig config)
|
||||
{
|
||||
|
||||
@ -12,7 +12,7 @@ using NewHorizons.External.Configs;
|
||||
|
||||
namespace NewHorizons.Builder.General
|
||||
{
|
||||
static class DetectorBuilder
|
||||
public static class DetectorBuilder
|
||||
{
|
||||
public static GameObject Make(GameObject body, OWRigidbody OWRB, AstroObject primaryBody, AstroObject astroObject, IPlanetConfig config)
|
||||
{
|
||||
|
||||
@ -9,7 +9,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.General
|
||||
{
|
||||
static class GravityBuilder
|
||||
public static class GravityBuilder
|
||||
{
|
||||
public static GravityVolume Make(GameObject body, AstroObject ao, IPlanetConfig config)
|
||||
{
|
||||
|
||||
@ -5,7 +5,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.General
|
||||
{
|
||||
static class RFVolumeBuilder
|
||||
public static class RFVolumeBuilder
|
||||
{
|
||||
public static void Make(GameObject body, OWRigidbody rigidbody, float sphereOfInfluence)
|
||||
{
|
||||
|
||||
@ -6,7 +6,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.General
|
||||
{
|
||||
static class MakeSector
|
||||
public static class MakeSector
|
||||
{
|
||||
public static Sector Make(GameObject body, OWRigidbody rigidbody, float sphereOfInfluence)
|
||||
{
|
||||
|
||||
@ -7,7 +7,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.General
|
||||
{
|
||||
static class SpawnPointBuilder
|
||||
public static class SpawnPointBuilder
|
||||
{
|
||||
private static bool suitUpQueued = false;
|
||||
public static SpawnPoint Make(GameObject body, SpawnModule module, OWRigidbody rb)
|
||||
|
||||
@ -15,7 +15,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Builder.Orbital
|
||||
{
|
||||
static class FocalPointBuilder
|
||||
public static class FocalPointBuilder
|
||||
{
|
||||
public static void Make(GameObject go, AstroObject ao, IPlanetConfig config, IModBehaviour mod)
|
||||
{
|
||||
|
||||
@ -13,7 +13,7 @@ using NewHorizons.Components.Orbital;
|
||||
|
||||
namespace NewHorizons.Builder.Orbital
|
||||
{
|
||||
static class InitialMotionBuilder
|
||||
public static class InitialMotionBuilder
|
||||
{
|
||||
public static InitialMotion Make(GameObject body, AstroObject primaryBody, AstroObject secondaryBody, OWRigidbody OWRB, OrbitModule orbit)
|
||||
{
|
||||
|
||||
@ -9,7 +9,7 @@ using System;
|
||||
|
||||
namespace NewHorizons.Builder.Orbital
|
||||
{
|
||||
static class OrbitlineBuilder
|
||||
public static class OrbitlineBuilder
|
||||
{
|
||||
public static OrbitLine Make(GameObject body, NHAstroObject astroObject, bool isMoon, IPlanetConfig config)
|
||||
{
|
||||
|
||||
@ -11,7 +11,7 @@ using Logger = NewHorizons.Utility.Logger;
|
||||
|
||||
namespace NewHorizons.Handlers
|
||||
{
|
||||
static class PlanetDestructionHandler
|
||||
public static class PlanetDestructionHandler
|
||||
{
|
||||
private static readonly string[] _solarSystemBodies = new string[]
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
namespace NewHorizons.Utility
|
||||
{
|
||||
static class AddDebugShape
|
||||
public static class AddDebugShape
|
||||
{
|
||||
public static GameObject AddSphere(GameObject obj, float radius, Color color)
|
||||
{
|
||||
|
||||
@ -6,7 +6,7 @@ using UnityEngine;
|
||||
|
||||
namespace NewHorizons.Utility
|
||||
{
|
||||
static class ImageUtilities
|
||||
public static class ImageUtilities
|
||||
{
|
||||
private static Dictionary<string, Texture2D> _loadedTextures = new Dictionary<string, Texture2D>();
|
||||
private static List<Texture2D> _generatedTextures = new List<Texture2D>();
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
namespace NewHorizons.Utility
|
||||
{
|
||||
class MakeMeshDoubleFaced : MonoBehaviour
|
||||
public class MakeMeshDoubleFaced : MonoBehaviour
|
||||
{
|
||||
private void Start()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user