Public Member Functions | |
Background_noise (Game_window *gw) | |
virtual | ~Background_noise () |
virtual void | handle_event (unsigned long curtime, long udata) |
Private Attributes | |
int | repeats |
int | last_sound |
Game_window * | gwin |
int | laststate |
Definition at line 117 of file gamewin.cc.
Background_noise::Background_noise | ( | Game_window * | gw | ) | [inline] |
Definition at line 126 of file gamewin.cc.
References Time_queue::add(), Game_window::get_tqueue(), and gwin.
Here is the call graph for this function:
virtual Background_noise::~Background_noise | ( | ) | [inline, virtual] |
Definition at line 129 of file gamewin.cc.
References Game_window::get_tqueue(), gwin, and Time_queue::remove().
Here is the call graph for this function:
void Background_noise::handle_event | ( | unsigned long | curtime, | |
long | udata | |||
) | [virtual] |
Implements Time_sensitive.
Definition at line 139 of file gamewin.cc.
References Time_queue::add(), BLACK_GATE, Audio::game_sfx(), Game_window::get_clock(), MyMidiPlayer::get_current_track(), Game::get_game_type(), Game_clock::get_hour(), Game_window::get_main_actor(), Audio::get_midi(), MyMidiPlayer::get_output_driver_type(), Audio::get_ptr(), Game_window::get_tqueue(), gwin, Game_window::is_in_dungeon(), Game_window::is_main_actor_inside(), MIDI_DRIVER_OGG, Audio::play_sound_effect(), Audio::start_music(), and MyMidiPlayer::stop_music().
Here is the call graph for this function:
int Background_noise::repeats [private] |
Definition at line 119 of file gamewin.cc.
int Background_noise::last_sound [private] |
Definition at line 120 of file gamewin.cc.
Game_window* Background_noise::gwin [private] |
Definition at line 121 of file gamewin.cc.
Referenced by Background_noise(), and ~Background_noise().
int Background_noise::laststate [private] |
Definition at line 122 of file gamewin.cc.