|
| template<typename Container , typename Value > |
| auto | utils::find_in (Container &map, const Value &value) -> utils::optional_reference< typename Container::mapped_type > |
| |
| utils::optional< unsigned int > | sound::get_current_track_index () |
| |
| std::shared_ptr< music_track > | sound::get_current_track () |
| |
| void | sound::set_current_track (std::shared_ptr< music_track > track) |
| |
| std::shared_ptr< music_track > | sound::get_previous_music_track () |
| |
| unsigned int | sound::get_num_tracks () |
| |
| std::shared_ptr< music_track > | sound::get_track (unsigned int i) |
| |
| void | sound::set_track (unsigned int i, const std::shared_ptr< music_track > &to) |
| |
| void | sound::remove_track (unsigned int i) |
| |
| std::string | sound::current_driver () |
| |
| std::vector< std::string > | sound::enumerate_drivers () |
| |
| bool | sound::init_sound () |
| |
| void | sound::close_sound () |
| |
| void | sound::stop_music () |
| |
| void | sound::stop_sound () |
| |
| void | sound::stop_bell () |
| |
| void | sound::stop_UI_sound () |
| |
| void | sound::restart_music () |
| |
| void | sound::restart_sound () |
| |
| void | sound::restart_bell () |
| |
| void | sound::restart_UI_sound () |
| |
| void | sound::play_music_once (const std::string &file) |
| |
| void | sound::empty_playlist () |
| |
| void | sound::play_music () |
| |
| void | sound::play_track (unsigned int i) |
| |
| void | sound::play_music_config (const config &music_node, bool allow_interrupt_current_track, int i) |
| |
| void | sound::commit_music_changes () |
| |
| void | sound::write_music_play_list (config &snapshot) |
| |
| void | sound::reposition_sound (unsigned id, unsigned int distance) |
| |
| bool | sound::is_sound_playing (int id) |
| |
| void | sound::stop_sound (unsigned id) |
| |
| void | sound::play_sound (const std::string &files, sound_tracks::type group, unsigned int repeats) |
| |
| void | sound::play_sound_positioned (const std::string &files, int repeats, unsigned int distance, unsigned int id) |
| |
| void | sound::play_bell (const std::string &files) |
| |
| void | sound::play_timer (const std::string &files, const std::chrono::milliseconds &loop_ticks, const std::chrono::milliseconds &fadein_ticks) |
| |
| void | sound::play_UI_sound (const std::string &files) |
| |
| volume | sound::get_music_volume () |
| |
| void | sound::set_music_volume (volume vol) |
| |
| volume | sound::get_sound_volume () |
| |
| void | sound::set_sound_volume (volume vol) |
| |
| void | sound::set_bell_volume (volume vol) |
| |
| void | sound::set_UI_volume (volume vol) |
| |
| void | sound::flush_cache () |
| |
| std::unique_ptr<MIX_Audio, decltype(&MIX_DestroyAudio)> value |
- Note
- : SDL keeps its own refcount of MIX_Audio objects.
Definition at line 138 of file sound.cpp.
Referenced by wfl::map_formula_callable::add(), unit_animator::add_animation(), config::add_child_at(), game_config::add_color_info(), replay::add_countdown_update(), unit_animation::add_frame(), gui2::group< T >::add_member(), gui2::dialogs::mp_staging::add_side_node(), gui2::dialogs::statistics_dialog::add_stat_row(), schema_validation::wml_tag::add_switch(), game_data::add_variable_cfg(), advance_unit_params::animate(), config::append(), config::append_attributes(), config::append_children(), config::append_children_by_move(), config::apply_diff(), simple_wml::node::apply_diff(), utils::apply_modifier(), variable_info_implementation::apply_visitor(), xbrz::bilinearScale(), display::blindfold(), utils::bool_string(), BOOST_AUTO_TEST_CASE(), test_throw::BOOST_AUTO_TEST_CASE(), test_throw::BOOST_AUTO_TEST_CASE_TEMPLATE(), gui2::implementation::builder_multi_page::builder_multi_page(), xbrz::byteAdvance(), utils::cast_as(), ai::config_value_translator< bool >::cfg_to_value(), ai::config_value_translator< config >::cfg_to_value(), ai::config_value_translator< std::string >::cfg_to_value(), ai::config_value_translator< std::vector< std::string > >::cfg_to_value(), ai::config_value_translator< T >::cfg_to_value(), ai::config_value_translator< terrain_filter >::cfg_to_value(), ai::config_value_translator< unit_advancements_aspect >::cfg_to_value(), ai::config_value_translator< utils::variant< bool, std::vector< std::string > > >::cfg_to_value(), unit_animation_component::choose_animation(), ai::ai_default_rca::move_to_targets_phase::choose_move(), commandline_options::commandline_options(), configr_of::configr_of(), utils::contains(), simple_wml::node::copy_into(), gui2::dialogs::editor_edit_pbl::create_cfg(), movetype::resistances::damage_table(), wfl::builtins::DEFINE_WFL_FUNCTION(), wfl::variant_map::deref_iterator(), gui2::image_shape::dimension_validation(), events::console_handler::do_set_var(), schema_validation::duplicate_key_error(), schema_validation::duplicate_tag_error(), unit_abilities::effect::effect(), unit_abilities::effect::effect_impl(), crypt64::encode(), utils::erase(), utils::detail::contains_impl< Container, typename Container::key_type >::eval(), utils::detail::contains_impl< Container, Value >::eval(), wfl::map_expression::execute(), ai::configuration::expand_simplified_aspects(), utils::find(), config::find_child(), game_config_view::find_child(), utils::find_in(), config::find_mandatory_child(), game_config_view::find_mandatory_child(), ai::default_ai_context_impl::find_targets(), advance_unit_params::fire_events(), advance_unit_params::force_dialog(), campaignd::format_addon_feedback_url(), utils::charconv::from_chars(), ai::lua_object< T >::from_type(), GAME_CONFIG_SETTER(), get_addon_pbl_info(), config::get_diff(), string_enums::enum_base< Definition >::get_enum(), active_ability_list::get_extremum(), wfl::variant::get_keys(), gui2::dialogs::mp_options_helper::get_options_config(), config::get_or(), unit_animation::particle::get_overlaped_hex(), gui2::rich_label::get_parsed_text(), gui2::combobox::get_selected(), ai::configuration::get_side_config_from_file(), settings::get_turns(), ai::default_recruitment::recruitment::get_unit_ratio(), wfl::unit_callable::get_value(), wfl::config_callable::get_value(), wfl::variant::get_values(), settings::get_village_gold(), settings::get_village_support(), settings::get_xp_modifier(), campaignd::server::handle_read_from_fifo(), unit_animator::has_animation(), config::hash(), team::have_leader(), gui::scrollarea::hide(), gui::widget::hide(), impl_colors_table_dir(), game_lua_kernel::impl_end_level_data_set(), impl_music_set(), impl_source_set(), impl_track_set(), impl_unit_attack_set(), lua_common::impl_vconfig_dir(), lua_common::impl_vconfig_get(), lua_common::impl_vconfig_pairs_iter(), unit_abilities::individual_value_double(), unit_abilities::individual_value_int(), config::inherit_attributes(), schema_validation::inheritance_cycle_error(), schema_validation::inheritance_loop_error(), gui2::init(), unit::init(), events::console_handler::init_map(), config::insert(), addons_client::install_addon(), lua_wml::intf_load_wml(), lua_wml::intf_parse_wml(), game_lua_kernel::intf_set_floating_label(), unit_animation::invalidate(), LATTR_SETTER(), lexical_cast(), lexical_cast_default(), schema_validation::link_cycle_error(), game_config_manager::load_addons_cfg(), font::load_font_config(), game_config_manager::load_game_config(), savegame::load_interactive_by_exception(), load_language_list(), load_strings(), luaW_filltable(), luaW_table_set(), wfl::implementation::detail::make_serialized_range(), utils::map_split(), config::matches(), schema_validation::wml_type_simple::matches(), schema_validation::wml_type_alias::matches(), schema_validation::wml_type_union::matches(), schema_validation::wml_type_intersection::matches(), schema_validation::wml_type_list::matches(), schema_validation::wml_type_tstring::matches(), unit_animation::matches(), gui2::group< T >::member(), movetype::resistances::merge(), config::merge_attributes(), prefs::migrate_preferences(), wfl::formula_callable::mutate_value(), xbrz::nearestNeighborScale(), xbrz::nearestNeighborScaleOverSource(), simple_wml::node::node(), optional_config_impl< const config >::operator utils::optional_reference< const config >(), implementation::lexical_caster< To, std::string, std::enable_if_t< std::is_arithmetic_v< To > >, void >::operator()(), implementation::is_same_v< From, char * > >>::operator()(), implementation::is_arithmetic_v< From > >>::operator()(), implementation::lexical_caster< To, From, ToEnable, FromEnable >::operator()(), optional_config_impl< T >::operator*(), optional_config_impl< T >::operator->(), operator<<(), config_attribute_value::operator==(), optional_config_impl< T >::operator[](), simple_wml::node::output(), simple_wml::node::output_size(), markup::parse_attribute(), gui2::implementation::parse_list_data(), markup::parse_tag(), gui2::dialogs::mp_create_game::pre_show(), gui2::dialogs::prompt::prompt(), optional_config_impl< T >::ptr(), ai::attack_analysis::rating(), statistics_record::read_str_int_map(), unit_animation::particle::redraw(), unit_animation::redraw(), gui2::group< T >::remove_member(), unit_animator::replace_anim_if_invalid(), gui2::rich_label_definition::resolution::resolution(), wesnothd::server::roll_handler(), gui2::dialogs::editor_edit_label::save_color_component(), wfl::implementation::detail::serialize_value(), preferences_dialog_friend::set(), attack_type::set_accuracy(), prefs::set_addon_manager_saved_order_direction(), unit::set_appearance_changed(), attack_type::set_attack_alignment(), attack_type::set_attack_weight(), attack_type::set_attacks_used(), simple_wml::node::set_attr(), simple_wml::document::set_attr(), simple_wml::node::set_attr_dup(), simple_wml::document::set_attr_dup(), simple_wml::node::set_attr_esc(), simple_wml::node::set_attr_int(), team::set_auto_shroud_updates(), unit::set_big_profile(), gui2::field< T, W, CT >::set_cache_value(), team::set_carryover_add(), team::set_carryover_bonus(), team::set_carryover_gold(), team::set_carryover_percentage(), soundsource::sourcespec::set_chance(), attack_type::set_changed(), prefs::set_chat_message_aging(), soundsource::sourcespec::set_check_fogged(), soundsource::sourcespec::set_check_shrouded(), events::map_command_handler< Worker >::set_cmd_flag(), events::map_command_handler< Worker >::set_cmd_prefix(), prefs::set_color_cursors(), version_info::set_component(), unit_type_data::set_config(), prefs::set_countdown_action_bonus(), prefs::set_countdown_init_time(), prefs::set_countdown_reservoir_time(), prefs::set_countdown_turn_bonus(), schema_validation::schema_validator::set_create_exceptions(), attack_type::set_damage(), gui2::dialogs::attack_predictions::set_data(), display::set_debug_flag(), team::set_defeat_condition(), team::set_defeat_condition_string(), game_data::set_defeat_music(), attack_type::set_defense_weight(), gui::textbox::set_editable(), gui2::dialogs::file_dialog::set_extension(), soundsource::sourcespec::set_fade_range(), gui2::dialogs::file_dialog::set_filename(), soundsource::sourcespec::set_full_range(), mp::lobby_info::set_game_filter_invert(), editor::editor_display::set_help_string_enabled(), team::set_hidden(), attack_type::set_icon(), game_data::set_id(), attack_type::set_id(), gui2::dialogs::file_dialog::set_input_text(), gui2::dialogs::drop_down_menu::set_legacy_menu_mode(), soundsource::sourcespec::set_loops(), team::set_lost(), unit::set_max_attacks(), unit::set_max_experience(), unit::set_max_hitpoints(), attack_type::set_max_range(), gui2::group< T >::set_member_states(), gui2::dialogs::file_dialog::set_message(), prefs::set_message_private(), attack_type::set_min_range(), soundsource::sourcespec::set_minimum_delay(), prefs::set_modifications(), attack_type::set_movement_used(), attack_type::set_name(), editor::map_context::set_needs_labels_reset(), editor::map_context::set_needs_reload(), editor::map_context::set_needs_terrain_rebuild(), team::set_no_turn_confirmation(), attack_type::set_num_attacks(), gui2::dialogs::file_dialog::set_ok_label(), attack_type::set_parry(), gui2::dialogs::file_dialog::set_path(), team::set_persistent(), attack_type::set_range(), gui2::dialogs::file_dialog::set_read_only(), gui2::dialogs::file_dialog::set_save_mode(), team::set_scroll_to_leader(), prefs::set_show_fps(), prefs::set_show_standing_animations(), gui2::dialogs::simple_item_selector::set_single_button(), unit::set_small_profile(), attack_type::set_specials_cfg(), unit::set_state(), game_data::set_theme(), gui2::dialogs::file_dialog::set_title(), editor::mouse_action::set_toolbar_button(), unit::set_total_movement(), attack_type::set_type(), unit::set_undead_variation(), unit_filter::set_use_flat_tod(), unit::set_user_end_turn(), prefs::set_user_servers_list(), wfl::map_formula_callable::set_value(), gui2::slider::set_value(), gui2::typed_formula< T >::set_value(), gui2::menu_button::set_value(), gui2::selectable_item::set_value_bool(), gui2::window::set_variable(), gui2::canvas::set_variable(), game_data::set_variable(), game_data::set_victory_music(), display::set_view_locked(), prefs::set_village_gold(), prefs::set_village_support(), gui2::field< T, W, CT >::set_widget_value(), prefs::set_xp_modifier(), simple_wml::node::shift_buffers(), font::floating_label::show(), font::show_floating_label(), SIDE_SETTER(), gui2::dialogs::mp_lobby::skip_replay_changed_callback(), markup::span_attribute(), game_launcher::start_wesnothd(), SYNCED_COMMAND_HANDLER_FUNCTION(), markup::tag_attr(), utils::charconv::to_chars(), ai::lua_object< T >::to_type(), UNIT_SETTER(), font::unpremultiply(), gui2::lobby_player_list_helper::update(), gui2::dialogs::file_progress::update_progress(), gui2::dialogs::editor_edit_unit::update_wml_view(), gui2::dialogs::editor_edit_pbl::validate(), schema_validation::schema_validator::validate_key(), schema_validation::schema_self_validator::validate_key(), ai::config_value_translator< bool >::value_to_cfg(), ai::config_value_translator< config >::value_to_cfg(), ai::config_value_translator< std::string >::value_to_cfg(), ai::config_value_translator< std::vector< std::string > >::value_to_cfg(), ai::config_value_translator< T >::value_to_cfg(), ai::config_value_translator< terrain_filter >::value_to_cfg(), ai::config_value_translator< unit_advancements_aspect >::value_to_cfg(), ai::config_value_translator< utils::variant< bool, std::vector< std::string > > >::value_to_cfg(), game_events::builtin_conditions::variable_matches(), wfl::variant_decimal::variant_decimal(), WIDGET_SETTER(), game_events::WML_HANDLER_FUNCTION(), io::write_internal(), config_writer::write_key_val(), io::write_key_val(), schema_validation::wrong_path_error(), and schema_validation::wrong_value_error().