#include <Actor_gump.h>
Inheritance diagram for Actor_gump:
Public Member Functions | |
Actor_gump (Container_game_object *cont, int initx, int inity, int shnum) | |
~Actor_gump () | |
virtual Gump_button * | on_button (int mx, int my) |
virtual int | add (Game_object *obj, int mx=-1, int my=-1, int sx=-1, int sy=-1, bool dont_check=false, bool combine=false) |
virtual void | paint () |
virtual Container_game_object * | find_actor (int mx, int my) |
Protected Member Functions | |
int | find_closest (int mx, int my, int only_empty=0) |
void | set_to_spot (Game_object *obj, int index) |
Static Protected Member Functions | |
static int | spotx (int i) |
static int | spoty (int i) |
Protected Attributes | |
Heart_button * | heart_button |
Disk_button * | disk_button |
Combat_button * | combat_button |
Halo_button * | halo_button |
Combat_mode_button * | cmode_button |
Static Protected Attributes | |
static short | coords [24] |
static short | diskx |
static short | disky |
static short | heartx |
static short | hearty |
static short | combatx |
static short | combaty |
static short | halox |
static short | haloy |
static short | cmodex |
static short | cmodey |
Private Member Functions | |
UNREPLICATABLE_CLASS (Actor_gump) |
Definition at line 33 of file Actor_gump.h.
Actor_gump::Actor_gump | ( | Container_game_object * | cont, | |
int | initx, | |||
int | inity, | |||
int | shnum | |||
) |
Actor_gump::~Actor_gump | ( | ) |
Definition at line 126 of file Actor_gump.cc.
Actor_gump::UNREPLICATABLE_CLASS | ( | Actor_gump | ) | [private] |
static int Actor_gump::spotx | ( | int | i | ) | [inline, static, protected] |
static int Actor_gump::spoty | ( | int | i | ) | [inline, static, protected] |
int Actor_gump::find_closest | ( | int | mx, | |
int | my, | |||
int | only_empty = 0 | |||
) | [protected] |
Definition at line 64 of file Actor_gump.cc.
void Actor_gump::set_to_spot | ( | Game_object * | obj, | |
int | index | |||
) | [protected] |
Definition at line 221 of file Actor_gump.cc.
References Shape_frame::get_height(), Shape_frame::get_width(), Shape_frame::get_xleft(), Shape_frame::get_yabove(), and Exult_server::obj.
Here is the call graph for this function:
Gump_button * Actor_gump::on_button | ( | int | mx, | |
int | my | |||
) | [virtual] |
Reimplemented from Gump.
Definition at line 143 of file Actor_gump.cc.
References Gump::on_button().
Here is the call graph for this function:
int Actor_gump::add | ( | Game_object * | obj, | |
int | mx = -1 , |
|||
int | my = -1 , |
|||
int | sx = -1 , |
|||
int | sy = -1 , |
|||
bool | dont_check = false , |
|||
bool | combine = false | |||
) | [virtual] |
Reimplemented from Gump.
Definition at line 170 of file Actor_gump.cc.
References Ucscript::cont, and Exult_server::obj.
void Actor_gump::paint | ( | ) | [virtual] |
Reimplemented from Gump.
Definition at line 255 of file Actor_gump.cc.
References Actor::is_two_fingered(), Actor::is_two_handed(), Exult_server::obj, Gump::paint(), ShapeID::paint_shape(), SF_GUMPS_VGA, snprintf, TWO_FINGER_BROWN_FRAME, TWO_FINGER_BROWN_SHAPE, TWO_HANDED_BROWN_FRAME, and TWO_HANDED_BROWN_SHAPE.
Here is the call graph for this function:
Container_game_object * Actor_gump::find_actor | ( | int | mx, | |
int | my | |||
) | [virtual] |
Heart_button* Actor_gump::heart_button [protected] |
Definition at line 38 of file Actor_gump.h.
Disk_button* Actor_gump::disk_button [protected] |
Definition at line 39 of file Actor_gump.h.
Combat_button* Actor_gump::combat_button [protected] |
Definition at line 40 of file Actor_gump.h.
Halo_button* Actor_gump::halo_button [protected] |
Definition at line 41 of file Actor_gump.h.
Combat_mode_button* Actor_gump::cmode_button [protected] |
Definition at line 42 of file Actor_gump.h.
short Actor_gump::coords [static, protected] |
short Actor_gump::diskx [static, protected] |
Definition at line 50 of file Actor_gump.h.
short Actor_gump::disky [static, protected] |
Definition at line 50 of file Actor_gump.h.
short Actor_gump::heartx [static, protected] |
Definition at line 51 of file Actor_gump.h.
short Actor_gump::hearty [static, protected] |
Definition at line 51 of file Actor_gump.h.
short Actor_gump::combatx [static, protected] |
Definition at line 52 of file Actor_gump.h.
short Actor_gump::combaty [static, protected] |
Definition at line 52 of file Actor_gump.h.
short Actor_gump::halox [static, protected] |
Definition at line 53 of file Actor_gump.h.
short Actor_gump::haloy [static, protected] |
Definition at line 53 of file Actor_gump.h.
short Actor_gump::cmodex [static, protected] |
Definition at line 54 of file Actor_gump.h.
short Actor_gump::cmodey [static, protected] |
Definition at line 54 of file Actor_gump.h.