OSDN Git Service

[Refactor] enum spells-typeをenum class AttributeTypeに置換
[hengbandforosx/hengbandosx.git] / src / effect / effect-processor.h
index 680ff43..8418d3a 100644 (file)
@@ -1,6 +1,7 @@
 #pragma once
 
 #include "system/angband.h"
+#include "effect/attribute-types.h"
 
 //! project() の結果。
 struct ProjectResult {
@@ -10,5 +11,8 @@ struct ProjectResult {
     ProjectResult() = default;
 };
 
-ProjectResult project(player_type *caster_ptr, const MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, const HIT_POINT dam, const EFFECT_ID typ,
-    BIT_FLAGS flag, const int monspell);
+struct effect_player_type;
+struct player_type;
+ProjectResult project(
+    player_type *player_ptr, const MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, const HIT_POINT dam, const AttributeType typ,
+    BIT_FLAGS flag);