-#include "angband.h"
-#include "cmd-spell.h"
-#include "spells-status.h"
-#include "spells-floor.h"
-#include "spells.h"
-#include "player-status.h"
-#include "player-effects.h"
-#include "floor.h"
-#include "targeting.h"
+#include "realm/realm-life.h"
+#include "cmd-action/cmd-spell.h"
+#include "floor/floor.h"
+#include "io/targeting.h"
+#include "player/digestion-processor.h"
+#include "spell-kind/spells-curse-removal.h"
+#include "spell-kind/spells-detection.h"
+#include "spell-kind/spells-floor.h"
+#include "spell-kind/spells-genocide.h"
+#include "spell-kind/spells-grid.h"
+#include "spell-kind/spells-launcher.h"
+#include "spell-kind/spells-lite.h"
+#include "spell-kind/spells-neighbor.h"
+#include "spell-kind/spells-perception.h"
+#include "spell-kind/spells-recall.h"
+#include "spell-kind/spells-sight.h"
+#include "spell/spell-types.h"
+#include "spell/spells-status.h"
+#include "spell/spells3.h"
+#include "status/bad-status-setter.h"
+#include "status/buff-setter.h"
+#include "status/element-resistance.h"
+#include "status/experience.h"
+#include "status/temporary-resistance.h"
/*!
* @brief 生命領域魔法の各処理を行う
* @param mode 処理内容 (SPELL_NAME / SPELL_DESC / SPELL_INFO / SPELL_CAST)
* @return SPELL_NAME / SPELL_DESC / SPELL_INFO 時には文字列ポインタを返す。SPELL_CAST時はNULL文字列を返す。
*/
-concptr do_life_spell(player_type *caster_ptr, SPELL_IDX spell, BIT_FLAGS mode)
+concptr do_life_spell(player_type *caster_ptr, SPELL_IDX spell, spell_type mode)
{
bool name = (mode == SPELL_NAME) ? TRUE : FALSE;
bool desc = (mode == SPELL_DESC) ? TRUE : FALSE;
{
if (cast)
{
- if (!ident_spell(caster_ptr, FALSE)) return NULL;
+ if (!ident_spell(caster_ptr, FALSE, 0)) return NULL;
}
}
break;
{
if (cast)
{
- if (!identify_fully(caster_ptr, FALSE)) return NULL;
+ if (!identify_fully(caster_ptr, FALSE, 0)) return NULL;
}
}
break;