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:
Zed A. Shaw 2025-05-13 02:02:47 -04:00
parent 4d71f552aa
commit de0d957c66
6 changed files with 28 additions and 8 deletions

View file

@ -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);