OSDN Git Service

Merge remote-tracking branch 'remotes/origin/For2.2.2-Fix-Hourier' into For2.2.2...
[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 "system/angband.h"
7
8 #define MAX_BLDG 32 /*!< 施設の種類最大数 / Number of buildings */
9
10 typedef struct building_type {
11     GAME_TEXT name[20]; /* proprietor name */
12     GAME_TEXT owner_name[20]; /* proprietor name */
13     GAME_TEXT owner_race[20]; /* proprietor race */
14
15     GAME_TEXT act_names[8][30]; /* action names */
16     PRICE member_costs[8]; /* Costs for class members of building */
17     PRICE other_costs[8]; /* Costs for nonguild members */
18     char letters[8]; /* action letters */
19     BACT_IDX actions[8]; /* action codes */
20     BACT_RESTRICT_IDX action_restr[8]; /* action restrictions */
21
22     player_class_type member_class[MAX_CLASS]; /* which classes are part of guild */
23     player_race_type member_race[MAX_RACES]; /* which classes are part of guild */
24     REALM_IDX member_realm[MAX_MAGIC + 1]; /* which realms are part of guild */
25 } building_type;
26
27 extern building_type building[MAX_BLDG];