3#include <boost/optional.hpp>
4#include <unordered_map>
22 std::unordered_map<EntityID, std::vector<SoundCommand>>
getCommandsPerPlayer(
const std::vector<Object*>& players);
25 const std::unordered_map<SoundID, SoundSource>&
data()
const;
28 std::unordered_map<SoundID, SoundSource> map;
29 std::vector<SoundCommand> current_commands;
30 std::vector<SoundID> static_sources;
Definition: soundtable.hpp:16
SoundTable()
Definition: soundtable.cpp:11
void addStaticSoundSource(const SoundSource &source)
Definition: soundtable.cpp:60
std::unordered_map< EntityID, std::vector< SoundCommand > > getCommandsPerPlayer(const std::vector< Object * > &players)
Definition: soundtable.cpp:15
const std::unordered_map< SoundID, SoundSource > & data() const
Definition: soundtable.cpp:72
void addNewSoundSource(const SoundSource &source)
Definition: soundtable.cpp:66
void tickSounds()
Definition: soundtable.cpp:42
GLsizei GLsizei GLchar * source
Definition: glad.h:1897
unsigned long long SoundID
Definition: soundcommand.hpp:6
Definition: soundsource.hpp:10