From a8d52c10595eecd04c117a3e3dad15d8b5f918d2 Mon Sep 17 00:00:00 2001 From: coolGi2007 Date: Thu, 6 Jan 2022 09:58:00 +0000 Subject: [PATCH] Updated lang --- .../config/ILodConfigWrapperSingleton.java | 9 ++++++++- src/main/resources/assets/lod/lang/en_us.json | 6 ++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/seibel/lod/core/wrapperInterfaces/config/ILodConfigWrapperSingleton.java b/src/main/java/com/seibel/lod/core/wrapperInterfaces/config/ILodConfigWrapperSingleton.java index 5f4f335c1..8b2d8092a 100644 --- a/src/main/java/com/seibel/lod/core/wrapperInterfaces/config/ILodConfigWrapperSingleton.java +++ b/src/main/java/com/seibel/lod/core/wrapperInterfaces/config/ILodConfigWrapperSingleton.java @@ -54,6 +54,13 @@ public interface ILodConfigWrapperSingleton IGraphics graphics(); IWorldGenerator worldGenerator(); IAdvanced advanced(); + + + boolean OPTIONS_BUTTON_DEFAULT = true; + String OPTIONS_BUTTON_DESC = "" + + " Show the lod button in the options screen next to fov"; + boolean getOptionsButton(); + void setOptionsButton(boolean newOptionsButton); //==================// @@ -274,7 +281,7 @@ public interface ILodConfigWrapperSingleton + " Higher settings will make terrain look good when looking backwards \n" + " when changing speeds quickly, but will increase upload times and GPU usage."; int getBacksideCullingRange(); - void setBacksideCullingRange(int backsideCullingRange); + void setBacksideCullingRange(int newBacksideCullingRange); boolean USE_EXTENDED_NEAR_CLIP_PLANE_DEFAULT = false; String USE_EXTENDED_NEAR_CLIP_PLANE_DESC = "" diff --git a/src/main/resources/assets/lod/lang/en_us.json b/src/main/resources/assets/lod/lang/en_us.json index 51724f6d2..9bc8fcdc1 100644 --- a/src/main/resources/assets/lod/lang/en_us.json +++ b/src/main/resources/assets/lod/lang/en_us.json @@ -1,8 +1,8 @@ { "lod.title": "Distant Horizons", "DistantHorizons.config.title": "Distant Horizons config", - "DistantHorizons.config.ShowButton": "Show menu button", - "DistantHorizons.config.ShowButton.@tooltip": "Show the custom button to the left of the fov button", + "DistantHorizons.config.optionsButton": "Show options button", + "DistantHorizons.config.optionsButton.@tooltip": "Show the custom button to the left of the fov button", "DistantHorizons.config.client": "Client", "DistantHorizons.config.client.graphics": "Graphics", "DistantHorizons.config.client.graphics.quality": "Quality options", @@ -120,6 +120,8 @@ "DistantHorizons.config.enum.DebugMode.OFF": "Off", "DistantHorizons.config.enum.DebugMode.SHOW_DETAIL": "Show detail", "DistantHorizons.config.enum.DebugMode.SHOW_DETAIL_WIREFRAME": "Show detail with wireframe", + "DistantHorizons.config.enum.DebugMode.SHOW_GENMODE": "Show generation mode", + "DistantHorizons.config.enum.DebugMode.SHOW_GENMODE_WIREFRAME": "Show generation mode with wireframe", "DistantHorizons.config.enum.GpuUploadMethod.AUTO": "Auto", "DistantHorizons.config.enum.GpuUploadMethod.BUFFER_STORAGE": "Buffer storage", "DistantHorizons.config.enum.GpuUploadMethod.SUB_DATA": "Sub data",