

Public Member Functions | |
| Object_sfx (int snum, Game_object *o) | |
| int | get_sfxnum () |
| int | get_distance () |
| void | set_obj (Game_object *o) |
| void | stop (Game_object *o) |
Static Public Member Functions | |
| static int | get_shape_sfx (int shapenum) |
| static void | play (Game_object *o, int snum, bool stop=false) |
Private Attributes | |
| int | sfxnum |
| int | sfx |
| Game_object * | obj |
| int | distance |
| int | dir |
Definition at line 54 of file animate.cc.
| Object_sfx::Object_sfx | ( | int | snum, | |
| Game_object * | o | |||
| ) | [inline] |
Definition at line 63 of file animate.cc.
References set_obj().
Here is the call graph for this function:

| int Object_sfx::get_sfxnum | ( | ) | [inline] |
| int Object_sfx::get_distance | ( | ) | [inline] |
| void Object_sfx::set_obj | ( | Game_object * | o | ) |
Definition at line 91 of file animate.cc.
References Tile_coord::distance(), Get_direction16(), Game_window::get_main_actor(), Audio::get_ptr(), Game_object::get_tile(), gwin, Exult_server::obj, Audio::play_sound_effect(), Ucscript::repeat, Ucscript::sfx, Tile_coord::tx, and Tile_coord::ty.
Referenced by Object_sfx().
Here is the call graph for this function:

| void Object_sfx::stop | ( | Game_object * | o | ) | [inline] |
| int Object_sfx::get_shape_sfx | ( | int | shapenum | ) | [static] |
Definition at line 149 of file animate.cc.
References U7file::filename, GAME_BG, Audio::game_sfx(), Audio::get_ptr(), Audio::get_sfx_file(), s, Ucscript::sfx, and to_uppercase().
Here is the call graph for this function:

| void Object_sfx::play | ( | Game_object * | o, | |
| int | snum, | |||
| bool | stop = false | |||
| ) | [static] |
Definition at line 216 of file animate.cc.
References Ucscript::sfx.
Referenced by Sfx_animator::handle_event(), and Frame_animator::handle_event().
int Object_sfx::sfxnum [private] |
int Object_sfx::sfx [private] |
Game_object* Object_sfx::obj [private] |
int Object_sfx::distance [private] |
int Object_sfx::dir [private] |
Definition at line 60 of file animate.cc.
1.5.1