mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Add ambient sound system and eliminate log spam
- Implement AmbientSoundManager with tavern/outdoor ambience - Fix audio buffer limit (5s → 60s) for long ambient loops - Set log level to INFO to eliminate DEBUG spam (130MB → 3.2MB logs) - Remove excessive terrain/model/network logging - Fix ambient sound timer sharing and pitch parameter bugs
This commit is contained in:
parent
4a7e599764
commit
dab23f1895
24 changed files with 701 additions and 138 deletions
|
|
@ -22,6 +22,7 @@ public:
|
|||
void update(float deltaTime);
|
||||
void setVolume(int volume);
|
||||
int getVolume() const { return volumePercent; }
|
||||
void setUnderwaterMode(bool underwater);
|
||||
|
||||
bool isPlaying() const { return playing; }
|
||||
bool isInitialized() const { return assetManager != nullptr; }
|
||||
|
|
@ -33,6 +34,7 @@ private:
|
|||
bool currentTrackIsFile = false;
|
||||
bool playing = false;
|
||||
int volumePercent = 30;
|
||||
bool underwaterMode = false;
|
||||
|
||||
// Crossfade state
|
||||
bool crossfading = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue