OSDN Git Service

[Refactor] #38862 Moved spells-* to spell/
[hengband/hengband.git] / src / realm / realm-daemon.c
index fc5ffcc..2ec2dd1 100644 (file)
@@ -1,19 +1,20 @@
-
-#include "angband.h"
+#include "system/angband.h"
 #include "util.h"
 
-#include "player-class.h"
+#include "player/player-class.h"
 #include "cmd-spell.h"
-#include "spells.h"
-#include "spells-summon.h"
-#include "spells-floor.h"
-#include "spells-status.h"
-#include "spells-object.h"
-#include "spells-diceroll.h"
-#include "player-effects.h"
-#include "player-race.h"
-#include "player-damage.h"
+#include "spell/spells-type.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-floor.h"
+#include "spell/spells-status.h"
+#include "spell/spells-object.h"
+#include "spell/spells-diceroll.h"
+#include "player/player-effects.h"
+#include "player/player-race.h"
+#include "player/player-damage.h"
 #include "targeting.h"
+#include "realm/realm-daemon.h"
+#include "spell/spells2.h"
 
 /*!
 * @brief 悪魔領域魔法の各処理を行う
@@ -22,7 +23,7 @@
 * @param mode 処理内容 (SPELL_NAME / SPELL_DESC / SPELL_INFO / SPELL_CAST)
 * @return SPELL_NAME / SPELL_DESC / SPELL_INFO 時には文字列ポインタを返す。SPELL_CAST時はNULL文字列を返す。
 */
-concptr do_daemon_spell(player_type *caster_ptr, SPELL_IDX spell, BIT_FLAGS mode)
+concptr do_daemon_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;