Demote runtime player settings projection
This commit is contained in:
parent
ade6845e1d
commit
3f2614cec0
17 changed files with 104 additions and 94 deletions
|
|
@ -105,7 +105,7 @@ public class Galaxy
|
|||
SectorBackgroundSettings background,
|
||||
NameGeneratorSettings nameGeneratorSettings,
|
||||
AetheriaRuntimeCatalogSnapshot runtimeCatalog,
|
||||
PlayerSettings playerSettings,
|
||||
RuntimePlayerSettings playerSettings,
|
||||
DirectoryInfo narrativeDirectory,
|
||||
Action<string> log,
|
||||
Action<string> progressCallback = null,
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@ public class StoryProcessor : IZoneResolver, IFactionResolver
|
|||
public DirectoryInfo NarrativeDirectory { get; }
|
||||
private Random _random;
|
||||
public Galaxy Galaxy { get; }
|
||||
public PlayerSettings Settings { get; }
|
||||
public RuntimePlayerSettings Settings { get; }
|
||||
|
||||
private Action<string> Log { get; }
|
||||
|
||||
public StoryProcessor(PlayerSettings settings, DirectoryInfo narrativeDirectory, Galaxy galaxy, ref Random random, Action<string> log)
|
||||
public StoryProcessor(RuntimePlayerSettings settings, DirectoryInfo narrativeDirectory, Galaxy galaxy, ref Random random, Action<string> log)
|
||||
{
|
||||
NarrativeDirectory = narrativeDirectory;
|
||||
Galaxy = galaxy;
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
|
||||
public class PlayerSettings
|
||||
public class RuntimePlayerSettings
|
||||
{
|
||||
public string Name = "Anonymous";
|
||||
public bool TutorialPassed;
|
||||
public Dictionary<string, string> HashedStoryFiles = new Dictionary<string, string>();
|
||||
public PlayerGameplaySettings GameplaySettings = new PlayerGameplaySettings();
|
||||
public PlayerInputSettings InputSettings = new PlayerInputSettings();
|
||||
public PlayerGraphicsSettings GraphicsSettings = new PlayerGraphicsSettings();
|
||||
public RuntimePlayerGameplaySettings GameplaySettings = new RuntimePlayerGameplaySettings();
|
||||
public RuntimePlayerInputSettings InputSettings = new RuntimePlayerInputSettings();
|
||||
public RuntimePlayerGraphicsSettings GraphicsSettings = new RuntimePlayerGraphicsSettings();
|
||||
|
||||
public string FormatTemperature(float t)
|
||||
{
|
||||
|
|
@ -47,19 +47,19 @@ public class PlayerSettings
|
|||
}
|
||||
}
|
||||
|
||||
public class PlayerGameplaySettings
|
||||
public class RuntimePlayerGameplaySettings
|
||||
{
|
||||
public TemperatureUnit TemperatureUnit = TemperatureUnit.Celsius;
|
||||
public int SignificantDigits = 3;
|
||||
}
|
||||
|
||||
public class PlayerGraphicsSettings
|
||||
public class RuntimePlayerGraphicsSettings
|
||||
{
|
||||
public Quality NebulaQuality = Quality.Normal;
|
||||
public bool ShowAsteroidsInMinimap;
|
||||
}
|
||||
|
||||
public class PlayerInputSettings
|
||||
public class RuntimePlayerInputSettings
|
||||
{
|
||||
public Dictionary<(string action, int binding), string> InputActionMap = new Dictionary<(string action, int binding), string>();
|
||||
public List<string> ActionBarInputs = new List<string>();
|
||||
Loading…
Reference in a new issue