mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Fix sun quad visibility, minimap opacity, audio scaling, and rename music toggle
- Tighten celestial glow falloff and edge fade to eliminate visible quad boundary - Add opacity support to minimap display shader, synced with UI opacity setting - Fix audio double/triple-scaling by removing redundant master volume multiplications - Rename "Original Soundtrack" toggle to "Enable WoWee Music" - Add About tab with developer info and GitHub link
This commit is contained in:
parent
a250c20d84
commit
5cfb0817ed
7 changed files with 23 additions and 8 deletions
|
|
@ -196,6 +196,16 @@ void GameScreen::render(game::GameHandler& gameHandler) {
|
|||
float prevAlpha = ImGui::GetStyle().Alpha;
|
||||
ImGui::GetStyle().Alpha = uiOpacity_;
|
||||
|
||||
// Sync minimap opacity with UI opacity
|
||||
{
|
||||
auto* renderer = core::Application::getInstance().getRenderer();
|
||||
if (renderer) {
|
||||
if (auto* minimap = renderer->getMinimap()) {
|
||||
minimap->setOpacity(uiOpacity_);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Apply initial settings when renderer becomes available
|
||||
if (!minimapSettingsApplied_) {
|
||||
auto* renderer = core::Application::getInstance().getRenderer();
|
||||
|
|
@ -6144,7 +6154,7 @@ void GameScreen::renderSettingsWindow() {
|
|||
}
|
||||
ImGui::Separator();
|
||||
|
||||
if (ImGui::Checkbox("Original Soundtrack", &pendingUseOriginalSoundtrack)) {
|
||||
if (ImGui::Checkbox("Enable WoWee Music", &pendingUseOriginalSoundtrack)) {
|
||||
if (renderer) {
|
||||
if (auto* zm = renderer->getZoneManager()) {
|
||||
zm->setUseOriginalSoundtrack(pendingUseOriginalSoundtrack);
|
||||
|
|
@ -6153,7 +6163,7 @@ void GameScreen::renderSettingsWindow() {
|
|||
saveSettings();
|
||||
}
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("Include original music tracks in zone music rotation");
|
||||
ImGui::SetTooltip("Include WoWee music tracks in zone music rotation");
|
||||
ImGui::Separator();
|
||||
|
||||
ImGui::Text("Music");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue