#include <party.h>
Inheritance diagram for Party_manager:


Public Member Functions | |
| Party_manager () | |
| void | set_count (int n) |
| void | set_member (int i, int npcnum) |
| int | get_count () |
| int | get_member (int i) |
| int | get_dead_count () |
| int | get_dead_member (int i) |
| bool | add_to_party (Actor *npc) |
| bool | remove_from_party (Actor *npc) |
| int | in_dead_party (Actor *npc) |
| bool | add_to_dead_party (Actor *npc) |
| bool | remove_from_dead_party (Actor *npc) |
| void | update_party_status (Actor *npc) |
| void | link_party () |
| void | get_followers (int dir) |
Private Member Functions | |
| void | move_followers (Actor *npc, int vindex, int dir) |
| int | step (Actor *npc, Actor *leader, int dir, Tile_coord dest) |
Private Attributes | |
| int | party [8] |
| int | party_count |
| int | dead_party [16] |
| int | dead_party_count |
| Actor * | valid [8] |
| int | validcnt |
Definition at line 36 of file party.h.
| void Party_manager::move_followers | ( | Actor * | npc, | |
| int | vindex, | |||
| int | dir | |||
| ) | [private] |
Definition at line 310 of file party.cc.
References Actor::is_dead(), Exult_server::npc, and Ucscript::step.
Here is the call graph for this function:

| int Party_manager::step | ( | Actor * | npc, | |
| Actor * | leader, | |||
| int | dir, | |||
| Tile_coord | dest | |||
| ) | [private] |
Definition at line 564 of file party.cc.
References Frames_sequence::decrement(), Frames_sequence::find_unrotated(), Get_dir_from(), Frames_sequence::get_next(), Get_step_tile(), Is_step_okay(), Exult_server::npc, Take_best_step(), Tile_coord::tx, and Tile_coord::ty.
Here is the call graph for this function:

| void Party_manager::set_count | ( | int | n | ) | [inline] |
| void Party_manager::set_member | ( | int | i, | |
| int | npcnum | |||
| ) | [inline] |
| int Party_manager::get_count | ( | ) | [inline] |
Definition at line 53 of file party.h.
References party_count.
Referenced by ActionCombatStats(), ActionInventory(), ActionStats(), Face_stats::create_buttons(), Find_member_blocking(), Face_stats::has_changed(), Newfile_gump::LoadSaveGameDetails(), and Game_window::write_saveinfo().
| int Party_manager::get_member | ( | int | i | ) | [inline] |
Definition at line 55 of file party.h.
References party.
Referenced by Face_stats::create_buttons(), Find_member_blocking(), Get_party_member(), Face_stats::has_changed(), Newfile_gump::LoadSaveGameDetails(), and Game_window::write_saveinfo().
| int Party_manager::get_dead_count | ( | ) | [inline] |
Definition at line 57 of file party.h.
References dead_party_count.
Referenced by Cheat::heal_party().
| int Party_manager::get_dead_member | ( | int | i | ) | [inline] |
| bool Party_manager::add_to_party | ( | Actor * | npc | ) |
Definition at line 58 of file party.cc.
References Obj_flags::in_party, Exult_server::npc, and Obj_flags::okay_to_take.
Referenced by CheatScreen::FlagActivate().
| bool Party_manager::remove_from_party | ( | Actor * | npc | ) |
Definition at line 81 of file party.cc.
References Game_window::get_npc(), gwin, Obj_flags::in_party, Exult_server::npc, and Actor::set_party_id().
Referenced by CheatScreen::FlagActivate().
Here is the call graph for this function:

| int Party_manager::in_dead_party | ( | Actor * | npc | ) |
| bool Party_manager::add_to_dead_party | ( | Actor * | npc | ) |
| bool Party_manager::remove_from_dead_party | ( | Actor * | npc | ) |
| void Party_manager::update_party_status | ( | Actor * | npc | ) |
| void Party_manager::link_party | ( | ) |
Definition at line 200 of file party.cc.
References Game_window::get_main_actor(), Game_window::get_npc(), gwin, Obj_flags::in_party, Exult_server::npc, Obj_flags::okay_to_take, Actor::set_flag(), and Container_game_object::set_flag_recursively().
Here is the call graph for this function:

| void Party_manager::get_followers | ( | int | dir | ) |
Definition at line 284 of file party.cc.
References Obj_flags::asleep, Game_window::get_main_actor(), Game_window::get_npc(), gwin, Exult_server::npc, and Obj_flags::paralyzed.
Here is the call graph for this function:

int Party_manager::party[8] [private] |
int Party_manager::party_count [private] |
int Party_manager::dead_party[16] [private] |
int Party_manager::dead_party_count [private] |
Actor* Party_manager::valid[8] [private] |
int Party_manager::validcnt [private] |
1.5.1