Updated the SFML support stuff to use the Config that can be oriented at a BASE_DIR to find stuff relative to the config file.
This commit is contained in:
parent
4d71f552aa
commit
de0d957c66
6 changed files with 28 additions and 8 deletions
|
@ -16,7 +16,7 @@ namespace sound {
|
|||
};
|
||||
|
||||
void init();
|
||||
void load(const std::string& name, const std::string& path);
|
||||
void load(const std::string& name, const std::filesystem::path& path);
|
||||
void play(const std::string& name, bool loop=false);
|
||||
void play_at(const std::string& name, float x, float y, float z);
|
||||
void stop(const std::string& name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue