X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Faudio%2Fsound_manager.h;h=4c6e5d7591f9944e41ec5bcd8683339ecb3b7b6a;hb=a86c3ea2f60fd4f8da0133ea9e7b34adfb5af7e1;hp=f5cfb30967dfa92ee7f0e42110693a76cd2ccd1a;hpb=c5cbd36c2e01d8c807c8c931ca44fb7c1b48ad18;p=supertux.git diff --git a/lib/audio/sound_manager.h b/lib/audio/sound_manager.h index f5cfb3096..4c6e5d759 100644 --- a/lib/audio/sound_manager.h +++ b/lib/audio/sound_manager.h @@ -25,7 +25,7 @@ #include #include "SDL_mixer.h" -#include "../math/vector.h" +#include "math/vector.h" namespace SuperTux { @@ -47,7 +47,6 @@ namespace SuperTux class SoundManager { public: - /// Play sound. void play_sound(Mix_Chunk* sound); /// Play sound relative to two Vectors. @@ -60,7 +59,7 @@ namespace SuperTux MusicRef load_music(const std::string& file); /// Load sound. - Mix_Chunk * load_sound(const std::string& file); + Mix_Chunk* load_sound(const std::string& file); /// Test if a certain music file exists. bool exists_music(const std::string& filename); @@ -161,7 +160,6 @@ namespace SuperTux bool m_music_enabled; bool m_sound_enabled; bool audio_device; /* != 0: available and initialized */ - }; Mix_Chunk* IDToSound(int id);