diff options
Diffstat (limited to 'Config.cs')
| -rw-r--r--[-rwxr-xr-x] | Config.cs | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Config.cs b/Config.cs index 3c14fa4..d456269 100755..100644 --- a/Config.cs +++ b/Config.cs @@ -1,8 +1,12 @@ -using SharpPluginLoader.Core.Configuration;
+//#define SHADER_FEATURES
+
+using SharpPluginLoader.Core.Configuration;
using SharpPluginLoader.Core;
namespace WorldTuningTool
{
+ using static Plugin;
+
public enum StageExt : uint
{
Global = 0,
@@ -45,7 +49,7 @@ namespace WorldTuningTool SelianaRoom = 506
}
- internal class Config : IConfig
+ public class Config : IConfig
{
public String Name => "WorldTuningTool";
public String Version => "0.9.4";
@@ -136,6 +140,7 @@ namespace WorldTuningTool public static readonly StageExt[] OrderedStages =
{
+ StageExt.Global,
StageExt.Astera,
StageExt.AsteraHub,
StageExt.ResearchBase,
@@ -177,7 +182,9 @@ namespace WorldTuningTool public struct PatchConfig
{
+#if SHADER_FEATURES
public bool FullResolutionSSLR { get; set; } = false;
+#endif
public bool FullResolutionVolumeBlur { get; set; } = false;
public bool HigherThanHighestVolumeRendering { get; set; } = false;
public bool DisableLODLimits { get; set; } = false;
@@ -188,9 +195,9 @@ namespace WorldTuningTool public PatchConfig Patches { get; set; } = new PatchConfig();
- public Dictionary<string, List<Plugin.Override>> Globals { get; set; } = new Dictionary<string, List<Plugin.Override>>();
+ public Dictionary<string, List<Override>> Globals { get; set; } = new Dictionary<string, List<Override>>();
public string SelectedGlobal { get; set; } = "";
- public Dictionary<StageExt, List<Plugin.Override>> Overrides { get; set; } = new Dictionary<StageExt, List<Plugin.Override>>();
- public Dictionary<string, List<Plugin.Override>> Sets { get; set; } = new Dictionary<string, List<Plugin.Override>>();
+ public Dictionary<StageExt, List<Override>> Overrides { get; set; } = new Dictionary<StageExt, List<Override>>();
+ public Dictionary<string, List<Override>> Sets { get; set; } = new Dictionary<string, List<Override>>();
}
}
|