summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/arena.h
blob: d79d2f834d5f2563f860c443e2c987952e58f6cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 *  File:       arena.h
 *  Summary:    Functions related to the monster arena (stage and watch fights).
 */

#ifndef ARENA_H
#define ARENA_H

#include "enum.h"

class level_id;
class monsters;
struct mgen_data;

struct coord_def;

void run_arena();

monster_type arena_pick_random_monster(const level_id &place, int power,
                                       int &lev_mons);

bool arena_veto_random_monster(monster_type type);

bool arena_veto_place_monster(const mgen_data &mg, bool first_band_member,
                              const coord_def& pos);

void arena_placed_monster(monsters *monster);

void arena_split_monster(monsters *split_from, monsters *split_to);

void arena_monster_died(monsters *monster, killer_type killer,
                        int killer_index, bool silent, int corpse);

int arena_cull_items();
#endif