File: ng-restr.h

package info (click to toggle)
crawl 2%3A0.7.1-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 30,420 kB
  • ctags: 23,018
  • sloc: cpp: 244,317; ansic: 16,144; perl: 2,214; makefile: 984; python: 488; objc: 250; ruby: 200; sh: 140
file content (23 lines) | stat: -rw-r--r-- 725 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef NG_RESTR_H
#define NG_RESTR_H

#include "newgame.h"

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

char_choice_restriction job_allowed(species_type speci, job_type job);
bool is_good_combination(species_type spc, job_type job,
                         bool good = false);
char_choice_restriction book_restriction(startup_book_type booktype,
                                         const newgame_def &ng);
char_choice_restriction weapon_restriction(weapon_type wpn,
                                           const newgame_def &ng);
char_choice_restriction religion_restriction(god_type god,
                                             const newgame_def &ng);

#endif