OSDN Git Service

[Refactor] #39964 Moved autopick.c/h to autopick/autopick.c/h
[hengband/hengband.git] / src / cmd / cmd-smith.c
index 642709a..455cc1a 100644 (file)
@@ -1,6 +1,6 @@
 #include "angband.h"
 #include "util.h"
-#include "term.h"
+#include "gameterm.h"
 
 #include "object-flavor.h"
 #include "object-hook.h"
@@ -8,8 +8,8 @@
 #include "player-status.h"
 #include "cmd-basic.h"
 #include "cmd-smith.h"
-#include "objectkind.h"
-#include "autopick.h"
+#include "object/object-kind.h"
+#include "autopick/autopick.h"
 #include "view-mainwindow.h"
 #include "player-inventory.h"
 
@@ -517,7 +517,7 @@ static void display_essence(player_type *creature_ptr)
 static void drain_essence(player_type *creature_ptr)
 {
        int drain_value[sizeof(creature_ptr->magic_num1) / sizeof(s32b)];
-       int i;
+       size_t i;
        OBJECT_IDX item;
        int dec = 4;
        bool observe = FALSE;
@@ -527,7 +527,7 @@ static void drain_essence(player_type *creature_ptr)
        object_type *o_ptr;
        concptr q, s;
        POSITION iy, ix;
-       byte_hack marked;
+       byte marked;
        ITEM_NUMBER number;
        OBJECT_IDX next_o_idx;
        WEIGHT weight;