Implement mount ambient sounds

Added full mount sound system with:
- Wing flap sounds for flying mounts (gryphon/wyvern) when moving
- Wing idle/hovering sounds when stationary in air
- Breathing/snorting sounds for ground mounts when idle
- Occasional whinny sounds for ground mounts when moving

Sounds are loaded from MPQ files and played via AudioEngine with
randomized pitch/volume variation. Mount sound manager tracks mount
type, movement state, and flying state to play appropriate ambient
sounds at natural intervals.

Updated setMounted() to accept creature display ID and notify the
mount sound manager, which uses display ID ranges to detect mount
type (flying vs ground).
This commit is contained in:
Kelsi 2026-02-09 01:19:35 -08:00
parent 0b6b403848
commit 0fed931aa0
5 changed files with 221 additions and 23 deletions

View file

@ -2803,7 +2803,7 @@ void Application::processPendingMount() {
}
}
renderer->setMounted(instanceId, heightOffset);
renderer->setMounted(instanceId, mountDisplayId, heightOffset);
charRenderer->playAnimation(instanceId, 0, true);
LOG_INFO("processPendingMount: DONE displayId=", mountDisplayId, " model=", m2Path, " heightOffset=", heightOffset);