Kelsi
|
011b33c7f8
|
Add comprehensive UI sound manager for interface interactions
Implemented complete UI sound system with 32+ interface sounds:
Window sounds (10 types):
- Bag open/close (backpack, containers)
- Quest log open/close
- Character sheet open/close
- Auction house open/close
- Guild bank open/close
Button sounds (2 types):
- Interface button clicks
- Main menu button clicks
Quest sounds (4 types):
- Quest activate (new quest accepted)
- Quest complete (quest turned in)
- Quest failed
- Quest update (progress notification)
Loot sounds (3 types):
- Coin pickup (small/large amounts)
- Item loot from creatures
Item sounds (6 types):
- Drop item on ground
- Pickup sounds by item type: bags, books, cloth, food, gems
Eating/Drinking (2 types):
- Eating food sound
- Drinking potion/water sound
Special sounds:
- Level up fanfare
- Error/invalid action feedback
- Target select/deselect
Technical details:
- Loads 32 sound files from Sound\Interface directory
- Volume at 0.7 with global scale control
- Simple API: playBagOpen(), playQuestComplete(), etc.
- Ready for integration with UI systems and game events
- Can be hooked to ImGui windows, inventory actions, quest system
|
2026-02-09 16:30:47 -08:00 |
|