OSDN Git Service

[Refactor] #38844 leave_bldg フラグを player_type 構造体に移動。
[hengband/hengband.git] / src / bldg.h
1 #pragma once
2
3 /*
4  * Buildings actions
5  */
6 #define BACT_NOTHING                 0
7 #define BACT_RESEARCH_ITEM           1
8 #define BACT_TOWN_HISTORY            2
9 #define BACT_RACE_LEGENDS            3
10 #define BACT_GREET_KING              4
11 #define BACT_KING_LEGENDS            5
12 #define BACT_QUEST                   6
13 #define BACT_XXX_UNUSED              7
14 #define BACT_POSTER                  8
15 #define BACT_ARENA_RULES             9
16 #define BACT_ARENA                  10
17 #define BACT_ARENA_LEGENDS          11
18 #define BACT_IN_BETWEEN             12
19 #define BACT_GAMBLE_RULES           13
20 #define BACT_CRAPS                  14
21 #define BACT_SPIN_WHEEL             15
22 #define BACT_DICE_SLOTS             16
23 #define BACT_REST                   17
24 #define BACT_FOOD                   18
25 #define BACT_RUMORS                 19
26 #define BACT_RESEARCH_MONSTER       20
27 #define BACT_COMPARE_WEAPONS        21
28 #define BACT_LEGENDS                22
29 #define BACT_ENCHANT_WEAPON         23
30 #define BACT_ENCHANT_ARMOR          24
31 #define BACT_RECHARGE               25
32 #define BACT_IDENTS                 26
33 #define BACT_LEARN                  27
34 #define BACT_HEALING                28
35 #define BACT_RESTORE                29
36 #define BACT_ENCHANT_ARROWS         30
37 #define BACT_ENCHANT_BOW            31
38 #define BACT_GREET                  32
39 #define BACT_RECALL                 33
40 #define BACT_TELEPORT_LEVEL         34
41 #define BACT_LOSE_MUTATION          35
42 #define BACT_BATTLE                 36
43 #define BACT_TSUCHINOKO             37
44 #define BACT_TARGET                 38
45 #define BACT_KUBI                   39
46 #define BACT_KANKIN                 40
47 #define BACT_HEIKOUKA               41
48 #define BACT_TELE_TOWN              42
49 #define BACT_POKER                  43
50 #define BACT_IDENT_ONE              44
51 #define BACT_RECHARGE_ALL           45
52 #define BACT_EVAL_AC                    46
53 #define BACT_BROKEN_WEAPON          47
54 #define MAX_BACT                    48
55
56 extern const arena_type arena_info[MAX_ARENA_MONS + 2];
57 extern void update_gambling_monsters(void);
58 extern void do_cmd_bldg(void);
59
60 extern void clear_bldg(int min_row, int max_row);