#include "sound_source.hpp"
#include "stream_sound_source.hpp"
+SoundManager* sound_manager;
+
SoundManager::SoundManager()
: device(0), context(0), sound_enabled(false), music_source(0),
next_music_source(0)
}
if(context != 0) {
- alcMakeContextCurrent(0);
alcDestroyContext(context);
}
if(device != 0) {
std::string current_music;
};
+extern SoundManager* sound_manager;
+
#endif
SpriteManager* sprite_manager = 0;
TileManager* tile_manager = 0;
-SoundManager* sound_manager = 0;
MouseCursor* mouse_cursor = 0;
extern SpriteManager* sprite_manager;
extern TileManager* tile_manager;
-extern SoundManager* sound_manager;
extern Menu* contrib_menu;
extern Menu* contrib_subset_menu;