* (z-virt.h, z-util.h, z-form.h, term.h, random.h)
*/
#include "geometry.h"
+#include "floor-save.h"
/*
* Automatically generated "variable" declarations
#pragma once
+/*
+ * A structure type for the saved floor
+ */
+typedef struct
+{
+ FLOOR_IDX floor_id; /* No recycle until 65536 IDs are all used */
+ s16b savefile_id; /* ID for savefile (from 0 to MAX_SAVED_FLOOR) */
+ DEPTH dun_level;
+ s32b last_visit; /* Time count of last visit. 0 for new floor. */
+ u32b visit_mark; /* Older has always smaller mark. */
+ FLOOR_IDX upper_floor_id; /* a floor connected with level teleportation */
+ FLOOR_IDX lower_floor_id; /* a floor connected with level tel. and trap door */
+} saved_floor_type;
+
extern void init_saved_floors(bool force);
extern void change_floor(void);
extern void leave_floor(void);
#include "angband.h"
#include "floor.h"
+#include "floor-save.h"
/*
* The array of "current_floor_ptr->grid_array grids" [MAX_WID][MAX_HGT].
/*
- * A structure type for the saved floor
- */
-typedef struct
-{
- FLOOR_IDX floor_id; /* No recycle until 65536 IDs are all used */
- s16b savefile_id; /* ID for savefile (from 0 to MAX_SAVED_FLOOR) */
- DEPTH dun_level;
- s32b last_visit; /* Time count of last visit. 0 for new floor. */
- u32b visit_mark; /* Older has always smaller mark. */
- FLOOR_IDX upper_floor_id; /* a floor connected with level teleportation */
- FLOOR_IDX lower_floor_id; /* a floor connected with level tel. and trap door */
-} saved_floor_type;
-
-
-/*
* A structure type for terrain template of saving dungeon floor
*/
typedef struct