Sit_actor_action Class Reference

Inheritance diagram for Sit_actor_action:

Inheritance graph
[legend]
Collaboration diagram for Sit_actor_action:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Sit_actor_action (Game_object *o, Actor *actor)
Tile_coord get_sitloc () const
virtual int handle_event (Actor *actor)

Static Public Member Functions

static bool is_occupied (Game_object *chair, Actor *actor)

Private Member Functions

signed char * init (Game_object *chairobj, Actor *actor)

Static Private Member Functions

static bool is_occupied (Tile_coord sitloc, Actor *actor)

Private Attributes

Game_objectchair
Tile_coord chairloc
Tile_coord sitloc
signed char frames [2]

Static Private Attributes

static short offsets [8]

Detailed Description

Definition at line 1345 of file schedule.cc.


Constructor & Destructor Documentation

Sit_actor_action::Sit_actor_action ( Game_object o,
Actor actor 
) [inline]

Definition at line 1387 of file schedule.cc.

References chairloc, ShapeID::get_framenum(), Game_object::get_tile(), offsets, sitloc, Tile_coord::tx, and Tile_coord::ty.

Here is the call graph for this function:


Member Function Documentation

signed char* Sit_actor_action::init ( Game_object chairobj,
Actor actor 
) [inline, private]

Definition at line 1352 of file schedule.cc.

References Actor::bow_frame, frames, Game_object::get_dir_framenum(), ShapeID::get_framenum(), and Actor::sit_frame.

Here is the call graph for this function:

static bool Sit_actor_action::is_occupied ( Tile_coord  sitloc,
Actor actor 
) [inline, static, private]

Definition at line 1360 of file schedule.cc.

References Actor::bow_frame, c_any_shapenum, Game_object::find_nearby(), Shape_info::get_3d_height(), ShapeID::get_info(), Game_object::get_tile(), Map_chunk::is_blocked(), MOVE_WALK, Exult_server::npc, Actor::sit_frame, and sitloc.

Referenced by Sit_schedule::is_occupied(), is_occupied(), and Sit_schedule::set_action().

Here is the call graph for this function:

Tile_coord Sit_actor_action::get_sitloc (  )  const [inline]

Definition at line 1396 of file schedule.cc.

References sitloc.

Referenced by Sit_schedule::set_action().

static bool Sit_actor_action::is_occupied ( Game_object chair,
Actor actor 
) [inline, static]

Definition at line 1398 of file schedule.cc.

References chair, ShapeID::get_framenum(), Game_object::get_tile(), is_occupied(), and offsets.

Here is the call graph for this function:

int Sit_actor_action::handle_event ( Actor actor  )  [virtual]

Reimplemented from Frames_actor_action.

Definition at line 1416 of file schedule.cc.

References first_chair_thief, Frames_actor_action::handle_event(), last_chair_thief, and Game_object::say().

Here is the call graph for this function:


Member Data Documentation

Game_object* Sit_actor_action::chair [private]

Definition at line 1347 of file schedule.cc.

Referenced by is_occupied().

Tile_coord Sit_actor_action::chairloc [private]

Definition at line 1348 of file schedule.cc.

Referenced by Sit_actor_action().

Tile_coord Sit_actor_action::sitloc [private]

Definition at line 1349 of file schedule.cc.

Referenced by get_sitloc(), is_occupied(), and Sit_actor_action().

signed char Sit_actor_action::frames[2] [private]

Reimplemented from Frames_actor_action.

Definition at line 1350 of file schedule.cc.

Referenced by init().

short Sit_actor_action::offsets [static, private]

Definition at line 1351 of file schedule.cc.

Referenced by is_occupied(), and Sit_actor_action().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 15:03:04 2007 for ExultEngine by  doxygen 1.5.1