Fix building again & minor reformatting

This commit is contained in:
Irastris
2026-04-05 01:19:53 -04:00
parent 67bd14bfd8
commit cf30230501
+15 -8
View File
@@ -52,11 +52,16 @@ namespace dusk {
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Hides the TV calibration screen shown when loading a save");
}
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Preferences")) {
ImGui::Checkbox("Mirror Mode", &getSettings().game.enableMirrorMode);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Mirrors the world, matching the Wii version of the game");
}
ImGui::Checkbox("Invert Camera X Axis", &getSettings().game.invertCameraXAxis);
ImGui::EndMenu();
@@ -64,10 +69,11 @@ namespace dusk {
if (ImGui::BeginMenu("Graphics")) {
ImGui::Checkbox("Native Bloom", &getSettings().game.enableBloom);
ImGui::Checkbox("Water Projection Offset", &getSettings().game.useWaterProjectionOffset);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Adds GC-specific -0.01 transS offset\n"
"that causes ~6px ghost artifacts in water reflections");
"that causes ~6px ghost artifacts in water reflections");
}
ImGui::EndMenu();
@@ -77,7 +83,8 @@ namespace dusk {
ImGui::Checkbox("No Low HP Sound", &getSettings().game.noLowHpSound);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Disable the beeping sound when having low health");
}
ImGui::Checkbox("Non-Stop Midna's Lament", &getSettings().game.midnasLamentNonStop);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Prevents enemy music while Midna's Lament is playing");
@@ -89,10 +96,10 @@ namespace dusk {
if (ImGui::BeginMenu("Cheats")) {
ImGui::Checkbox("Fast Iron Boots", &getSettings().game.enableFastIronBoots);
ImGui::Checkbox("Can Transform Anywhere",
&getSettings().game.canTransformAnywhere);
ImGui::Checkbox("Can Transform Anywhere", &getSettings().game.canTransformAnywhere);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Allows you to transform between forms even if NPCs are looking");
ImGui::SetTooltip(
"Allows you to transform between forms even if NPCs are looking");
}
ImGui::EndMenu();
@@ -100,6 +107,7 @@ namespace dusk {
if (ImGui::BeginMenu("Difficulty")) {
ImGui::SliderInt("Damage Multiplier", &getSettings().game.damageMultiplier, 1, 8, "x%d");
ImGui::Checkbox("Instant Death", &getSettings().game.instantDeath);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Any hit will instantly kill you");
@@ -111,13 +119,12 @@ namespace dusk {
if (ImGui::BeginMenu("Technical")) {
ImGui::Checkbox("Restore Wii 1.0 Glitches", &getSettings().game.restoreWiiGlitches);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Restores patched glitches from Wii USA 1.0, the first released version");
ImGui::SetTooltip("Restores patched glitches from Wii USA 1.0,\n"
"the first released version");
}
ImGui::EndMenu();
}
ImGui::EndMenu();
}
}
}