summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/arena.h
blob: 4547957b1ac0593c08bda837abca4fd06897232e (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
#ifndef ARENA_H
#define ARENA_H

#include "AppHdr.h"
#include "enum.h"

class level_id;
class monsters;
class 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, const mgen_data &mg,
                          bool first_band_member);

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

int arena_cull_items();
#endif