From 0179f10166fa229a223ae4617c55fe23e077d6d0 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sun, 11 Jun 2023 14:46:04 -0500 Subject: [PATCH] Improve the fog config option organization --- .../java/com/seibel/lod/core/config/Config.java | 12 ++++++------ .../main/resources/assets/lod/lang/en_us.json | 16 ++++++---------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/core/src/main/java/com/seibel/lod/core/config/Config.java b/core/src/main/java/com/seibel/lod/core/config/Config.java index e6e5057dc..47291ff59 100644 --- a/core/src/main/java/com/seibel/lod/core/config/Config.java +++ b/core/src/main/java/com/seibel/lod/core/config/Config.java @@ -225,12 +225,6 @@ public class Config public static class Fog { - public static ConfigEntry fogDistance = new ConfigEntry.Builder() - .set(EFogDistance.FAR) - .comment("At what distance should Fog be drawn on the LODs?") - .setPerformance(EConfigEntryPerformance.NONE) - .build(); - public static ConfigEntry fogDrawMode = new ConfigEntry.Builder() .set(EFogDrawMode.FOG_ENABLED) .comment("" @@ -245,6 +239,12 @@ public class Config .setPerformance(EConfigEntryPerformance.VERY_LOW) .build(); + public static ConfigEntry fogDistance = new ConfigEntry.Builder() + .set(EFogDistance.FAR) + .comment("At what distance should Fog be drawn on the LODs?") + .setPerformance(EConfigEntryPerformance.NONE) + .build(); + public static ConfigEntry fogColorMode = new ConfigEntry.Builder() .set(EFogColorMode.USE_WORLD_FOG_COLOR) .comment("" diff --git a/core/src/main/resources/assets/lod/lang/en_us.json b/core/src/main/resources/assets/lod/lang/en_us.json index 02d66043a..4a93f39f4 100644 --- a/core/src/main/resources/assets/lod/lang/en_us.json +++ b/core/src/main/resources/assets/lod/lang/en_us.json @@ -90,10 +90,6 @@ "Vertical Quality", "lod.config.client.advanced.graphics.quality.verticalQuality.@tooltip": "How well LODs represent overhangs, caves, cliffsides, etc.\n\nHigher options will increase memory and GPU usage.", - "lod.config.client.advanced.graphics.quality.horizontalScale": - "Horizontal Scale", - "lod.config.client.advanced.graphics.quality.horizontalScale.@tooltip": - "How quickly LODs drop off in quality.\n\nLarger numbers will improve how distant terrain looks\nbut will increase memory and GPU usage.", "lod.config.client.advanced.graphics.quality.horizontalQuality": "Horizontal Quality", "lod.config.client.advanced.graphics.quality.horizontalQuality.@tooltip": @@ -107,16 +103,16 @@ "lod.config.client.advanced.graphics.fog": - "Fog Options", - - "lod.config.client.advanced.graphics.fog.fogDistance": - "Fog Distance", - "lod.config.client.advanced.graphics.fog.fogDistance.@tooltip": - "The distance(s) Fog will be rendered on the LODs.", + "Fog", + "lod.config.client.advanced.graphics.fog.fogDrawMode": "Fog Draw Mode", "lod.config.client.advanced.graphics.fog.fogDrawMode.@tooltip": "When fog will be rendered on the LODs.", + "lod.config.client.advanced.graphics.fog.fogDistance": + "Fog Distance", + "lod.config.client.advanced.graphics.fog.fogDistance.@tooltip": + "The distance(s) Fog will be rendered on the LODs.", "lod.config.client.advanced.graphics.fog.fogColorMode": "Fog Color Mode", "lod.config.client.advanced.graphics.fog.fogColorMode.@tooltip":