summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ng-restr.h
blob: 6157e2e7cab4133449e294a2fcd0e87fee6f8979 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef NG_RESTR_H
#define NG_RESTR_H

#include "itemprop-enum.h"

struct newgame_def;

enum char_choice_restriction
{
    CC_BANNED = 0,
    CC_RESTRICTED,
    CC_UNRESTRICTED,
};

char_choice_restriction species_allowed(job_type job, species_type speci);
char_choice_restriction job_allowed(species_type speci, job_type job);
bool is_good_combination(species_type spc, job_type job,
                         bool species_first, bool good = false);
char_choice_restriction weapon_restriction(weapon_type wpn,
                                           const newgame_def &ng);

#endif