Skip to content

Add live HUD button visibility controls to Mod Settings - #297

Closed
Guffawaffle wants to merge 50 commits into
STFC-Mod:devfrom
Guffawaffle:feature/mission-hud-settings
Closed

Guffawaffle wants to merge 50 commits into
STFC-Mod:devfrom
Guffawaffle:feature/mission-hud-settings

Conversation

@Guffawaffle

@Guffawaffle Guffawaffle commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Adds Settings → Mod Settings → HUD Buttons with Q's Trials, Field Training, Outposts and Missions groups. Each offers Auto / Always / Never and summarizes its current mode while collapsed. Changes apply live and persist through the shared TOML writer.

Auto reevaluates native visibility rules; Missions restores its tracked native visibility. Weak object tracking, replacement-button capture, inactive-view deferral and hook-availability checks protect unavailable HUD views. Following #313, the existing default-enabled missionhudtweakshooks switch owns installation independently of feature values. Callbacks reread current modes before overrides or Auto restoration; complete metadata and partial-family guards come from #296.

Depends on corrected #282 and #296. Validation: Windows release build, existing settings fixtures, full persistence fixtures (including all twelve HUD setting/mode combinations) and all 11 example TOMLs passed. Final documentation changes leave compiled code unchanged. Three independent semantic reviews cover the complete candidate. Static Windows 270 overwrite windows fit; exact-candidate game smoke, macOS native fit/execution and injected lifecycle/partial-install failures remain open. Earlier integration testing is historical evidence, not qualification of this exact artifact. CI starts on publication without waiting for results.

@Guffawaffle
Guffawaffle force-pushed the feature/mission-hud-settings branch from 0ee15e6 to 83ff992 Compare September 28, 2026 00:00
…ml-editor

# Conflicts:
#	docs/config-save.md
…gs-navigation

# Conflicts:
#	example_community_patch_settings_en.toml
#	mods/src/config.h
#	mods/src/defaultconfig.h
#	mods/src/patches/patches.cc
…ngs-controls

# Conflicts:
#	docs/MOD_SETTINGS_NAVIGATION.md
#	mods/src/config.cc
#	mods/src/config.h
#	mods/src/patches/parts/forbidden_tech_confirmation.cc
#	mods/src/patches/parts/hotkeys.cc
#	mods/src/patches/patches.cc
# Conflicts:
#	mods/src/patches/parts/mission_hud_tweaks.cc
# Conflicts:
#	mods/src/patches/parts/mod_confirmation_settings.cc
# Conflicts:
#	mods/src/settings/native/action_widgets.cc
# Conflicts:
#	mods/src/patches/parts/mission_hud_tweaks.cc
# Conflicts:
#	example_community_patch_settings_en.toml
#	mods/src/config.h
#	mods/src/defaultconfig.h
#	mods/src/patches/patches.cc
# Conflicts:
#	mods/src/config.cc
#	mods/src/config.h
#	mods/src/defaultconfig.h
#	mods/src/patches/patches.cc
# Conflicts:
#	mods/src/patches/patches.cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant