From e25b11c5acd2629686ea6b5c14b3aac68e768c6c Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Thu, 23 Feb 2023 22:42:58 -0500 Subject: [PATCH] Add menu option for changing disappearing path behavior (#2527) * Adding CVar for z-fighting fix * ultraship update * remove commented out code * formatting --------- Co-authored-by: Bagbar --- soh/soh/GameMenuBar.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/soh/soh/GameMenuBar.cpp b/soh/soh/GameMenuBar.cpp index c97a940ab..96e353f83 100644 --- a/soh/soh/GameMenuBar.cpp +++ b/soh/soh/GameMenuBar.cpp @@ -738,6 +738,13 @@ namespace GameMenuBar { UIWidgets::Tooltip("Changes the rupee in the wallet icon to match the wallet size you currently have"); UIWidgets::PaddedEnhancementCheckbox("Always show dungeon entrances", "gAlwaysShowDungeonMinimapIcon", true, false); UIWidgets::Tooltip("Always shows dungeon entrance icons on the minimap"); + UIWidgets::PaddedText("Fix Vanishing Paths", true, false); + const char* zFightingOptions[3] = { "Disabled", "Consistent Vanish", "No Vanish" }; + UIWidgets::EnhancementCombobox("gDirtPathFix", zFightingOptions, 3, 0); + UIWidgets::Tooltip("Disabled: Paths vanish more the higher the resolution (Z-fighting is based on resolution)\n" + "Consistent: Certain paths vanish the same way in all resolutions\n" + "No Vanish: Paths do not vanish, Link seems to sink in to some paths\n" + "This might affect other decal effects\n"); ImGui::EndMenu(); }