#include "gamewin.h"#include "gamemap.h"#include "gameclk.h"#include "actors.h"#include "effects.h"#include "Zombie.h"#include "dir.h"#include "chunks.h"#include "Audio.h"#include "Gump_manager.h"#include "game.h"#include "Gump.h"#include "egg.h"#include "SDL_timer.h"Include dependency graph for effects.cc:

Go to the source code of this file.
Functions | |
| int | Get_dir16 (Tile_coord &t1, Tile_coord &t2) |
| Game_object * | Find_target (Game_window *gwin, Tile_coord pos) |
| static Tile_coord | Figure_text_pos (Game_object *item) |
Variables | |
| const int | CLOUD = 2 |
| static Tile_coord Figure_text_pos | ( | Game_object * | item | ) | [inline, static] |
Definition at line 850 of file effects.cc.
References c_tilesize, Gump_manager::find_gump(), Game_window::get_gump_man(), Game_window::get_instance(), Game_object::get_outermost(), Game_window::get_scrolltx(), Game_window::get_scrollty(), Game_window::get_shape_rect(), Gump::get_shape_rect(), gwin, Rectangle::x, and Rectangle::y.
Referenced by Text_effect::handle_event().
Here is the call graph for this function:

| Game_object* Find_target | ( | Game_window * | gwin, | |
| Tile_coord | pos | |||
| ) | [inline] |
Definition at line 639 of file effects.cc.
References Game_object::find_blocking(), Map_chunk::is_blocked(), MOVE_FLY, and Tile_coord::tz.
Referenced by Projectile_effect::handle_event().
Here is the call graph for this function:

| int Get_dir16 | ( | Tile_coord & | t1, | |
| Tile_coord & | t2 | |||
| ) | [inline] |
Definition at line 486 of file effects.cc.
References Get_direction16(), Tile_coord::tx, and Tile_coord::ty.
Referenced by Projectile_effect::init().
Here is the call graph for this function:

| const int CLOUD = 2 |
Definition at line 1301 of file effects.cc.
1.5.1