diff --git a/rwengine/include/audio/SoundManager.hpp b/rwengine/include/audio/SoundManager.hpp index 30eeaad9..5125af82 100644 --- a/rwengine/include/audio/SoundManager.hpp +++ b/rwengine/include/audio/SoundManager.hpp @@ -4,6 +4,8 @@ #include #include +#include +#include #include #include @@ -49,13 +51,21 @@ private: ALuint buffer; }; + struct Sound + { + SoundSource source; + SoundBuffer buffer; + bool isLoaded = false; + }; + bool initializeOpenAL(); ALCcontext* alContext; ALCdevice* alDevice; + std::map sounds; std::vector sounds; sf::SoundStream* backgroundNoise; -}; \ No newline at end of file +};