mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 13:23:56 -07:00
Remove manual memory management throughout the SoundManager subsystem in favor of unorderedmap. Key changes: - Eliminate manual new/delete calls and potential memory leaks - Update all sound item classes to use SoundManager factory - Modernize resource management in OggData and related components - Ensure exception-safe memory handling across the audio pipeline This refactoring improves code maintainability, reduces crash risk from memory errors, and aligns with modern C++ best practices. |
||
|---|---|---|
| .. | ||
| data | ||
| items | ||
| scripting | ||
| ISoundManager.h | ||
| SoundManager.cpp | ||
| SoundManager.h | ||