Merge pull request #1129 from Krutonium/improvement/toggle_owl_statue_markers

Add ability to toggle off Owl Statue Markers on Map
This commit is contained in:
TakaRikka
2026-05-19 16:46:56 -07:00
committed by GitHub
6 changed files with 26 additions and 0 deletions
+1
View File
@@ -212,6 +212,7 @@ struct UserSettings {
ConfigVar<bool> liveSplitEnabled;
ConfigVar<bool> showSpeedrunRTATimer;
ConfigVar<bool> recordingMode;
ConfigVar<bool> removeQuestMapMarkers;
ConfigVar<bool> showInputViewer;
ConfigVar<bool> showInputViewerGyro;
} game;
+7
View File
@@ -931,6 +931,13 @@ bool renderingAmap_c::isDrawIconSingle2(dTres_c::data_s const* i_data, bool para
}
break;
case 5:
#if TARGET_PC
if (dusk::getSettings().game.removeQuestMapMarkers &&
dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[0x190]))
{
break;
}
#endif
if (((i_data->mNo == 255 || (i_data->mNo != 255 && !dComIfGs_isTbox(i_data->mNo))) &&
(i_data->mSwBit == 255 ||
(i_data->mSwBit != 255 && dComIfGs_isSwitch(i_data->mSwBit, i_data->mRoomNo)))) &&
+7
View File
@@ -69,6 +69,13 @@ bool renderingDmap_c::isDrawIconSingle2(dTres_c::data_s const* i_data, bool para
JUT_ASSERT(1044, FALSE);
break;
case 5:
#if TARGET_PC
if (dusk::getSettings().game.removeQuestMapMarkers &&
dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[0x190]))
{
break;
}
#endif
if ((i_data->mNo == 0xFF || (i_data->mNo != 0xFF && !dComIfGs_isTbox(i_data->mNo))) && (i_data->mSwBit == 0xFF || (i_data->mSwBit != 0xFF && dComIfGs_isSwitch(i_data->mSwBit, i_data->mRoomNo))) && param_1) {
rt = true;
}
+7
View File
@@ -2600,6 +2600,13 @@ void dMenu_Fmap_c::drawLightDropIcon() {
}
void dMenu_Fmap_c::drawBatsumarkIcon() {
#if TARGET_PC
if (dusk::getSettings().game.removeQuestMapMarkers &&
dComIfGs_isEventBit(dSv_event_flag_c::saveBitLabels[0x190]))
{
return;
}
#endif
drawIcon(5, 0x12);
}
+2
View File
@@ -124,6 +124,7 @@ UserSettings g_userSettings = {
.liveSplitEnabled {"game.liveSplitEnabled", false},
.showSpeedrunRTATimer {"game.showSpeedrunRTATimer", true},
.recordingMode {"game.recordingMode", false},
.removeQuestMapMarkers {"game.removeQuestMapMarkers", false},
.showInputViewer {"game.showInputViewer", false},
.showInputViewerGyro {"game.showInputViewerGyro", false}
},
@@ -246,6 +247,7 @@ void registerSettings() {
Register(g_userSettings.game.liveSplitEnabled);
Register(g_userSettings.game.showSpeedrunRTATimer);
Register(g_userSettings.game.recordingMode);
Register(g_userSettings.game.removeQuestMapMarkers);
Register(g_userSettings.game.showInputViewer);
Register(g_userSettings.game.showInputViewerGyro);
Register(g_userSettings.game.fastSpinner);
+2
View File
@@ -1105,6 +1105,8 @@ SettingsWindow::SettingsWindow(bool prelaunch) : mPrelaunch(prelaunch) {
"Restores patched glitches from Wii USA 1.0, the first released version.");
addOption("Enable Rotating Link Doll", getSettings().game.enableLinkDollRotation,
"Enables rotating Link in the collection menu with the C-Stick.");
addOption("Hide Owl Statue Markers", getSettings().game.removeQuestMapMarkers,
"Removes completed Owl Statue markers from the map and Minimap.");
leftPane.add_section("Difficulty");
leftPane.register_control(