Classes | |
struct | faction |
Functions | |
void | write_error (const std::string &error) |
void | adjust_spells (monster *mons, bool no_summons, bool no_animate) |
void | adjust_monsters () |
void | list_eq (int imon) |
void | center_print (unsigned sz, std::string text, int number=-1) |
void | setup_level () |
std::string | find_monster_spec () |
void | parse_faction (faction &fact, std::string spec) throw (std::string) |
void | parse_monster_spec () throw (std::string) |
void | setup_monsters () throw (std::string) |
void | show_fight_banner (bool after_fight=false) |
void | setup_others () |
void | expand_mlist (int exp) |
void | setup_fight () throw (std::string) |
void | more () |
void | count_foes () |
bool | fight_is_on () |
void | report_foes () |
void | fixup_foes () |
void | dump_messages () |
void | balance_spawners () |
void | do_miscasts () |
void | handle_keypress (int ch) |
void | do_respawn (faction &fac) |
void | do_fight () |
void | global_setup (const std::string &arena_teams) |
void | global_shutdown () |
void | write_results () |
void | simulate () |
Variables | |
std::string | teams |
int | total_trials = 0 |
bool | contest_canceled = false |
bool | is_respawning = false |
int | trials_done = 0 |
int | team_a_wins = 0 |
int | ties = 0 |
int | turns = 0 |
bool | allow_summons = true |
bool | allow_animate = true |
bool | allow_chain_summons = true |
bool | allow_zero_xp = false |
bool | allow_immobile = true |
bool | allow_bands = true |
bool | name_monsters = false |
bool | random_uniques = false |
bool | real_summons = false |
bool | move_summons = false |
bool | respawn = false |
bool | move_respawns = false |
bool | miscasts = false |
int | summon_throttle = INT_MAX |
std::vector< int > | uniques_list |
std::vector< int > | a_spawners |
std::vector< int > | b_spawners |
int8_t | to_respawn [MAX_MONSTERS] |
int | item_drop_times [MAX_ITEMS] |
bool | banned_glyphs [128] |
std::string | arena_type = "" |
faction | faction_a (true) |
faction | faction_b (false) |
coord_def | place_a |
coord_def | place_b |
bool | cycle_random = false |
int | cycle_random_pos = -1 |
FILE * | file = NULL |
int | message_pos = 0 |
level_id | place (BRANCH_MAIN_DUNGEON, 20) |
void arena::adjust_monsters | ( | ) |
void arena::adjust_spells | ( | monster * | mons, | |
bool | no_summons, | |||
bool | no_animate | |||
) |
void arena::balance_spawners | ( | ) |
void arena::center_print | ( | unsigned | sz, | |
std::string | text, | |||
int | number = -1 | |||
) |
void arena::count_foes | ( | ) |
void arena::do_fight | ( | ) |
void arena::do_miscasts | ( | ) |
void arena::do_respawn | ( | faction & | fac | ) |
void arena::dump_messages | ( | ) |
void arena::expand_mlist | ( | int | exp | ) |
bool arena::fight_is_on | ( | ) |
std::string arena::find_monster_spec | ( | ) |
void arena::fixup_foes | ( | ) |
void arena::global_setup | ( | const std::string & | arena_teams | ) |
void arena::global_shutdown | ( | ) |
void arena::handle_keypress | ( | int | ch | ) |
void arena::list_eq | ( | int | imon | ) |
void arena::more | ( | ) |
void arena::parse_faction | ( | faction & | fact, | |
std::string | spec | |||
) | throw (std::string) |
void arena::parse_monster_spec | ( | ) | throw (std::string) |
void arena::report_foes | ( | ) |
void arena::setup_fight | ( | ) | throw (std::string) |
void arena::setup_level | ( | ) |
void arena::setup_monsters | ( | ) | throw (std::string) |
void arena::setup_others | ( | ) |
void arena::show_fight_banner | ( | bool | after_fight = false |
) |
void arena::simulate | ( | ) |
void arena::write_error | ( | const std::string & | error | ) |
void arena::write_results | ( | ) |
std::vector<int> arena::a_spawners |
bool arena::allow_animate = true |
bool arena::allow_bands = true |
bool arena::allow_chain_summons = true |
bool arena::allow_immobile = true |
bool arena::allow_summons = true |
bool arena::allow_zero_xp = false |
std::vector<int> arena::b_spawners |
bool arena::banned_glyphs[128] |
bool arena::contest_canceled = false |
bool arena::cycle_random = false |
int arena::cycle_random_pos = -1 |
faction arena::faction_a(true) |
faction arena::faction_b(false) |
FILE* arena::file = NULL |
bool arena::is_respawning = false |
int arena::item_drop_times[MAX_ITEMS] |
int arena::message_pos = 0 |
bool arena::miscasts = false |
bool arena::move_respawns = false |
bool arena::move_summons = false |
bool arena::name_monsters = false |
level_id arena::place(BRANCH_MAIN_DUNGEON, 20) |
bool arena::random_uniques = false |
bool arena::real_summons = false |
bool arena::respawn = false |
int arena::summon_throttle = INT_MAX |
int arena::team_a_wins = 0 |
int arena::ties = 0 |
int8_t arena::to_respawn[MAX_MONSTERS] |
int arena::total_trials = 0 |
int arena::trials_done = 0 |
int arena::turns = 0 |
std::vector<int> arena::uniques_list |