X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Feffect%2Feffect-monster.h;h=28f8f6ffa8420072d5790e49c7d90f54453e5ed2;hb=d05be23e87882abc4faca27fa91dcf9ffaa031ab;hp=40c2eede5a86e3ac69fe5a97794f0651c92899e9;hpb=3b38c65c3dc777951fc036ecfb168e735fc680b8;p=hengbandforosx%2Fhengbandosx.git diff --git a/src/effect/effect-monster.h b/src/effect/effect-monster.h index 40c2eede5..28f8f6ffa 100644 --- a/src/effect/effect-monster.h +++ b/src/effect/effect-monster.h @@ -1,6 +1,9 @@ -#pragma once +#pragma once +#include "effect/attribute-types.h" #include "system/angband.h" +#include -struct player_type; -bool affect_monster(player_type *player_ptr, MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_POINT dam, EFFECT_ID typ, BIT_FLAGS flag, bool see_s_msg); +class CapturedMonsterType; +class PlayerType; +bool affect_monster(PlayerType *player_ptr, MONSTER_IDX src_idx, POSITION r, POSITION y, POSITION x, int dam, AttributeType typ, BIT_FLAGS flag, bool see_s_msg, std::optional cap_mon_ptr = std::nullopt);