OSDN Git Service

Merge remote-tracking branch 'remotes/origin/feature/Fix-Sanity-Blast-by-AutoSave...
[hengband/hengband.git] / src / player / player-realm.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 /* 職業ごとの選択可能な魔法領域 / Possible realms that can be chosen. */
6 typedef enum choosable_realm {
7         CH_NONE = 0x00,
8         CH_LIFE = 0x01,
9         CH_SORCERY = 0x02,
10         CH_NATURE = 0x04,
11         CH_CHAOS = 0x08,
12         CH_DEATH = 0x10,
13         CH_TRUMP = 0x20,
14         CH_ARCANE = 0x40,
15         CH_ENCHANT = 0x80,
16         CH_DAEMON = 0x100,
17         CH_CRUSADE = 0x200,
18         
19         CH_MUSIC = 0x8000,
20     CH_HISSATSU = 0x10000,
21     CH_HEX = 0x20000,
22 } choosable_realm;
23
24 extern const s32b realm_choices1[];
25 extern const s32b realm_choices2[];
26
27 /* Magic-books for the realms */
28 REALM_IDX get_realm1_book(player_type *player_ptr);
29 REALM_IDX get_realm2_book(player_type *player_ptr);
30 bool is_wizard_class(player_type *player_ptr);