OSDN Git Service

[Refactor] #2204 HIT_POINTエイリアスをintに揃えた
[hengbandforosx/hengbandosx.git] / src / effect / effect-processor.h
index 680ddb6..787872a 100644 (file)
@@ -1,6 +1,7 @@
 #pragma once
 
 #include "system/angband.h"
+#include "effect/attribute-types.h"
 
 //! project() の結果。
 struct ProjectResult {
@@ -10,8 +11,8 @@ struct ProjectResult {
     ProjectResult() = default;
 };
 
-typedef struct effect_player_type effect_player_type;
-struct player_type;
+class EffectPlayerType;
+class PlayerType;
 ProjectResult project(
-    player_type *caster_ptr, const MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, const HIT_POINT dam, const EFFECT_ID typ,
+    PlayerType *player_ptr, const MONSTER_IDX who, POSITION rad, POSITION y, POSITION x, const int dam, const AttributeType typ,
     BIT_FLAGS flag);