OSDN Git Service

[Refactor] #37353 cmd4.c を cmd-dump.c に改名して関数整理.
[hengband/hengband.git] / src / cmd-spell.c
index 39c8b39..912cc9e 100644 (file)
@@ -7,7 +7,11 @@
  */
 
 #include "angband.h"
+#include "util.h"
+
+#include "cmd-dump.h"
 #include "selfinfo.h"
+#include "spells.h"
 #include "spells-summon.h"
 #include "realm-arcane.h"
 #include "realm-chaos.h"
 #include "realm-song.h"
 #include "realm-sorcery.h"
 #include "realm-trump.h"
-#include "angband.h"
+#include "mind.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-effects.h"
+#include "player-skill.h"
+#include "player-class.h"
 #include "object-hook.h"
+#include "cmd-basic.h"
+#include "view-mainwindow.h"
+#include "floor.h"
+#include "autopick.h"
 
 /*!
  * @brief
@@ -368,8 +379,6 @@ static int get_spell(SPELL_IDX *sn, concptr prompt, OBJECT_SUBTYPE_VALUE sval, b
                p, I2A(0), I2A(num - 1), prompt, p);
 #endif
 
-       /* Get a spell from the user */
-
        choice = (always_show_list || use_menu) ? ESCAPE : 1;
        while (!flag)
        {