#include <Face_stats.h>
Inheritance diagram for Face_stats:


Public Member Functions | |
| virtual | ~Face_stats () |
| virtual Gump_button * | on_button (int mx, int my) |
| virtual void | paint () |
| virtual bool | is_persistent () const |
| virtual bool | is_draggable () const |
| virtual bool | no_handcursor () const |
| virtual Rectangle | get_rect () |
| virtual bool | has_point (int x, int y) |
| virtual void | update_gump () |
| 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 Container_game_object * | find_actor (int mx, int my) |
Static Public Member Functions | |
| static int | get_state () |
| static void | CreateGump () |
| static void | RemoveGump () |
| static void | AdvanceState () |
| static void | save_config (Configuration *config) |
| static void | load_config (Configuration *config) |
Private Member Functions | |
| Face_stats () | |
| bool | has_changed () |
| void | create_buttons () |
| void | delete_buttons () |
Private Attributes | |
| int | party_size |
| Portrait_button * | party [8] |
| int | npc_nums [8] |
| int | resx |
| int | resy |
| Rectangle | region |
Static Private Attributes | |
| static Face_stats * | self |
| static int | mode |
Definition at line 28 of file Face_stats.h.
| Face_stats::Face_stats | ( | ) | [private] |
Definition at line 278 of file Face_stats.cc.
References create_buttons(), npc_nums, and party.
Referenced by CreateGump().
Here is the call graph for this function:

| Face_stats::~Face_stats | ( | ) | [virtual] |
Definition at line 294 of file Face_stats.cc.
References delete_buttons(), Game_singletons::gwin, and Game_window::set_all_dirty().
Here is the call graph for this function:

| bool Face_stats::has_changed | ( | ) | [private] |
Definition at line 344 of file Face_stats.cc.
References Party_manager::get_count(), Game_window::get_height(), Party_manager::get_member(), Game_window::get_width(), Game_singletons::gwin, npc_nums, party_size, Game_singletons::partyman, resx, and resy.
Referenced by update_gump().
Here is the call graph for this function:

| void Face_stats::create_buttons | ( | ) | [private] |
Definition at line 377 of file Face_stats.cc.
References Rectangle::add(), GAME_SI, Party_manager::get_count(), Game_window::get_height(), Game_window::get_main_actor(), Party_manager::get_member(), Game_window::get_npc(), get_rect(), Game_window::get_width(), Game_singletons::gwin, Rectangle::h, mode, npc_nums, party, party_size, Game_singletons::partyman, PORTRAIT_WIDTH, region, resx, resy, Rectangle::w, width, Rectangle::x, Gump::x, Rectangle::y, and Gump::y.
Referenced by Face_stats(), and update_gump().
Here is the call graph for this function:

| void Face_stats::delete_buttons | ( | ) | [private] |
Definition at line 359 of file Face_stats.cc.
References Game_window::add_dirty(), get_rect(), Game_singletons::gwin, npc_nums, party, resx, and resy.
Referenced by update_gump(), and ~Face_stats().
Here is the call graph for this function:

| Gump_button * Face_stats::on_button | ( | int | mx, | |
| int | my | |||
| ) | [virtual] |
Reimplemented from Gump.
Definition at line 318 of file Face_stats.cc.
References party.
Referenced by find_actor(), and has_point().
| void Face_stats::paint | ( | ) | [virtual] |
| virtual bool Face_stats::is_persistent | ( | ) | const [inline, virtual] |
| virtual bool Face_stats::is_draggable | ( | ) | const [inline, virtual] |
| virtual bool Face_stats::no_handcursor | ( | ) | const [inline, virtual] |
| virtual Rectangle Face_stats::get_rect | ( | ) | [inline, virtual] |
Reimplemented from Gump.
Definition at line 60 of file Face_stats.h.
References region.
Referenced by create_buttons(), and delete_buttons().
| bool Face_stats::has_point | ( | int | x, | |
| int | y | |||
| ) | [virtual] |
Reimplemented from Gump.
Definition at line 433 of file Face_stats.cc.
References on_button(), and party.
Here is the call graph for this function:

| void Face_stats::update_gump | ( | ) | [virtual] |
Reimplemented from Gump.
Definition at line 329 of file Face_stats.cc.
References create_buttons(), delete_buttons(), has_changed(), and party.
Here is the call graph for this function:

| int Face_stats::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 451 of file Face_stats.cc.
References Exult_server::obj.
| Container_game_object * Face_stats::find_actor | ( | int | mx, | |
| int | my | |||
| ) | [virtual] |
Reimplemented from Gump.
Definition at line 471 of file Face_stats.cc.
References on_button(), and party.
Here is the call graph for this function:

| static int Face_stats::get_state | ( | ) | [inline, static] |
Definition at line 72 of file Face_stats.h.
References mode.
Referenced by GameplayOptions_gump::load_settings(), and GameplayOptions_gump::save_settings().
| void Face_stats::CreateGump | ( | ) | [static] |
Definition at line 486 of file Face_stats.cc.
References Gump_manager::add_gump(), Face_stats(), and Game_singletons::gumpman.
Referenced by AdvanceState(), and load_config().
Here is the call graph for this function:

| void Face_stats::RemoveGump | ( | ) | [static] |
Definition at line 496 of file Face_stats.cc.
References Gump_manager::close_gump(), and Game_singletons::gumpman.
Referenced by AdvanceState(), and load_config().
Here is the call graph for this function:

| void Face_stats::AdvanceState | ( | ) | [static] |
Definition at line 503 of file Face_stats.cc.
References CreateGump(), mode, PORTRAIT_NUM_MODES, and RemoveGump().
Referenced by ActionFaceStats(), and GameplayOptions_gump::save_settings().
Here is the call graph for this function:

| void Face_stats::save_config | ( | Configuration * | config | ) | [static] |
Definition at line 516 of file Face_stats.cc.
References config, mode, and Configuration::set().
Referenced by ActionFaceStats(), and GameplayOptions_gump::save_settings().
Here is the call graph for this function:

| void Face_stats::load_config | ( | Configuration * | config | ) | [static] |
Definition at line 524 of file Face_stats.cc.
References config, CreateGump(), EXULT_DEVEL_GAME, Game::get_game_type(), mode, PORTRAIT_NUM_MODES, RemoveGump(), and Configuration::value().
Referenced by Game_window::setup_game().
Here is the call graph for this function:

Face_stats * Face_stats::self [static, private] |
Definition at line 31 of file Face_stats.h.
int Face_stats::mode [static, private] |
Definition at line 32 of file Face_stats.h.
Referenced by AdvanceState(), create_buttons(), get_state(), load_config(), and save_config().
int Face_stats::party_size [private] |
Portrait_button* Face_stats::party[8] [private] |
Definition at line 36 of file Face_stats.h.
Referenced by create_buttons(), delete_buttons(), Face_stats(), find_actor(), has_point(), on_button(), and update_gump().
int Face_stats::npc_nums[8] [private] |
Definition at line 37 of file Face_stats.h.
Referenced by create_buttons(), delete_buttons(), Face_stats(), and has_changed().
int Face_stats::resx [private] |
Definition at line 39 of file Face_stats.h.
Referenced by create_buttons(), delete_buttons(), and has_changed().
int Face_stats::resy [private] |
Definition at line 40 of file Face_stats.h.
Referenced by create_buttons(), delete_buttons(), and has_changed().
Rectangle Face_stats::region [private] |
1.5.1