#define DOOR_GLASS_DOOR 1
#define DOOR_CURTAIN 2
-#define MAX_DOOR_TYPES 3
-
extern bool new_player_spot(player_type *creature_ptr);
extern pos_list tmp_pos;
#include "info-reader/feature-reader.h"
#include "floor/wild.h"
#include "grid/feature.h"
+#include "grid/grid.h"
#include "grid/trap.h"
#include "info-reader/feature-info-tokens-table.h"
#include "info-reader/parse-error-types.h"
#include "game-option/option-flags.h"
#include "game-option/option-types-table.h"
#include "grid/feature.h"
+#include "grid/grid.h"
#include "grid/trap.h"
#include "info-reader/artifact-reader.h"
#include "info-reader/dungeon-reader.h"
#include "game-option/birth-options.h"
#include "game-option/cheat-types.h"
#include "grid/feature.h"
+#include "grid/grid.h"
#include "grid/trap.h"
#include "monster-floor/monster-generator.h"
#include "monster-floor/place-monster-types.h"
#pragma once
#include "system/angband.h"
-#include "grid/grid.h"
#define ALLOW_CAVERNS_AND_LAKES
/*
* Room type information
*/
-typedef struct room_info_type room_info_type;
-
-struct room_info_type
-{
+typedef struct room_info_type {
/* Allocation information. */
s16b prob[ROOM_T_MAX];
/* Minimum level on which room can appear. */
byte min_level;
-};
+} room_info_type;
extern void build_lake(player_type *player_ptr, int type);
extern void build_cavern(player_type *player_ptr);
/*
* A structure type for doors
*/
-typedef struct
-{
+typedef struct door_type {
FEAT_IDX open;
FEAT_IDX broken;
FEAT_IDX closed;
FEAT_IDX num_jammed;
} door_type;
+#define MAX_DOOR_TYPES 3
+
door_type feat_door[MAX_DOOR_TYPES];
extern bool generate_rooms(player_type *player_ptr);