00001 /* 00002 * File: arena.h 00003 * Summary: Functions related to the monster arena (stage and watch fights). 00004 */ 00005 00006 #ifndef ARENA_H 00007 #define ARENA_H 00008 00009 #include "enum.h" 00010 00011 class level_id; 00012 class monster; 00013 struct mgen_data; 00014 00015 struct coord_def; 00016 00017 NORETURN void run_arena(const std::string& teams); 00018 00019 monster_type arena_pick_random_monster(const level_id &place, int power, 00020 int &lev_mons); 00021 00022 bool arena_veto_random_monster(monster_type type); 00023 00024 bool arena_veto_place_monster(const mgen_data &mg, bool first_band_member, 00025 const coord_def& pos); 00026 00027 void arena_placed_monster(monster* mons); 00028 00029 void arena_split_monster(monster* split_from, monster* split_to); 00030 00031 void arena_monster_died(monster* mons, killer_type killer, 00032 int killer_index, bool silent, int corpse); 00033 00034 int arena_cull_items(); 00035 #endif