Waiter_schedule Class Reference

#include <schedule.h>

Inheritance diagram for Waiter_schedule:

Inheritance graph
[legend]
Collaboration diagram for Waiter_schedule:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Waiter_schedule (Actor *n)
virtual void now_what ()
virtual void ending (int newtype)

Private Member Functions

void get_customer ()
void find_tables (int shapenum)
Game_objectfind_serving_spot (Tile_coord &spot)

Private Attributes

int first
Tile_coord startpos
Actorcustomer
Actor_queue customers
Game_object_vector prep_tables
Game_object_vector eating_tables

Detailed Description

Definition at line 382 of file schedule.h.


Constructor & Destructor Documentation

Waiter_schedule::Waiter_schedule ( Actor n  ) 

Definition at line 1862 of file schedule.cc.


Member Function Documentation

void Waiter_schedule::get_customer (  )  [private]

Definition at line 1874 of file schedule.cc.

References c_any_shapenum, Schedule::eat_at_inn, Map_chunk::find_spot(), first_waiter_ask, Game_window::get_std_delay(), gwin, last_waiter_ask, Exult_server::npc, and Tile_coord::tx.

Here is the call graph for this function:

void Waiter_schedule::find_tables ( int  shapenum  )  [private]

Definition at line 1915 of file schedule.cc.

References Exult_server::npc.

Game_object * Waiter_schedule::find_serving_spot ( Tile_coord spot  )  [private]

Definition at line 1944 of file schedule.cc.

References Rectangle::distance(), Game_object::get_lift(), Game_object::get_tile(), Rectangle::h, Rectangle::has_point(), Exult_server::info, Game_object::move(), Exult_server::npc, Tile_coord::tx, Tile_coord::ty, Tile_coord::tz, Rectangle::w, Rectangle::x, and Rectangle::y.

Here is the call graph for this function:

void Waiter_schedule::now_what (  )  [virtual]

Implements Schedule.

Definition at line 2006 of file schedule.cc.

References Map_chunk::find_spot(), first_waiter_banter, first_waiter_serve, Ucscript::frame, ShapeID::get_shapenum(), Game_window::get_std_delay(), gwin, last_waiter_banter, last_waiter_serve, Actor::lhand, Game_object::move(), Exult_server::npc, Game_object::set_invalid(), Actor::standing, and Tile_coord::tx.

Here is the call graph for this function:

void Waiter_schedule::ending ( int  newtype  )  [virtual]

Reimplemented from Schedule.

Definition at line 2083 of file schedule.cc.

References Actor::lhand, Exult_server::npc, Exult_server::obj, and Actor::rhand.


Member Data Documentation

int Waiter_schedule::first [private]

Definition at line 384 of file schedule.h.

Tile_coord Waiter_schedule::startpos [private]

Definition at line 385 of file schedule.h.

Actor* Waiter_schedule::customer [private]

Definition at line 386 of file schedule.h.

Actor_queue Waiter_schedule::customers [private]

Definition at line 387 of file schedule.h.

Game_object_vector Waiter_schedule::prep_tables [private]

Definition at line 388 of file schedule.h.

Game_object_vector Waiter_schedule::eating_tables [private]

Definition at line 389 of file schedule.h.


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