OSDN Git Service

[Refactor] #37353 floor.c を作成して floor_type 型整理。
[hengband/hengband.git] / src / types.h
index fac24cf..ee8b516 100644 (file)
@@ -47,6 +47,7 @@
 
 #include "h-type.h"
 #include "defines.h"
+//#include "player-skill.h"
 
 /*!
  * @struct feature_state
@@ -999,71 +1000,6 @@ struct alloc_entry
 };
 
 
-
-/*
- * Available "options"
- *
- *     - Address of actual option variable (or NULL)
- *
- *     - Normal Value (TRUE or FALSE)
- *
- *     - Option Page Number (or zero)
- *
- *     - Savefile Set (or zero)
- *     - Savefile Bit in that set
- *
- *     - Textual name (or NULL)
- *     - Textual description
- */
-
-typedef struct option_type option_type;
-
-struct option_type
-{
-       bool    *o_var;
-
-       byte    o_norm;
-
-       byte    o_page;
-
-       byte    o_set;
-       byte    o_bit;
-
-       concptr o_text;
-       concptr o_desc;
-};
-
-
-typedef struct quest_type quest_type;
-
-/*!
- * @struct quest_type
- * @brief クエスト情報の構造体 / Structure for the "quests".
- */
-
-struct quest_type
-{
-       QUEST_STATUS status;          /*!< クエストの進行ステータス / Is the quest taken, completed, finished? */
-       QUEST_TYPE type;              /*!< クエストの種別 / The quest type */
-
-       GAME_TEXT name[60];          /*!< クエスト名 / Quest name */
-       DEPTH level;            /*!< 処理階層 / Dungeon level */
-       MONRACE_IDX r_idx;      /*!< クエスト対象のモンスターID / Monster race */
-
-       MONSTER_NUMBER cur_num; /*!< 撃破したモンスターの数 / Number killed */
-       MONSTER_NUMBER max_num; /*!< 求められるモンスターの撃破数 / Number required */
-
-       KIND_OBJECT_IDX k_idx;              /*!< クエスト対象のアイテムID / object index */
-       MONSTER_NUMBER num_mon; /*!< QUEST_TYPE_KILL_NUMBER時の目標撃破数 number of monsters on level */
-
-       BIT_FLAGS flags;             /*!< クエストに関するフラグビット / quest flags */
-       DUNGEON_IDX dungeon;           /*!< クエスト対象のダンジョンID / quest dungeon */
-
-       PLAYER_LEVEL complev;           /*!< クリア時プレイヤーレベル / player level (complete) */
-       REAL_TIME comptime;          /*!< クリア時ゲーム時間 /  quest clear time*/
-};
-
-
 /*
  * A store owner
  */
@@ -1942,21 +1878,6 @@ struct kamae
        concptr info;
 };
 
-/* Mindcrafters */
-typedef struct mind_type mind_type;
-struct mind_type
-{
-       PLAYER_LEVEL min_lev;
-       MANA_POINT mana_cost;
-       PERCENTAGE fail;
-       concptr name;
-};
-
-typedef struct mind_power mind_power;
-struct mind_power
-{
-       mind_type info[MAX_MIND_POWERS];
-};
 
 /* Imitator */
 
@@ -2196,45 +2117,6 @@ typedef struct {
 } dragonbreath_type;
 
 typedef struct {
-       grid_type *grid_array[MAX_HGT];
-       DEPTH dun_level;                /*!< 現在の実ダンジョン階層base_levelの参照元となる / Current dungeon level */
-       DEPTH base_level;               /*!< 基本生成レベル、後述のobject_level, monster_levelの参照元となる / Base dungeon level */
-       DEPTH object_level;             /*!< アイテムの生成レベル、current_floor_ptr->base_levelを起点に一時変更する時に参照 / Current object creation level */
-       DEPTH monster_level;    /*!< モンスターの生成レベル、current_floor_ptr->base_levelを起点に一時変更する時に参照 / Current monster creation level */
-       POSITION width;                 /* Current dungeon width */
-       POSITION height;                /* Current dungeon height */
-       MONSTER_NUMBER num_repro; /*!< Current reproducer count */
-
-       GAME_TURN generated_turn; /* Turn when level began */
-
-       object_type *o_list; /*!< The array of dungeon items [current_floor_ptr->max_o_idx] */
-       OBJECT_IDX max_o_idx; /*!< Maximum number of objects in the level */
-
-       monster_type *m_list; /*!< The array of dungeon monsters [current_floor_ptr->max_m_idx] */
-       MONSTER_IDX max_m_idx; /*!< Maximum number of monsters in the level */
-
-       s16b *mproc_list[MAX_MTIMED]; /*!< The array to process dungeon monsters[max_m_idx] */
-       s16b mproc_max[MAX_MTIMED]; /*!< Number of monsters to be processed */
-
-       POSITION_IDX lite_n; //!< Array of grids lit by player lite (see "current_floor_ptr->grid_array.c")
-       POSITION lite_y[LITE_MAX];
-       POSITION lite_x[LITE_MAX];
-
-       POSITION_IDX mon_lite_n; //!< Array of grids lit by player lite (see "current_floor_ptr->grid_array.c")
-       POSITION mon_lite_y[MON_LITE_MAX];
-       POSITION mon_lite_x[MON_LITE_MAX];
-
-       POSITION_IDX view_n; //!< Array of grids viewable to the player (see "grid_array")
-       POSITION view_y[VIEW_MAX];
-       POSITION view_x[VIEW_MAX];
-
-       POSITION_IDX redraw_n; //!< Array of grids for delayed visual updating (see "current_floor_ptr->grid_array.c")
-       POSITION redraw_y[REDRAW_MAX];
-       POSITION redraw_x[REDRAW_MAX];
-
-} floor_type;
-
-typedef struct {
        POSITION max_wild_x; /*!< Maximum size of the wilderness */
        POSITION max_wild_y; /*!< Maximum size of the wilderness */
        GAME_TURN game_turn;                    /*!< 画面表示上のゲーム時間基準となるターン / Current game turn */