OSDN Git Service

[Chore] UTF-8エンコーディングのファイルからBOMを削除
[hengbandforosx/hengbandosx.git] / src / player / player-realm.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include <vector>
5
6 /* 職業ごとの選択可能な魔法領域 / Possible realms that can be chosen. */
7 enum choosable_realm {
8     CH_NONE = 0x00,
9     CH_LIFE = 0x01,
10     CH_SORCERY = 0x02,
11     CH_NATURE = 0x04,
12     CH_CHAOS = 0x08,
13     CH_DEATH = 0x10,
14     CH_TRUMP = 0x20,
15     CH_ARCANE = 0x40,
16     CH_ENCHANT = 0x80,
17     CH_DAEMON = 0x100,
18     CH_CRUSADE = 0x200,
19
20     CH_MUSIC = 0x8000,
21     CH_HISSATSU = 0x10000,
22     CH_HEX = 0x20000,
23 };
24
25 extern const std::vector<BIT_FLAGS> realm_choices1;
26 extern const std::vector<BIT_FLAGS> realm_choices2;
27
28 class PlayerType;
29 enum class ItemKindType : short;
30 ItemKindType get_realm1_book(PlayerType *player_ptr);
31 ItemKindType get_realm2_book(PlayerType *player_ptr);