11 #define TERRAIN_EDGE 0 12 #define TERRAIN_TOWN 1 13 #define TERRAIN_DEEP_WATER 2 14 #define TERRAIN_SHALLOW_WATER 3 15 #define TERRAIN_SWAMP 4 16 #define TERRAIN_DIRT 5 17 #define TERRAIN_GRASS 6 18 #define TERRAIN_TREES 7 19 #define TERRAIN_DESERT 8 20 #define TERRAIN_SHALLOW_LAVA 9 21 #define TERRAIN_DEEP_LAVA 10 22 #define TERRAIN_MOUNTAIN 11 24 #define MAX_WILDERNESS 12 char * buf
Definition: chuukei.c:98
u32b seed
Definition: wild.h:60
s16b north_east
Definition: wild.h:46
void set_floor_and_wall(DUNGEON_IDX type)
ダンジョンの地形を指定確率に応じて各マスへランダムに敷き詰める / Fill the arrays of floors and walls in the good proportions
Definition: wild.c:71
void wilderness_gen_small(player_type *creature_ptr, floor_type *floor_ptr)
広域マップの生成(簡易処理版) / Build the wilderness area.
Definition: wild.c:712
int road
Definition: wild.h:59
s16b south_east
Definition: wild.h:48
s16b south[MAX_WID]
Definition: wild.h:42
errr parse_line_wilderness(char *buf, int ymin, int xmin, int ymax, int xmax, int *y, int *x)
w_info.txtのデータ解析 / Parse a sub-file of the "extra info"
Definition: wild.c:788
s16b north_west
Definition: wild.h:45
TOWN_IDX town
Definition: wild.h:58
s32b DEPTH
ゲーム中の階層レベルの型定義
Definition: h-type.h:216
void init_wilderness_terrains(void)
荒野の地勢設定全体を初期化するメインルーチン / Initialize arrays for wilderness terrains
Definition: wild.c:1032
s16b north[MAX_WID]
Definition: wild.h:41
int errr
エラーコードの定義 / Error codes for function return values
Definition: h-type.h:57
#define MAX_WID
表示上のダンジョンの最大水平サイズ(SCREEN_WIDの3倍が望ましい) Maximum dungeon width in grids, must be a multiple of SCREEN_WI...
Definition: floor.h:52
void seed_wilderness(void)
ゲーム開始時に各荒野フロアの乱数シードを指定する / Generate the random seeds for the wilderness
Definition: wild.c:928
s16b TOWN_IDX
ゲーム中の町ID型を定義
Definition: h-type.h:114
#define MAX_HGT
表示上のダンジョンの最大垂直サイズ(SCREEN_HGTの3倍が望ましい) Maximum dungeon height in grids, must be a multiple of SCREEN_H...
Definition: floor.h:46
s16b east[MAX_HGT]
Definition: wild.h:43
s16b south_west
Definition: wild.h:47
s16b DUNGEON_IDX
ゲーム中のダンジョンID型を定義
Definition: h-type.h:130
DEPTH level
Definition: wild.h:61
s16b west[MAX_HGT]
Definition: wild.h:44
unsigned long u32b
Definition: h-type.h:108
wilderness_type ** wilderness
Definition: wild.c:39
byte entrance
Definition: wild.h:62
Definition: player-status.h:86
signed short s16b
Definition: h-type.h:98
bool change_wild_mode(player_type *creature_ptr, bool encount)
荒野から広域マップへの切り替え処理 / Initialize arrays for wilderness terrains
Definition: wild.c:1113
void wilderness_gen(floor_type *floor_ptr)
広域マップの生成 / Build the wilderness area outside of the town.
Definition: wild.c:472
errr init_wilderness(void)
ゲーム開始時の荒野初期化メインルーチン / Initialize wilderness array
Definition: wild.c:955
int terrain
Definition: wild.h:57