Hengband  2.2.1
floor-town.h
[詳解]
1 #pragma once
2 #include "store.h"
3 
4 /*
5  * A structure describing a town with
6  * stores and buildings
7  */
8 typedef struct town_type town_type;
9 struct town_type
10 {
12  u32b seed; /* Seed for RNG */
13  store_type *store; /* The stores [MAX_STORES] */
14  byte numstores;
15 };
16 
17 extern TOWN_IDX max_towns;
18 extern town_type *town_info;
GAME_TEXT name[32]
Definition: floor-town.h:11
store_type * store
Definition: floor-town.h:13
Definition: floor-town.h:9
town_type * town_info
Definition: floor-town.c:12
byte numstores
Definition: floor-town.h:14
Definition: store.h:26
char GAME_TEXT
ゲーム中のテキスト型定義
Definition: h-type.h:152
s16b TOWN_IDX
ゲーム中の町ID型を定義
Definition: h-type.h:114
unsigned long u32b
Definition: h-type.h:108
u32b seed
Definition: floor-town.h:12
TOWN_IDX max_towns
Definition: floor-town.c:7