Project Alice
|
#include <sound_nix.hpp>
Public Member Functions | |
sound_impl () | |
~sound_impl () | |
void | set_volume (std::optional< ma_sound > &sound, float volume) |
void | override_sound (std::optional< ma_sound > &sound, audio_instance &s, float volume) |
void | play_music (int32_t track, float volume) |
void | play_new_track (sys::state &ws) |
void | play_next_track (sys::state &ws) |
void | play_previous_track (sys::state &ws) |
bool | music_finished () |
void | play_effect (audio_instance &s, float volume) |
void | play_interface_sound (audio_instance &s, float volume) |
void | play_music (int32_t track, float volume) |
void | pause_effect () const |
void | pause_interface_sound () const |
void | pause_music () const |
void | resume_effect () const |
void | resume_interface_sound () const |
void | resume_music () const |
void | change_effect_volume (float v) const |
void | change_interface_volume (float v) const |
void | change_music_volume (float v) const |
bool | music_finished () const |
void | play_new_track (sys::state &ws) |
void | play_next_track (sys::state &ws) |
void | play_previous_track (sys::state &ws) |
Definition at line 23 of file sound_nix.hpp.
sound::sound_impl::sound_impl | ( | ) |
Definition at line 18 of file sound_nix.cpp.
sound::sound_impl::~sound_impl | ( | ) |
Definition at line 24 of file sound_nix.cpp.
void sound::sound_impl::change_effect_volume | ( | float | v | ) | const |
void sound::sound_impl::change_interface_volume | ( | float | v | ) | const |
void sound::sound_impl::change_music_volume | ( | float | v | ) | const |
Definition at line 255 of file sound_win.cpp.
bool sound::sound_impl::music_finished | ( | ) |
Definition at line 78 of file sound_nix.cpp.
bool sound::sound_impl::music_finished | ( | ) | const |
Definition at line 188 of file sound_win.cpp.
void sound::sound_impl::override_sound | ( | std::optional< ma_sound > & | sound, |
audio_instance & | s, | ||
float | volume | ||
) |
Definition at line 34 of file sound_nix.cpp.
void sound::sound_impl::pause_effect | ( | ) | const |
void sound::sound_impl::pause_interface_sound | ( | ) | const |
void sound::sound_impl::pause_music | ( | ) | const |
Definition at line 270 of file sound_win.cpp.
void sound::sound_impl::play_effect | ( | audio_instance & | s, |
float | volume | ||
) |
void sound::sound_impl::play_interface_sound | ( | audio_instance & | s, |
float | volume | ||
) |
void sound::sound_impl::play_music | ( | int32_t | track, |
float | volume | ||
) |
Definition at line 48 of file sound_nix.cpp.
void sound::sound_impl::play_music | ( | int32_t | track, |
float | volume | ||
) |
void sound::sound_impl::play_new_track | ( | sys::state & | ws | ) |
void sound::sound_impl::play_new_track | ( | sys::state & | ws | ) |
void sound::sound_impl::play_next_track | ( | sys::state & | ws | ) |
void sound::sound_impl::play_next_track | ( | sys::state & | ws | ) |
void sound::sound_impl::play_previous_track | ( | sys::state & | ws | ) |
void sound::sound_impl::play_previous_track | ( | sys::state & | ws | ) |
void sound::sound_impl::resume_effect | ( | ) | const |
void sound::sound_impl::resume_interface_sound | ( | ) | const |
void sound::sound_impl::resume_music | ( | ) | const |
Definition at line 285 of file sound_win.cpp.
void sound::sound_impl::set_volume | ( | std::optional< ma_sound > & | sound, |
float | volume | ||
) |
audio_instance sound::sound_impl::accept_sound |
Definition at line 68 of file sound_nix.hpp.
audio_instance sound::sound_impl::army_built_sound |
Definition at line 57 of file sound_nix.hpp.
audio_instance sound::sound_impl::army_move_sound |
Definition at line 49 of file sound_nix.hpp.
audio_instance sound::sound_impl::army_select_sound |
Definition at line 50 of file sound_nix.hpp.
audio_instance sound::sound_impl::autochoose_sound |
Definition at line 41 of file sound_nix.hpp.
audio_instance sound::sound_impl::chat_message_sound |
Definition at line 54 of file sound_nix.hpp.
audio_instance sound::sound_impl::checkbox_sound |
Definition at line 37 of file sound_nix.hpp.
audio_instance sound::sound_impl::click_left_sound |
Definition at line 33 of file sound_nix.hpp.
audio_instance sound::sound_impl::click_right_sound |
Definition at line 34 of file sound_nix.hpp.
audio_instance sound::sound_impl::click_sound |
Definition at line 32 of file sound_nix.hpp.
audio_instance sound::sound_impl::console_close_sound |
Definition at line 71 of file sound_nix.hpp.
audio_instance sound::sound_impl::console_open_sound |
Definition at line 70 of file sound_nix.hpp.
int32_t sound::sound_impl::current_music = -1 |
Definition at line 83 of file sound_nix.hpp.
audio_instance sound::sound_impl::decision_sound |
Definition at line 76 of file sound_nix.hpp.
audio_instance sound::sound_impl::declaration_of_war_sound |
Definition at line 53 of file sound_nix.hpp.
audio_instance sound::sound_impl::decline_sound |
Definition at line 67 of file sound_nix.hpp.
audio_instance sound::sound_impl::delete_sound |
Definition at line 40 of file sound_nix.hpp.
audio_instance sound::sound_impl::diplomatic_request_sound |
Definition at line 69 of file sound_nix.hpp.
std::optional<ma_sound> sound::sound_impl::effect_sound |
Definition at line 25 of file sound_nix.hpp.
audio_instance sound::sound_impl::election_sound |
Definition at line 60 of file sound_nix.hpp.
audio_instance sound::sound_impl::enact_sound |
Definition at line 38 of file sound_nix.hpp.
ma_engine sound::sound_impl::engine |
Definition at line 29 of file sound_nix.hpp.
audio_instance sound::sound_impl::error_sound |
Definition at line 55 of file sound_nix.hpp.
audio_instance sound::sound_impl::event_sound |
Definition at line 75 of file sound_nix.hpp.
audio_instance sound::sound_impl::factory_built_sound |
Definition at line 59 of file sound_nix.hpp.
int32_t sound::sound_impl::first_music = -1 |
Definition at line 82 of file sound_nix.hpp.
audio_instance sound::sound_impl::fort_built_sound |
Definition at line 62 of file sound_nix.hpp.
bool sound::sound_impl::global_pause = false |
Definition at line 30 of file sound_nix.hpp.
audio_instance sound::sound_impl::hover_sound |
Definition at line 36 of file sound_nix.hpp.
std::optional<ma_sound> sound::sound_impl::interface_sound |
Definition at line 26 of file sound_nix.hpp.
audio_instance sound::sound_impl::land_battle_sounds |
Definition at line 72 of file sound_nix.hpp.
int32_t sound::sound_impl::last_music = -1 |
Definition at line 81 of file sound_nix.hpp.
audio_instance sound::sound_impl::major_event_sound |
Definition at line 66 of file sound_nix.hpp.
audio_instance sound::sound_impl::minor_event_sound |
Definition at line 65 of file sound_nix.hpp.
std::optional<ma_sound> sound::sound_impl::music |
Definition at line 27 of file sound_nix.hpp.
std::vector< audio_instance > sound::sound_impl::music_list |
Definition at line 80 of file sound_nix.hpp.
audio_instance sound::sound_impl::naval_base_built_sound |
Definition at line 64 of file sound_nix.hpp.
audio_instance sound::sound_impl::naval_battle_sounds |
Definition at line 73 of file sound_nix.hpp.
audio_instance sound::sound_impl::navy_built_sound |
Definition at line 58 of file sound_nix.hpp.
audio_instance sound::sound_impl::navy_move_sound |
Definition at line 51 of file sound_nix.hpp.
audio_instance sound::sound_impl::navy_select_sound |
Definition at line 52 of file sound_nix.hpp.
audio_instance sound::sound_impl::pause_sound |
Definition at line 77 of file sound_nix.hpp.
audio_instance sound::sound_impl::peace_sound |
Definition at line 56 of file sound_nix.hpp.
audio_instance sound::sound_impl::province_select_sounds |
Definition at line 74 of file sound_nix.hpp.
audio_instance sound::sound_impl::railroad_built_sound |
Definition at line 63 of file sound_nix.hpp.
audio_instance sound::sound_impl::revolt_sound |
Definition at line 61 of file sound_nix.hpp.
audio_instance sound::sound_impl::subtab_sound |
Definition at line 39 of file sound_nix.hpp.
audio_instance sound::sound_impl::tab_budget_sound |
Definition at line 35 of file sound_nix.hpp.
audio_instance sound::sound_impl::tab_diplomacy_sound |
Definition at line 43 of file sound_nix.hpp.
audio_instance sound::sound_impl::tab_military_sound |
Definition at line 44 of file sound_nix.hpp.
audio_instance sound::sound_impl::tab_politics_sound |
Definition at line 42 of file sound_nix.hpp.
audio_instance sound::sound_impl::tab_population_sound |
Definition at line 45 of file sound_nix.hpp.
audio_instance sound::sound_impl::tab_production_sound |
Definition at line 46 of file sound_nix.hpp.
audio_instance sound::sound_impl::tab_technology_sound |
Definition at line 47 of file sound_nix.hpp.
audio_instance sound::sound_impl::technology_finished_sound |
Definition at line 48 of file sound_nix.hpp.
audio_instance sound::sound_impl::unpause_sound |
Definition at line 78 of file sound_nix.hpp.
HWND sound::sound_impl::window_handle = nullptr |
Definition at line 59 of file sound_win.hpp.