OSDN Git Service

[Refactor] #2797 object-kind-hook.h からtval-types.h への参照を外した
authorHourier <66951241+Hourier@users.noreply.github.com>
Tue, 15 Nov 2022 10:59:29 +0000 (19:59 +0900)
committerHourier <66951241+Hourier@users.noreply.github.com>
Tue, 15 Nov 2022 11:30:48 +0000 (20:30 +0900)
src/artifact/random-art-generator.cpp
src/knowledge/knowledge-items.cpp
src/object-enchant/protector/apply-magic-armor.cpp
src/object-enchant/protector/apply-magic-soft-armor.cpp
src/object/object-kind-hook.cpp
src/object/object-kind-hook.h

index c3b08cb..0525c2f 100644 (file)
@@ -27,6 +27,7 @@
 #include "object/object-flags.h"
 #include "object/object-kind-hook.h"
 #include "object/object-value-calc.h"
+#include "object/tval-types.h"
 #include "perception/identification.h"
 #include "perception/object-perception.h"
 #include "sv-definition/sv-weapon-types.h"
index 8bc9653..e289875 100644 (file)
@@ -17,6 +17,7 @@
 #include "knowledge/object-group-table.h"
 #include "object-enchant/special-object-flags.h"
 #include "object/object-kind-hook.h"
+#include "object/tval-types.h"
 #include "perception/identification.h"
 #include "perception/object-perception.h"
 #include "system/artifact-type-definition.h"
index 91bcbf8..17a5d49 100644 (file)
@@ -9,6 +9,7 @@
 #include "artifact/random-art-generator.h"
 #include "inventory/inventory-slot-types.h"
 #include "object/object-kind-hook.h"
+#include "object/tval-types.h"
 #include "system/object-type-definition.h"
 #include "view/display-messages.h"
 
index 2484693..3152eb1 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "object-enchant/protector/apply-magic-soft-armor.h"
 #include "object/object-kind-hook.h"
+#include "object/tval-types.h"
 #include "sv-definition/sv-armor-types.h"
 #include "system/baseitem-info-definition.h"
 #include "system/object-type-definition.h"
index 38a0d45..af0f9a1 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include "object/object-kind-hook.h"
+#include "object/tval-types.h"
 #include "sv-definition/sv-amulet-types.h"
 #include "sv-definition/sv-other-types.h"
 #include "sv-definition/sv-ring-types.h"
index b01d22e..0c15a99 100644 (file)
@@ -1,7 +1,5 @@
 #pragma once
 
-#include "object/tval-types.h"
-
 bool kind_is_cloak(short bi_id);
 bool kind_is_polearm(short bi_id);
 bool kind_is_sword(short bi_id);