projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pause music when pressing ESC during a level and resume it when exiting the pause...
[supertux.git]
/
src
/
audio
/
sound_manager.hpp
diff --git
a/src/audio/sound_manager.hpp
b/src/audio/sound_manager.hpp
index
8c699d4
..
801b029
100644
(file)
--- a/
src/audio/sound_manager.hpp
+++ b/
src/audio/sound_manager.hpp
@@
-64,6
+64,8
@@
public:
void enable_music(bool music_enabled);
void play_music(const std::string& filename, bool fade = false);
+ void pause_music();
+ void resume_music();
void stop_music(float fadetime = 0);
bool is_music_enabled() { return music_enabled; }