#include <effects.h>
Inheritance diagram for Death_vortex:


Public Member Functions | |
| Death_vortex (Game_object *trg, Tile_coord tp) | |
| virtual void | handle_event (unsigned long time, long udata) |
| virtual void | paint () |
Private Member Functions | |
| int | add_dirty () |
Private Attributes | |
| ShapeID | vortex |
| Actor * | target |
| Tile_coord | pos |
| int | frames |
| uint32 | stop_time |
| uint32 | next_damage_time |
Definition at line 165 of file effects.h.
| Death_vortex::Death_vortex | ( | Game_object * | trg, | |
| Tile_coord | tp | |||
| ) |
Definition at line 747 of file effects.cc.
References Time_queue::add(), Game_object::as_actor(), Game_window::get_instance(), Game::get_ticks(), Game_object::get_tile(), Game_window::get_tqueue(), and gwin.
Here is the call graph for this function:

| int Death_vortex::add_dirty | ( | ) | [inline, private] |
Definition at line 769 of file effects.cc.
References Game_window::add_dirty(), c_tilesize, Game_window::clip_to_win(), Rectangle::enlarge(), Game_window::get_scrolltx(), Game_window::get_scrollty(), Game_window::get_shape_rect(), Shape_frame::get_width(), gwin, Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Here is the call graph for this function:

| void Death_vortex::handle_event | ( | unsigned long | time, | |
| long | udata | |||
| ) | [virtual] |
Implements Time_sensitive.
Definition at line 785 of file effects.cc.
References Time_queue::add(), Game_window::add_dirty(), c_tilesize, Game_object::find_nearby(), Game_window::get_instance(), Game_window::get_tqueue(), gwin, Exult_server::npc, Game_window::npcs, Game_window::set_all_dirty(), Tile_coord::tx, Tile_coord::ty, and width.
Here is the call graph for this function:

| void Death_vortex::paint | ( | ) | [virtual] |
Reimplemented from Special_effect.
Definition at line 836 of file effects.cc.
References c_tilesize, Game_window::get_scrolltx(), Game_window::get_scrollty(), gwin, Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Here is the call graph for this function:

ShapeID Death_vortex::vortex [private] |
Actor* Death_vortex::target [private] |
Tile_coord Death_vortex::pos [private] |
int Death_vortex::frames [private] |
uint32 Death_vortex::stop_time [private] |
uint32 Death_vortex::next_damage_time [private] |
1.5.1