OSDN Git Service

[Refactor] #37353 arena_type を bldg.h へ移動。
authordeskull <deskull@users.sourceforge.jp>
Fri, 26 Apr 2019 13:34:36 +0000 (22:34 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Fri, 26 Apr 2019 13:34:36 +0000 (22:34 +0900)
src/bldg.h
src/types.h

index 9503c70..db912d9 100644 (file)
@@ -79,6 +79,17 @@ extern building_type building[MAX_BLDG];
 #define BACT_BROKEN_WEAPON          47
 #define MAX_BACT                    48
 
+ /*!
+  * @struct arena_type
+  * @brief 闘技場のモンスターエントリー構造体 / A structure type for arena entry
+  */
+typedef struct
+{
+       MONRACE_IDX r_idx; /*!< 闘技場のモンスター種族ID(0ならば表彰式) / Monster (0 means victory prizing) */
+       OBJECT_TYPE_VALUE tval;  /*!< モンスター打倒後に得られるアイテムの大カテゴリID / tval of prize (0 means no prize) */
+       OBJECT_SUBTYPE_VALUE sval;  /*!< モンスター打倒後に得られるアイテムの小カテゴリID / sval of prize */
+} arena_type;
+
 extern const arena_type arena_info[MAX_ARENA_MONS + 2];
 extern void update_gambling_monsters(void);
 extern void do_cmd_bldg(void);
index 2b41d33..213c583 100644 (file)
@@ -1892,20 +1892,6 @@ typedef struct
 } cave_template_type;
 
 
-/*!
- * @struct arena_type
- * @brief 闘技場のモンスターエントリー構造体 / A structure type for arena entry
- */
-typedef struct
-{
-       MONRACE_IDX r_idx; /*!< 闘技場のモンスター種族ID(0ならば表彰式) / Monster (0 means victory prizing) */
-       OBJECT_TYPE_VALUE tval;  /*!< モンスター打倒後に得られるアイテムの大カテゴリID / tval of prize (0 means no prize) */
-       OBJECT_SUBTYPE_VALUE sval;  /*!< モンスター打倒後に得られるアイテムの小カテゴリID / sval of prize */
-} arena_type;
-
-
-
-
 #ifdef TRAVEL
 /*
  *  A structure type for travel command