[Enhancement] Toggle grave hole geometry (#5754)

* Add enhancement to toggle grave hole geometry

* Replace malloc and vector with fixed-size arrays

* Make newSurfaceTypes static
This commit is contained in:
Eblo
2025-08-25 15:01:50 -04:00
committed by GitHub
parent 860bc57a2a
commit cc477fbef2
2 changed files with 76 additions and 0 deletions

View File

@@ -1165,6 +1165,10 @@ void SohMenu::AddMenuEnhancements() {
.CVar(CVAR_ENHANCEMENT("NGCKaleidoSwitcher"))
.Options(CheckboxOptions().Tooltip(
"Makes L and R switch pages like on the GameCube. Z opens the Debug Menu instead."));
AddWidget(path, "Grave Hole Jumps", WIDGET_CVAR_CHECKBOX)
.CVar(CVAR_ENHANCEMENT("GraveHoles"))
.Options(CheckboxOptions().Tooltip(
"Restores NTSC 1.0 behavior where Link jumps over grave holes and grabs the ledges."));
// Difficulty Options
path.sidebarName = "Difficulty";