OSDN Git Service

[Refactor] item_tester_tval をグローバル変数から排除. fix_inventory(),fix_equip() のみ未サポート化. /
[hengband/hengband.git] / src / dungeon.h
index 90a9d84..dfd4466 100644 (file)
@@ -1,5 +1,27 @@
 #pragma once
 
+#define DUNGEON_FEAT_PROB_NUM 3
+
+#define DUNGEON_ANGBAND  1
+#define DUNGEON_GALGALS  2
+#define DUNGEON_ORC      3
+#define DUNGEON_MAZE     4
+#define DUNGEON_DRAGON   5
+#define DUNGEON_GRAVE    6
+#define DUNGEON_WOOD     7
+#define DUNGEON_VOLCANO  8
+#define DUNGEON_HELL     9
+#define DUNGEON_HEAVEN   10
+#define DUNGEON_OCEAN    11
+#define DUNGEON_CASTLE   12
+#define DUNGEON_CTH      13
+#define DUNGEON_MOUNTAIN 14
+#define DUNGEON_GOLD     15
+#define DUNGEON_NO_MAGIC 16
+#define DUNGEON_NO_MELEE 17
+#define DUNGEON_CHAMELEON 18
+#define DUNGEON_DARKNESS 19
+
 /* A structure for the != dungeon types */
 typedef struct dungeon_type dungeon_type;
 struct dungeon_type {
@@ -54,6 +76,9 @@ struct dungeon_type {
        int obj_good;
 };
 
+extern DEPTH *max_dlv;
 extern dungeon_type *d_info;
 extern char *d_name;
-extern char *d_text;
\ No newline at end of file
+extern char *d_text;
+
+extern DUNGEON_IDX choose_dungeon(concptr note, POSITION y, POSITION x);