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 <ckonrad86@gmx.de>
This commit is contained in:
briaguya 2023-02-23 22:42:58 -05:00 committed by GitHub
parent ff94d35ea9
commit e25b11c5ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}