OSDN Git Service

[Change] 変愚蛮怒名義を馬鹿馬鹿蛮怒名義に変更. / Change naming from Hengband to Bakabakaband.
[hengband/hengband.git] / src / system / building-type-definition.h
1 #pragma once
2
3 /* 人畜無害なenumヘッダを先に読み込む */
4 #include "player/player-classes-types.h"
5 #include "player/player-race-types.h"
6 #include "realm/realm-types.h"
7 #include "system/angband.h"
8
9 #define MAX_BLDG 32 /*!< 施設の種類最大数 / Number of buildings */
10
11 /*!
12  * @brief 闘技場のモンスターエントリー構造体 / A structure type for on_defeat_arena_monster entry
13  */
14 typedef enum tval_type tval_type;
15 typedef struct arena_type {
16     MONRACE_IDX r_idx; /*!< 闘技場のモンスター種族ID(0ならば表彰式) / Monster (0 means victory prizing) */
17     tval_type tval; /*!< モンスター打倒後に得られるアイテムの大カテゴリID / tval of prize (0 means no prize) */
18     OBJECT_SUBTYPE_VALUE sval; /*!< モンスター打倒後に得られるアイテムの小カテゴリID / sval of prize */
19 } arena_type;
20
21 typedef struct building_type {
22     GAME_TEXT name[20]; /* proprietor name */
23     GAME_TEXT owner_name[20]; /* proprietor name */
24     GAME_TEXT owner_race[20]; /* proprietor race */
25
26     GAME_TEXT act_names[8][30]; /* action names */
27     PRICE member_costs[8]; /* Costs for class members of building */
28     PRICE other_costs[8]; /* Costs for nonguild members */
29     char letters[8]; /* action letters */
30     BACT_IDX actions[8]; /* action codes */
31     BACT_RESTRICT_IDX action_restr[8]; /* action restrictions */
32
33     player_class_type member_class[MAX_CLASS]; /* which classes are part of guild */
34     player_race_type member_race[MAX_RACES]; /* which classes are part of guild */
35     REALM_IDX member_realm[MAX_MAGIC + 1]; /* which realms are part of guild */
36 } building_type;
37
38 extern building_type building[MAX_BLDG];
39 extern MONRACE_IDX battle_mon[4];