vE5li / korangar

A next-gen Ragnarok Online client
MIT License
147 stars 33 forks source link

Implement the basic audio engine. #92

Closed hasenbanck closed 1 month ago

hasenbanck commented 1 month ago

This PR lays the foundation for the audio engine. It implements the main menue sounds, music and ambient, spatial sound. Entity and Effect sound effects will be implemented later. Once the new UI code is finished, I will also start to expose the configuration values (mainly volume control).

The PR contains a "util" library, which will contain code that other libraries might want to use (mainly containers and collision code). I will also use these containers for the render engine later (for async loading etc.). I took the liberty to make the usage of the game archive loader a little bit easier (since we want to use it from async threads later). I also removed the unmaintained collision-rs library and re-use collision code between the frustum culling and the audio engine.

hasenbanck commented 1 month ago

Ok, I'm finished here now.