OSDN Git Service

[WIP] [Refactor] #39963 Separated spells2.h from spells1.h
[hengband/hengband.git] / src / wizard2.c
index 938844e..b7fa5d6 100644 (file)
@@ -11,7 +11,8 @@
  */
 
 #include "angband.h"
-#include "core.h"
+#include "core/angband-version.h"
+#include "core/stuff-handler.h"
 #include "gameterm.h"
 
 #include "dungeon.h"
@@ -33,7 +34,7 @@
 #include "player-class.h"
 #include "player-inventory.h"
 
-#include "spells.h"
+#include "spell/spells-util.h"
 #include "spells-object.h"
 #include "spells-summon.h"
 #include "spells-status.h"
 #include "dungeon-file.h"
 #include "files.h"
 #include "monster-spell.h"
-#include "bldg.h"
-#include "objectkind.h"
+#include "market/building.h"
+#include "object/object-kind.h"
 #include "targeting.h"
-#include "view-mainwindow.h"
+#include "view/display-main-window.h"
 #include "world.h"
+#include "spell/spells2.h"
 
 #define NUM_O_SET 8
 #define NUM_O_BIT 32
@@ -1765,7 +1767,7 @@ void do_cmd_debug(player_type *creature_ptr)
 
                /* View item info */
        case 'f':
-               identify_fully(creature_ptr, FALSE);
+               identify_fully(creature_ptr, FALSE, 0);
                break;
 
                /* Create desired feature */
@@ -1790,7 +1792,7 @@ void do_cmd_debug(player_type *creature_ptr)
 
                /* Identify */
        case 'i':
-               (void)ident_spell(creature_ptr, FALSE);
+               (void)ident_spell(creature_ptr, FALSE, 0);
                break;
 
                /* Go up or down in the dungeon */
@@ -1850,7 +1852,7 @@ void do_cmd_debug(player_type *creature_ptr)
 
                /* Phase Door */
        case 'p':
-               teleport_player(creature_ptr, 10, 0L);
+               teleport_player(creature_ptr, 10, TELEPORT_SPONTANEOUS);
                break;
 
                /* Take a Quests */
@@ -1921,7 +1923,7 @@ void do_cmd_debug(player_type *creature_ptr)
 
                /* Teleport */
        case 't':
-               teleport_player(creature_ptr, 100, 0L);
+               teleport_player(creature_ptr, 100, TELEPORT_SPONTANEOUS);
                break;
 
                /* Game Time Setting */