23 #ifndef SOUNDMANAGER_H 24 #define SOUNDMANAGER_H 33 PRAGMA48(GCC diagnostic ignored
"-Wshadow")
34 #include <SDL_mixer.h> 104 {
return MIX_MAX_VOLUME; }
115 void playSfx(
const std::string &path,
178 #endif // SOUNDMANAGER_H #define A_DELETE_COPY(func)
void playGuiSfx(const std::string &path)
void setChannels(const int channels) const
std::string mNextMusicFile
void fadeOutMusic(const int ms)
std::string getCurrentMusicFile() const
static int getMaxVolume()
SoundManager soundManager
void setSfxVolume(const int volume)
void setMusicVolume(const int volume)
void playMusic(const std::string &fileName, const SkipError skipError)
void optionChanged(const std::string &value)
std::string mCurrentMusicFile
void fadeOutAndPlayMusic(const std::string &fileName, const int ms)
void playSfx(const std::string &path, const int x, const int y) const
void playGuiSound(const std::string &name)
void volumeRestore() const