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