OSDN Git Service

[Refactor] #39963 Changed inclusion for spells.h to process-effect.c
authorHourier <hourier@users.sourceforge.jp>
Mon, 4 May 2020 13:52:27 +0000 (22:52 +0900)
committerHourier <hourier@users.sourceforge.jp>
Mon, 4 May 2020 13:52:27 +0000 (22:52 +0900)
24 files changed:
src/cmd/cmd-activate.c
src/combat/melee.c
src/combat/shoot.c
src/effect/effect-feature.c
src/grid.c
src/mind.c
src/monster/monster-move.c
src/monster1.c
src/monster2.c
src/mspells1.c
src/mspells4.c
src/object-broken.c
src/player-move.c
src/realm/realm-chaos.c
src/realm/realm-crusade.c
src/realm/realm-death.c
src/realm/realm-hex.c
src/realm/realm-hissatsu.c
src/realm/realm-nature.c
src/realm/realm-song.c
src/spell/process-effect.c
src/spells2.c
src/spells3.c
src/trap.c

index 4aba400..b2586c3 100644 (file)
@@ -32,6 +32,7 @@
 #include "world.h"
 #include "effect/spells-effect-util.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h"
 
 /*!
  * @brief 装備耐性に準じたブレス効果の選択テーブル /
index f2649e3..a72d5b0 100644 (file)
@@ -32,7 +32,7 @@
 #include "dungeon.h"
 #include "floor.h"
 #include "dungeon.h"
-#include "spells.h"
+#include "spell/process-effect.h"
 #include "spell/spells-type.h"
 #include "files.h"
 #include "player-move.h"
index e9a30f2..5d17df2 100644 (file)
@@ -25,6 +25,7 @@
 #include "object/object-kind.h"
 #include "targeting.h"
 #include "effect/spells-effect-util.h"
+#include "spell/process-effect.h"
 
 /*!
  * @brief 矢弾を射撃した際のスレイ倍率をかけた結果を返す /
index 77a1eb6..4f65271 100644 (file)
@@ -7,6 +7,7 @@
 #include "player-effects.h"
 #include "world.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h" // 暫定、後で消す.
 
 /*!
  * @brief 汎用的なビーム/ボルト/ボール系による地形効果処理 / We are called from "project()" to "damage" terrain features
index 256d4b2..f5440e9 100644 (file)
@@ -36,6 +36,7 @@
 #include "player-class.h"
 #include "view/display-main-window.h"
 #include "realm/realm-song.h"
+#include "spell/process-effect.h"
 
 #define MONSTER_FLOW_DEPTH 32 /*!< 敵のプレイヤーに対する移動道のりの最大値(この値以上は処理を打ち切る) / OPTION: Maximum flow depth when using "MONSTER_FLOW" */
 
index 6965e86..cf0e96e 100644 (file)
@@ -42,6 +42,7 @@
 #include "realm/realm-song.h"
 #include "effect/spells-effect-util.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h"
 
 /*! 特殊技能の一覧テーブル */
 mind_power const mind_powers[5] =
