OSDN Git Service

Merge remote-tracking branch 'remotes/origin/For2.2.2-Fix-Hourier' into For2.2.2...
[hengband/hengband.git] / src / wizard2.c
index 85a814c..8e75c53 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "angband.h"
 #include "core.h"
-#include "term.h"
+#include "gameterm.h"
 
 #include "dungeon.h"
 #include "io/write-diary.h"
@@ -33,7 +33,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"
 
 #define NUM_O_SET 8
@@ -1765,7 +1765,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 +1790,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 +1850,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 +1921,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 */