#include "events.hpp"#include <string>

Go to the source code of this file.
Classes | |
| class | sound::music_thinker |
Namespaces | |
| namespace | sound |
Audio output for sound and music. | |
Defines | |
| #define | DISTANCE_SILENT 255 |
Enumerations | |
| enum | sound::channel_group { sound::NULL_CHANNEL = -1, sound::SOUND_SOURCES = 0, sound::SOUND_BELL, sound::SOUND_TIMER, sound::SOUND_UI, sound::SOUND_FX } |
Functions | |
| bool | sound::init_sound () |
| void | sound::close_sound () |
| void | sound::reset_sound () |
| void | sound::stop_music () |
| void | sound::stop_sound () |
| void | sound::stop_UI_sound () |
| void | sound::stop_bell () |
| void | sound::play_music_config (const config &music_node) |
| void | sound::commit_music_changes () |
| void | sound::play_music_repeatedly (const std::string &id) |
| void | sound::play_music_once (const std::string &file) |
| void | sound::empty_playlist () |
| void | sound::play_music () |
| void | sound::reposition_sound (int id, unsigned int distance) |
| bool | sound::is_sound_playing (int id) |
| void | sound::stop_sound (int id) |
| void | sound::play_sound (const std::string &files, channel_group group, unsigned int repeats) |
| void | sound::play_sound_positioned (const std::string &files, int id, int repeats, unsigned int distance) |
| void | sound::play_bell (const std::string &files) |
| void | sound::play_timer (const std::string &files, int loop_ticks, int fadein_ticks) |
| void | sound::play_UI_sound (const std::string &files) |
| void | sound::write_music_play_list (config &snapshot) |
| void | sound::set_music_volume (int vol) |
| void | sound::set_sound_volume (int vol) |
| void | sound::set_bell_volume (int vol) |
| void | sound::set_UI_volume (int vol) |
| #define DISTANCE_SILENT 255 |
Definition at line 60 of file sound.hpp.
Referenced by soundsource::positional_source::calculate_volume(), sound::play_sound_internal(), soundsource::positional_source::update(), and soundsource::positional_source::~positional_source().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:10:20 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |