Add original music to login rotation and zone playlists

11 original tracks in assets/Original Music/ now play on the login
screen and in thematically matched zones across Eastern Kingdoms and
Kalimdor. Added crossfadeToFile to MusicManager for local file
playback during zone transitions. New zones: Tirisfal, Undercity,
Barrens, STV, Duskwood, Burning Steppes, Searing Gorge, Ironforge,
Loch Modan, Orgrimmar, Durotar, Mulgore, Thunder Bluff, Darkshore,
Teldrassil, Darnassus.
This commit is contained in:
Kelsi 2026-02-15 05:53:27 -08:00
parent 8c21e89ea3
commit 6dff088361
16 changed files with 392 additions and 17 deletions

View file

@ -22,6 +22,7 @@ public:
void playFilePath(const std::string& filePath, bool loop = true);
void stopMusic(float fadeMs = 2000.0f);
void crossfadeTo(const std::string& mpqPath, float fadeMs = 3000.0f);
void crossfadeToFile(const std::string& filePath, float fadeMs = 3000.0f);
void update(float deltaTime);
void setVolume(int volume);
int getVolume() const { return volumePercent; }
@ -43,6 +44,7 @@ private:
// Crossfade state
bool crossfading = false;
std::string pendingTrack;
bool pendingIsFile = false;
float fadeTimer = 0.0f;
float fadeDuration = 0.0f;