Add ability to toggle off Owl Statue Markers on Map

This commit is contained in:
Krutonium
2026-05-12 17:30:07 -04:00
parent 2c9b20841d
commit 696e8e6aa9
6 changed files with 27 additions and 1 deletions
+1
View File
@@ -179,6 +179,7 @@ struct UserSettings {
ConfigVar<bool> speedrunMode;
ConfigVar<bool> liveSplitEnabled;
ConfigVar<bool> recordingMode;
ConfigVar<bool> removeQuestMapMarkers;
} game;
struct {
+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);
}
+3 -1
View File
@@ -115,7 +115,8 @@ UserSettings g_userSettings = {
// Tools
.speedrunMode {"game.speedrunMode", false},
.liveSplitEnabled {"game.liveSplitEnabled", false},
.recordingMode {"game.recordingMode", false}
.recordingMode {"game.recordingMode", false},
.removeQuestMapMarkers {"game.removeQuestMapMarkers", false}
},
.backend = {
@@ -202,6 +203,7 @@ void registerSettings() {
Register(g_userSettings.game.speedrunMode);
Register(g_userSettings.game.liveSplitEnabled);
Register(g_userSettings.game.recordingMode);
Register(g_userSettings.game.removeQuestMapMarkers);
Register(g_userSettings.game.fastSpinner);
Register(g_userSettings.game.infiniteHearts);
Register(g_userSettings.game.infiniteArrows);
+2
View File
@@ -955,6 +955,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(