Monster_pathfinder_client Class Reference

#include <paths.h>

Inheritance diagram for Monster_pathfinder_client:

Inheritance graph
[legend]
Collaboration diagram for Monster_pathfinder_client:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Monster_pathfinder_client (Actor *npc, Tile_coord dest, int dist)
 Monster_pathfinder_client (Actor *attacker, int reach, Game_object *opponent)
virtual int get_max_cost (int cost_to_goal)
virtual int at_goal (Tile_coord &tile, Tile_coord &goal)
virtual int get_step_cost (Tile_coord from, Tile_coord &to)

Private Attributes

Rectangle destbox
int intelligence
int axtiles
int aytiles
int aztiles

Detailed Description

Definition at line 114 of file paths.h.


Constructor & Destructor Documentation

Monster_pathfinder_client::Monster_pathfinder_client ( Actor npc,
Tile_coord  dest,
int  dist 
)

Definition at line 473 of file paths.cc.

References Shape_info::get_3d_height(), Shape_info::get_3d_xtiles(), Shape_info::get_3d_ytiles(), Actor::intelligence, and Exult_server::npc.

Here is the call graph for this function:

Monster_pathfinder_client::Monster_pathfinder_client ( Actor attacker,
int  reach,
Game_object opponent 
)

Definition at line 493 of file paths.cc.

References Shape_info::get_3d_height(), Shape_info::get_3d_xtiles(), Shape_info::get_3d_ytiles(), ShapeID::get_info(), Actor::get_property(), Game_object::get_tile(), Actor::get_type_flags(), Actor::intelligence, Tile_coord::tx, and Tile_coord::ty.

Here is the call graph for this function:


Member Function Documentation

int Monster_pathfinder_client::get_max_cost ( int  cost_to_goal  )  [virtual]

Reimplemented from Fast_pathfinder_client.

Definition at line 520 of file paths.cc.

References c_tilesize, Game_window::get_instance(), Game_window::get_width(), gwin, and max_cost.

Here is the call graph for this function:

int Monster_pathfinder_client::at_goal ( Tile_coord tile,
Tile_coord goal 
) [virtual]

Reimplemented from Fast_pathfinder_client.

Definition at line 543 of file paths.cc.

References Rectangle::intersects(), Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.

Here is the call graph for this function:

int Monster_pathfinder_client::get_step_cost ( Tile_coord  from,
Tile_coord to 
) [virtual]

Reimplemented from Fast_pathfinder_client.

Definition at line 564 of file paths.cc.

References Map_chunk::is_blocked().

Here is the call graph for this function:


Member Data Documentation

Rectangle Monster_pathfinder_client::destbox [private]

Definition at line 116 of file paths.h.

int Monster_pathfinder_client::intelligence [private]

Definition at line 117 of file paths.h.

int Monster_pathfinder_client::axtiles [private]

Definition at line 118 of file paths.h.

int Monster_pathfinder_client::aytiles [private]

Definition at line 118 of file paths.h.

int Monster_pathfinder_client::aztiles [private]

Definition at line 118 of file paths.h.


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 14:58:28 2007 for ExultEngine by  doxygen 1.5.1