From ae9b13a79d4262624823c0d9cc438a51a6b40fc4 Mon Sep 17 00:00:00 2001 From: hatcyl Date: Sun, 21 Jul 2024 23:19:07 -0700 Subject: [PATCH] Implement setting for special item HUD. --- assets/config_menu/graphics.rml | 37 ++++++++++++++++++++++++++++---- include/zelda_config.h | 13 +++++++++++ patches/misc_funcs.h | 1 + patches/syms.ld | 1 + patches/ui_patches.c | 7 ++++-- src/game/config.cpp | 4 ++++ src/game/recomp_api.cpp | 4 ++++ src/main/rt64_render_context.cpp | 10 +++++++++ src/ui/ui_config.cpp | 14 ++++++++++++ 9 files changed, 85 insertions(+), 6 deletions(-) diff --git a/assets/config_menu/graphics.rml b/assets/config_menu/graphics.rml index a11de72..228b71e 100644 --- a/assets/config_menu/graphics.rml +++ b/assets/config_menu/graphics.rml @@ -239,7 +239,7 @@ data-checked="hr_option" value="Original" id="hr_original" - style="nav-up: #msaa_none; nav-down: #apply_button" + style="nav-up: #msaa_none; nav-down: #special_item_hud_enabled" /> @@ -260,13 +260,39 @@ data-checked="hr_option" value="Full" id="hr_full" - style="nav-up: #msaa_4x; nav-down: #apply_button" + style="nav-up: #msaa_4x; nav-down: #special_item_hud_disabled" data-style-nav-up="msaa4x_supported ? '#msaa_4x' : (msaa2x_supported ? '#msaa_2x' : '#msaa_none')" /> +
+ +
+ + + + +
+
+

@@ -302,6 +328,9 @@

Adjusts the placement of HUD elements to fit the selected aspect ratio. Expand will use the aspect ratio of the game's output window.

+

+ Enables visibility of the special item HUD. Affects visibility only, functionality can be modified in the Controls setting tab. +