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
|
|
@ -53,6 +53,8 @@ public:
|
|||
void zoomIn() { viewRadius = std::max(100.0f, viewRadius - 50.0f); }
|
||||
void zoomOut() { viewRadius = std::min(800.0f, viewRadius + 50.0f); }
|
||||
|
||||
void setOpacity(float opacity) { opacity_ = opacity; }
|
||||
|
||||
// Public accessors for WorldMap
|
||||
VkTexture* getOrLoadTileTexture(int tileX, int tileY);
|
||||
void ensureTRSParsed() { if (!trsParsed) parseTRS(); }
|
||||
|
|
@ -103,6 +105,7 @@ private:
|
|||
bool enabled = true;
|
||||
bool rotateWithCamera = false;
|
||||
bool squareShape = false;
|
||||
float opacity_ = 1.0f;
|
||||
|
||||
// Throttling
|
||||
float updateIntervalSec = 0.25f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue