OSDN Git Service

[Refactor] #40014 Separated monster-summonc./h from monster-generator.c/h
[hengband/hengband.git] / src / wizard / wizard-special-process.c
index aec930a..e2f8815 100644 (file)
  * 2014 Deskull rearranged comment for Doxygen.<br>
  */
 
-#include "system/angband.h"
 #include "wizard/wizard-special-process.h"
-#include "wizard/wizard-spoiler.h"
-#include "core/angband-version.h"
+#include "birth/inventory-initializer.h"
+#include "cmd-io/cmd-dump.h"
+#include "cmd-io/cmd-help.h"
+#include "cmd-io/cmd-save.h"
+#include "cmd/cmd-draw.h"
 #include "core/stuff-handler.h"
-#include "gameterm.h"
-
 #include "dungeon/dungeon.h"
+#include "dungeon/quest.h"
+#include "floor/floor-object.h"
+#include "floor/floor-save.h"
+#include "floor/floor.h"
+#include "grid/grid.h"
+#include "info-reader/fixed-map-parser.h"
+#include "inventory/inventory-object.h"
+#include "inventory/player-inventory.h"
+#include "io/files-util.h"
+#include "io/targeting.h"
 #include "io/write-diary.h"
-#include "cmd/cmd-draw.h"
-#include "cmd/cmd-dump.h"
-#include "cmd/cmd-help.h"
-#include "cmd/cmd-save.h"
-#include "util.h"
-#include "birth/birth.h"
-#include "selfinfo.h"
-#include "patron.h"
+#include "market/arena.h"
+#include "monster-floor/monster-generator.h"
+#include "monster-floor/monster-remover.h"
+#include "monster-floor/monster-summon.h"
+#include "monster-floor/place-monster-types.h"
+#include "monster/monster-describer.h"
+#include "monster/monster-description-types.h"
+#include "monster/monster-info.h"
+#include "monster/monster-status.h"
+#include "monster/smart-learn-types.h"
+#include "mspell/monster-spell.h"
 #include "mutation/mutation.h"
-#include "quest.h"
-#include "object/artifact.h"
-#include "player/player-status.h"
+#include "object-enchant/apply-magic.h"
+#include "object-enchant/artifact.h"
+#include "object-enchant/item-apply-magic.h"
+#include "object-enchant/trc-types.h"
+#include "object-enchant/trg-types.h"
+#include "object/item-use-flags.h"
+#include "object/object-flags.h"
+#include "object/object-flavor.h"
+#include "object/object-generator.h"
+#include "object/object-hook.h"
+#include "object/object-kind.h"
+#include "object/object-value.h"
+#include "perception/object-perception.h"
+#include "player/patron.h"
+#include "player/player-class.h"
 #include "player/player-effects.h"
+#include "player/player-races-table.h"
 #include "player/player-skill.h"
-#include "player/player-class.h"
-#include "player-inventory.h"
-
-#include "spell/spells-util.h"
+#include "player/player-status.h"
+#include "player/selfinfo.h"
+#include "spell-kind/spells-detection.h"
+#include "spell-kind/spells-floor.h"
+#include "spell-kind/spells-sight.h"
+#include "spell-kind/spells-teleport.h"
+#include "spell-kind/spells-world.h"
 #include "spell/spells-object.h"
-#include "spell/spells-summon.h"
 #include "spell/spells-status.h"
-#include "spell/spells-world.h"
-#include "spell/spells-floor.h"
-
-#include "object/object-flavor.h"
-#include "object/object-hook.h"
-#include "monster/monster-status.h"
-
-#include "floor/floor.h"
-#include "floor/floor-save.h"
-#include "grid/grid.h"
-#include "dungeon/dungeon-file.h"
-#include "files.h"
-#include "spell/monster-spell.h"
-#include "market/building.h"
-#include "object/object-kind.h"
-#include "targeting.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-util.h"
+#include "spell/spells3.h"
+#include "system/angband-version.h"
+#include "term/term-color-types.h"
+#include "util/util.h"
 #include "view/display-main-window.h"
+#include "wizard/wizard-spoiler.h"
 #include "world/world.h"
-#include "spell/spells2.h"
-#include "spell/spells3.h"
 
 #define NUM_O_SET 8
 #define NUM_O_BIT 32
@@ -217,7 +234,7 @@ static void prt_binary(BIT_FLAGS flags, int row, int col)
  * @param col 表示行
  * @return なし
  */
-static void prt_alloc(OBJECT_TYPE_VALUE tval, OBJECT_SUBTYPE_VALUE sval, TERM_LEN row, TERM_LEN col)
+static void prt_alloc(tval_type tval, OBJECT_SUBTYPE_VALUE sval, TERM_LEN row, TERM_LEN col)
 {
        u32b rarity[K_MAX_DEPTH];
        (void)C_WIPE(rarity, K_MAX_DEPTH, u32b);
@@ -702,7 +719,7 @@ static KIND_OBJECT_IDX wiz_create_itemtype(void)
        KIND_OBJECT_IDX i;
        int num, max_num;
        TERM_LEN col, row;
-       OBJECT_TYPE_VALUE tval;
+       tval_type tval;
 
        concptr tval_desc;
        char ch;
@@ -1624,9 +1641,7 @@ static void do_cmd_dump_options()
        char buf[1024];
        path_build(buf, sizeof buf, ANGBAND_DIR_USER, "opt_info.txt");
 
-       /* File type is "TEXT" */
        FILE *fff;
-       FILE_TYPE(FILE_TYPE_TEXT);
        fff = my_fopen(buf, "a");
 
        if (!fff)
@@ -1872,7 +1887,7 @@ void do_cmd_debug(player_type *creature_ptr)
                if (tmp_int >= max_q_idx) break;
 
                creature_ptr->current_floor_ptr->inside_quest = (QUEST_IDX)tmp_int;
-               process_dungeon_file(creature_ptr, "q_info.txt", 0, 0, 0, 0);
+               parse_fixed_map(creature_ptr, "q_info.txt", 0, 0, 0, 0);
                quest[tmp_int].status = QUEST_STATUS_TAKEN;
                creature_ptr->current_floor_ptr->inside_quest = 0;
        }