OSDN Git Service

[Refactor] #40399 Adjusted inclusion relationship for object1.h
[hengband/hengband.git] / src / knowledge / knowledge-inventory.c
index 12fc0b3..4700ad7 100644 (file)
@@ -4,16 +4,20 @@
  * @author Hourier
  */
 
-#include "system/angband.h"
 #include "knowledge/knowledge-inventory.h"
-#include "cmd/dump-util.h"
 #include "core/show-file.h"
-#include "object/object-flavor.h"
-#include "store/store-util.h"
 #include "floor/floor-town.h"
+#include "io-dump/dump-util.h"
+#include "object-enchant/special-object-flags.h"
+#include "object-enchant/tr-types.h"
+#include "object/object-flavor.h"
 #include "object/object-hook.h"
-#include "object/object-kind.h"
-#include "object/tr-types.h"
+#include "object/object1.h"
+#include "perception/object-perception.h"
+#include "store/store-util.h"
+#include "sv-definition/sv-amulet-types.h"
+#include "sv-definition/sv-protector-types.h"
+#include "sv-definition/sv-ring-types.h"
 
 static concptr inven_res_label = _(
        "                               酸電火冷毒光闇破轟獄因沌劣 盲怖乱痺透命感消復浮",
@@ -166,7 +170,7 @@ static void do_cmd_knowledge_inventory_aux(player_type *creature_ptr, FILE *fff,
 
        fprintf(fff, "%s %s", where, o_name);
 
-       if (!OBJECT_IS_FULL_KNOWN(o_ptr))
+       if (!object_is_fully_known(o_ptr))
        {
                fputs(_("-------不明--------------- -------不明---------\n",
                        "-------unknown------------ -------unknown------\n"), fff);