summaryrefslogtreecommitdiff
path: root/Config.cs
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-07-30 14:50:42 -0400
committerAndrew Opalach <andrew@akon.city> 2026-07-30 14:50:42 -0400
commita8c54700446b892efbed2253321a17a4989393a5 (patch)
tree69f18b967e3fa1288d87261888c9042ce38aa32b /Config.cs
parentfd94cced1f434107a18ca3b171a4211107fd2a21 (diff)
downloadWorldTuningTool-a8c54700446b892efbed2253321a17a4989393a5.tar.gz
WorldTuningTool-a8c54700446b892efbed2253321a17a4989393a5.tar.bz2
WorldTuningTool-a8c54700446b892efbed2253321a17a4989393a5.zip
Factor out lights, lots of cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'Config.cs')
-rw-r--r--[-rwxr-xr-x]Config.cs17
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>>();
}
}