index 0e5ea0e..8729f3b 100644 (file)
@@ -14,6 +14,7 @@
 #include "monster-status.h"
 #include "player-move.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h"
 
 static bool check_hp_for_feat_destruction(feature_type *f_ptr, monster_type *m_ptr)
 {
index 7229259..847d9ed 100644 (file)
@@ -31,7 +31,6 @@
 #include "artifact.h"
 #include "avatar.h"
 #include "wild.h"
-#include "spells.h"
 #include "dungeon.h"
 #include "world.h"
 #include "melee.h"
@@ -40,6 +39,7 @@
 #include "player-class.h"
 #include "english.h"
 #include "market/arena-info-table.h"
+#include "spell/process-effect.h"
 
  /*
   * Pronoun arrays, by gender.
index 4b3bd07..d3697e8 100644 (file)
@@ -43,6 +43,7 @@
 #include "creature.h"
 #include "targeting.h"
 #include "melee.h"
+#include "spell/process-effect.h"
 
 #define HORDE_NOGOOD 0x01 /*!< (未実装フラグ)HORDE生成でGOODなモンスターの生成を禁止する? */
 #define HORDE_NOEVIL 0x02 /*!< (未実装フラグ)HORDE生成でEVILなモンスターの生成を禁止する? */
index ec0f03b..0645a65 100644 (file)
@@ -57,6 +57,7 @@
 #include "view/display-main-window.h"
 #include "player-race.h"
 #include "player-class.h"
+#include "spell/process-effect.h"
 
 #define DO_SPELL_NONE    0
 #define DO_SPELL_BR_LITE 1
index a9923cc..e01f965 100644 (file)
@@ -25,7 +25,8 @@
 #include "melee.h"
 #include "player-effects.h"
 #include "world.h"
-#include "view/display-main-window.h"
+#include "view/display-main-window.h" // 暫定、後で消したい.
+#include "spell/process-effect.h"
 
  /*!
  * @brief モンスター2体がプレイヤーの近くに居るかの判定 /
index d1e838f..f34e095 100644 (file)
@@ -2,6 +2,7 @@
 #include "object/object-kind.h"
 #include "snipe.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h"
 
 /*!
 * @brief アイテムが酸で破損するかどうかを判定する
index b71ced4..4daf536 100644 (file)
 #include "object/object-kind.h"
 #include "autopick/autopick.h"
 #include "targeting.h"
+#include "spell/process-effect.h"
 
 travel_type travel;
 
index 5af2484..fed2ce7 100644 (file)
@@ -9,11 +9,11 @@
 #include "spells-floor.h"
 #include "spells-object.h"
 #include "spells-diceroll.h"
-#include "spells.h"
 #include "targeting.h"
 #include "view/display-main-window.h"
 #include "realm/realm-chaos.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h"
 
 /*!
 * @brief カオス領域魔法の各処理を行う
index 451a8f1..900291c 100644 (file)
@@ -14,6 +14,7 @@
 #include "player-effects.h"
 #include "targeting.h"
 #include "realm/realm-crusade.h"
+#include "spell/process-effect.h"
 
 /*!
 * @brief 破邪領域魔法の各処理を行う
index b3d31ef..c7dcc9e 100644 (file)
@@ -13,6 +13,7 @@
 #include "player-damage.h"
 #include "player-race.h"
 #include "realm/realm-death.h"
+#include "spell/process-effect.h"
 
 /*!
 * @brief 暗黒領域魔法の各処理を行う
index 0b66146..4ad38b6 100644 (file)
@@ -40,6 +40,7 @@
 #include "realm/realm-hex.h"
 #include "spell/spells-execution.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h"
 
 #define MAX_KEEP 4 /*!<呪術の最大詠唱数 */
 
index a647fda..92a7b2e 100644 (file)
@@ -24,6 +24,7 @@
 #include "effect/spells-effect-util.h"
 #include "spell/spells-util.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h"
 
 /*!
 * @brief 剣術の各処理を行う
index d2502aa..63c5753 100644 (file)
@@ -15,6 +15,7 @@
 #include "effect/spells-effect-util.h"
 #include "realm/realm-nature.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h"
 
 /*!
 * @brief 自然領域魔法の各処理を行う
index 98556f7..a283393 100644 (file)
@@ -10,6 +10,7 @@
 #include "targeting.h"
 #include "view/display-main-window.h"
 #include "realm/realm-song.h"
+#include "spell/process-effect.h"
 
 /*!
 * @brief 歌の開始を処理する / Start singing if the player is a Bard
index c4c2a66..151e396 100644 (file)
@@ -10,7 +10,6 @@
 #include "main/sound-definitions-table.h"
 #include "spell/process-effect.h"
 #include "spell/spells-type.h"
-#include "spells.h"
 #include "view/display-main-window.h" // 暫定、後で消すかも.
 
 /*!
index 038a135..5c9cf94 100644 (file)
@@ -61,6 +61,7 @@
 #include "english.h"
 #include "effect/spells-effect-util.h"
 #include "spell/spells-type.h"
+#include "spell/process-effect.h"
 
  /*!
   * @brief プレイヤー周辺の地形を感知する
index 71e84cf..ad04abe 100644 (file)
@@ -65,6 +65,7 @@
 #include "effect/spells-effect-util.h"
 #include "spell/spells-util.h"
 #include "spell/spells-execution.h"
+#include "spell/process-effect.h"
 
 /*! テレポート先探索の試行数 / Maximum number of tries for teleporting */
 #define MAX_TRIES 100
index 19ed4bd..f87eaae 100644 (file)
@@ -24,6 +24,7 @@
 #include "files.h"
 #include "dungeon.h"
 #include "world.h"
+#include "spell/process-effect.h"
 
 static s16b normal_traps[MAX_NORMAL_TRAPS];