OSDN Git Service

[Refactor] #37353 effects.c を player-effects.c に改名しつつ、宣言を player-effects.h を分離。
authordeskull <deskull@users.sourceforge.jp>
Fri, 19 Apr 2019 11:17:58 +0000 (20:17 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Fri, 19 Apr 2019 11:17:58 +0000 (20:17 +0900)
60 files changed:
Hengband_vcs2017/Hengband/Hengband.vcxproj
Hengband_vcs2017/Hengband/Hengband.vcxproj.filters
src/Makefile.am
src/bldg.c
src/chest.c
src/cmd-activate.c
src/cmd-basic.c
src/cmd-eat.c
src/cmd-hissatsu.c
src/cmd-item.c
src/cmd-mane.c
src/cmd-pet.c
src/cmd-quaff.c
src/cmd-read.c
src/cmd-spell.c
src/cmd-usestaff.c
src/cmd-zaprod.c
src/cmd-zapwand.c
src/cmd4.c
src/dungeon.c
src/externs.h
src/floor-events.c
src/floor-save.c
src/grid.c
src/melee1.c
src/mind.c
src/monster-status.c
src/mspells3.c
src/mspells4.c
src/mutation.c
src/object2.c
src/patron.c
src/player-damage.c
src/player-effects.c [moved from src/effects.c with 99% similarity]
src/player-move.c
src/player-status.c
src/racial.c
src/realm-arcane.c
src/realm-chaos.c
src/realm-craft.c
src/realm-crusade.c
src/realm-daemon.c
src/realm-death.c
src/realm-hex.c
src/realm-hissatsu.c
src/realm-life.c
src/realm-nature.c
src/realm-song.c
src/realm-sorcery.c
src/realm-trump.c
src/spells-floor.c
src/spells-object.c
src/spells-status.c
src/spells1.c
src/spells2.c
src/spells3.c
src/store.c
src/trap.c
src/wild.c
src/wizard2.c

index 0642584..8fce149 100644 (file)
     <ClCompile Include="..\..\src\object-broken.c" />\r
     <ClCompile Include="..\..\src\patron.c" />\r
     <ClCompile Include="..\..\src\player-damage.c" />\r
+    <ClCompile Include="..\..\src\player-effects.c" />\r
     <ClCompile Include="..\..\src\player-status.c" />\r
     <ClCompile Include="..\..\src\quest.c" />\r
     <ClCompile Include="..\..\src\realm-craft.c" />\r
     <ClCompile Include="..\..\src\cmd-magiceat.c" />\r
     <ClCompile Include="..\..\src\cmd-spell.c" />\r
     <ClCompile Include="..\..\src\dungeon.c" />\r
-    <ClCompile Include="..\..\src\effects.c" />\r
     <ClCompile Include="..\..\src\files.c" />\r
     <ClCompile Include="..\..\src\gameoption.c" />\r
     <ClCompile Include="..\..\src\grid.c" />\r
     <ClInclude Include="..\..\src\objectkind-hook.h" />\r
     <ClInclude Include="..\..\src\patron.h" />\r
     <ClInclude Include="..\..\src\player-damage.h" />\r
+    <ClInclude Include="..\..\src\player-effects.h" />\r
     <ClInclude Include="..\..\src\player-move.h" />\r
     <ClInclude Include="..\..\src\player-status.h" />\r
     <ClInclude Include="..\..\src\quest.h" />\r
index bb37186..3bf6abf 100644 (file)
@@ -14,7 +14,6 @@
     <ClCompile Include="..\..\src\realm-song.c" />
     <ClCompile Include="..\..\src\realm-sorcery.c" />
     <ClCompile Include="..\..\src\dungeon.c" />
-    <ClCompile Include="..\..\src\effects.c" />
     <ClCompile Include="..\..\src\gameoption.c" />
     <ClCompile Include="..\..\src\grid.c" />
     <ClCompile Include="..\..\src\inet.c" />
     <ClCompile Include="..\..\src\chuukei.c">
       <Filter>io</Filter>
     </ClCompile>
+    <ClCompile Include="..\..\src\player-effects.c">
+      <Filter>player</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\..\src\angband.h" />
     <ClInclude Include="..\..\src\chuukei.h">
       <Filter>io</Filter>
     </ClInclude>
+    <ClInclude Include="..\..\src\player-effects.h">
+      <Filter>player</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <ResourceCompile Include="..\..\src\angband.rc" />
index 5cc11ac..1a46233 100644 (file)
@@ -19,7 +19,7 @@ hengband_SOURCES = \
        cmd-usestaff.c cmd-usestaff.h cmd-zaprod.c cmd-zaprod.h cmd-zapwand.c \
        cmd-zapwand.h cmd-smith.c cmd-smith.h cmd-hissatsu.c cmd-hissatsu.h\
        \
-       defines.h dungeon.c effects.c externs.h files.c files.h \
+       defines.h dungeon.c externs.h files.c files.h \
        \
        floor.h floor-events.c floor-events.h floor-generate.c floor-generate.h \
        floor-save.h floor-save.c \
@@ -54,6 +54,7 @@ hengband_SOURCES = \
        projection.h projection.c\
        \
        player-move.c player-move.h player-damage.c player-damage.h player-status.c player-status.h \
+       player-effects.c player-effects.h \
        \
        quest.h quest.c\
        \
index 8243e1e..91c6bff 100644 (file)
@@ -39,6 +39,7 @@
 #include "dungeon-file.h"
 
 #include "files.h"
+#include "player-effects.h"
 
 /*!
  * @brief 闘技場のモンスターID及び報酬アイテムテーブル
index c7728f7..be86cba 100644 (file)
@@ -5,6 +5,7 @@
 #include "floor.h"
 #include "trap.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 /*!
 * @brief 箱からアイテムを引き出す /
index 902048a..fb715b4 100644 (file)
@@ -21,6 +21,7 @@
 #include "spells-floor.h"
 #include "realm-hex.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "monster-status.h"
 #include "files.h"
 
index 4e13057..84a7e9b 100644 (file)
@@ -29,6 +29,7 @@
 #include "grid.h"
 #include "feature.h"
 #include "player-move.h"
+#include "player-effects.h"
 #include "object-broken.h"
 #include "object-flavor.h"
 #include "shoot.h"
index e4383fb..b24e3d6 100644 (file)
@@ -14,6 +14,7 @@
 #include "spells-status.h"
 #include "realm-hex.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 /*!
  * @brief 食料を食べるコマンドのサブルーチン
index ba2c853..79b2f95 100644 (file)
@@ -13,6 +13,7 @@
 #include "angband.h"
 #include "monsterrace-hook.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 #include "cmd-basic.h"
 #include "cmd-spell.h"
index 08ac32d..4bc0bc0 100644 (file)
@@ -30,6 +30,7 @@
 #include "artifact.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "monster.h"
 
 
index bcacf35..2befe2f 100644 (file)
@@ -21,6 +21,7 @@
 #include "monster-process.h"
 #include "cmd-spell.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "cmd-basic.h"
 
 static int damage;
index ccbe474..187d1fd 100644 (file)
@@ -5,6 +5,7 @@
 #include "sort.h"
 #include "player-move.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "object-hook.h"
 #include "monster.h"
 #include "monster-status.h"
index fa2fad9..705d168 100644 (file)
@@ -13,6 +13,7 @@
 #include "avatar.h"
 #include "spells-status.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "realm-hex.h"
 #include "spells-floor.h"
 #include "object-broken.h"
index 15e0e7a..70abc84 100644 (file)
@@ -12,6 +12,7 @@
 #include "artifact.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "rumor.h"
 #include "realm-hex.h"
 
index a20259e..fb7db61 100644 (file)
@@ -25,6 +25,7 @@
 #include "angband.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "object-hook.h"
 #include "cmd-basic.h"
 
index 716c7f0..1472daf 100644 (file)
@@ -2,6 +2,7 @@
 #include "spells-summon.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "spells-status.h"
 #include "spells-floor.h"
 #include "object-hook.h"
index 527a47a..de99f28 100644 (file)
@@ -1,6 +1,7 @@
 #include "angband.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "object-hook.h"
 #include "spells.h"
 #include "spells-status.h"
index 062051e..6de7b41 100644 (file)
@@ -3,6 +3,7 @@
 #include "spells.h"
 #include "spells-status.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "object-hook.h"
 #include "cmd-basic.h"
 
index a694d08..0e1c081 100644 (file)
@@ -43,6 +43,7 @@
 #include "cmd-pet.h"
 #include "cmd-spell.h"
 #include "world.h"
+#include "player-effects.h"
 #include "player-status.h"
 #include "sort.h"
 #include "mutation.h"
index 0e67003..84aa8c5 100644 (file)
@@ -56,6 +56,7 @@
 #include "view-mainwindow.h"
 #include "dungeon-file.h"
 #include "files.h"
+#include "player-effects.h"
 
 static bool load = TRUE; /*!<ロード処理中の分岐フラグ*/
 static int wild_regen = 20; /*!<広域マップ移動時の自然回復処理カウンタ(広域マップ1マス毎に20回処理を基本とする)*/
index a42dfb1..51d93b4 100644 (file)
@@ -884,78 +884,6 @@ extern void update_output(void);
 extern void print_monster_list(TERM_LEN x, TERM_LEN y, TERM_LEN max_lines);
 extern void update_playtime(void);
 
-
-/* effects.c */
-extern void set_action(ACTION_IDX typ);
-extern void reset_tim_flags(void);
-extern void dispel_player(void);
-extern bool set_mimic(TIME_EFFECT v, IDX p, bool do_dec);
-extern bool set_blind(TIME_EFFECT v);
-extern bool set_confused(TIME_EFFECT v);
-extern bool set_poisoned(TIME_EFFECT v);
-extern bool set_afraid(TIME_EFFECT v);
-extern bool set_paralyzed(TIME_EFFECT v);
-extern bool set_image(TIME_EFFECT v);
-extern bool set_fast(TIME_EFFECT v, bool do_dec);
-extern bool set_slow(TIME_EFFECT v, bool do_dec);
-extern bool set_shield(TIME_EFFECT v, bool do_dec);
-extern bool set_tsubureru(TIME_EFFECT v, bool do_dec);
-extern bool set_magicdef(TIME_EFFECT v, bool do_dec);
-extern bool set_blessed(TIME_EFFECT v, bool do_dec);
-extern bool set_hero(TIME_EFFECT v, bool do_dec);
-extern bool set_shero(TIME_EFFECT v, bool do_dec);
-extern bool set_protevil(TIME_EFFECT v, bool do_dec);
-extern bool set_invuln(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_invis(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_infra(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_regen(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_stealth(TIME_EFFECT v, bool do_dec);
-extern bool set_lightspeed(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_levitation(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_sh_touki(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_sh_fire(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_sh_holy(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_eyeeye(TIME_EFFECT v, bool do_dec);
-extern bool set_resist_magic(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_reflect(TIME_EFFECT v, bool do_dec);
-extern bool set_multishadow(TIME_EFFECT v, bool do_dec);
-extern bool set_dustrobe(TIME_EFFECT v, bool do_dec);
-extern bool set_kabenuke(TIME_EFFECT v, bool do_dec);
-extern bool set_tsuyoshi(TIME_EFFECT v, bool do_dec);
-extern bool set_ele_attack(u32b attack_type, TIME_EFFECT v);
-extern bool set_ele_immune(u32b immune_type, TIME_EFFECT v);
-extern bool set_oppose_acid(TIME_EFFECT v, bool do_dec);
-extern bool set_oppose_elec(TIME_EFFECT v, bool do_dec);
-extern bool set_oppose_fire(TIME_EFFECT v, bool do_dec);
-extern bool set_oppose_cold(TIME_EFFECT v, bool do_dec);
-extern bool set_oppose_pois(TIME_EFFECT v, bool do_dec);
-extern bool set_stun(TIME_EFFECT v);
-extern bool set_cut(TIME_EFFECT v);
-extern bool set_food(TIME_EFFECT v);
-extern bool inc_stat(int stat);
-extern bool dec_stat(int stat, int amount, int permanent);
-extern bool res_stat(int stat);
-extern bool hp_player(int num);
-extern bool do_dec_stat(int stat);
-extern bool do_res_stat(int stat);
-extern bool do_inc_stat(int stat);
-extern bool restore_level(void);
-extern bool lose_all_info(void);
-extern void gain_exp_64(s32b amount, u32b amount_frac);
-extern void gain_exp(s32b amount);
-extern void calc_android_exp(void);
-extern void lose_exp(s32b amount);
-extern bool drain_exp(s32b drain, s32b slip, int hold_exp_prob);
-extern void do_poly_self(void);
-extern bool set_ultimate_res(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_res_nether(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_res_time(TIME_EFFECT v, bool do_dec);
-extern bool choose_ele_attack(void);
-extern bool choose_ele_immune(TIME_EFFECT turn);
-extern bool set_wraith_form(TIME_EFFECT v, bool do_dec);
-extern bool set_tim_esp(TIME_EFFECT v, bool do_dec);
-extern bool set_superstealth(bool set);
-
 /* view-mainwindow.c */
 extern void resize_map(void);
 extern void redraw_window(void);
index 5163bc8..f030cbd 100644 (file)
@@ -8,6 +8,7 @@
 #include "object-hook.h"
 #include "player-move.h"
 #include "world.h"
+#include "player-effects.h"
 
 static bool mon_invis;
 static POSITION mon_fy, mon_fx;
index 5b0bef7..ba63dc2 100644 (file)
@@ -24,6 +24,7 @@
 #include "cmd-pet.h"
 #include "cmd-basic.h"
 #include "files.h"
+#include "player-effects.h"
 
 static FLOOR_IDX new_floor_id;  /*!<次のフロアのID / floor_id of the destination */
 static u32b change_floor_mode;  /*!<フロア移行処理に関するフラグ / Mode flags for changing floor */
index 7d855a3..8e5f3cf 100644 (file)
@@ -31,6 +31,7 @@
 #include "feature.h"
 #include "monster-status.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "spells.h"
 #include "view-mainwindow.h"
 
index 56d9258..e09de5c 100644 (file)
@@ -30,6 +30,7 @@
 #include "floor.h"
 #include "spells.h"
 #include "files.h"
+#include "player-effects.h"
 
 
 
index 43172ae..1c86941 100644 (file)
@@ -29,6 +29,7 @@
 #include "grid.h"
 #include "cmd-basic.h"
 #include "monster-status.h"
+#include "player-effects.h"
 
 /*! 特殊技能の一覧テーブル */
 mind_power const mind_powers[5] =
index ff3c24c..432d6b4 100644 (file)
@@ -11,6 +11,7 @@
 #include "artifact.h"
 #include "avatar.h"
 #include "files.h"
+#include "player-effects.h"
 
 
 /*!
index 8ae1bfe..6aa2c0a 100644 (file)
@@ -22,6 +22,7 @@
 #include "monster-status.h"
 #include "spells.h"
 #include "cmd-basic.h"
+#include "player-effects.h"
 
 #define pseudo_plev() (((p_ptr->lev + 40) * (p_ptr->lev + 40) - 1550) / 130) /*!< モンスター魔法をプレイヤーが使用する場合の換算レベル */
 
index 9fbcae0..5538b8e 100644 (file)
@@ -18,6 +18,7 @@
 #include "monster-status.h"
 #include "spells.h"
 #include "melee.h"
+#include "player-effects.h"
 
 
 /*!
index f1885ed..ed16364 100644 (file)
@@ -18,6 +18,7 @@
 #include "spells-summon.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "spells-status.h"
 #include "object-hook.h"
 #include "spells.h"
index 9ff742f..159cf61 100644 (file)
 #include "object-curse.h"
 #include "objectkind-hook.h"
 #include "artifact.h"
-#include "player-status.h"
 #include "feature.h"
+#include "player-status.h"
 #include "player-move.h"
+#include "player-effects.h"
 #include "monster.h"
 #include "monsterrace-hook.h"
 
index 4364995..96b9dbe 100644 (file)
@@ -10,6 +10,7 @@
 #include "mutation.h"
 #include "artifact.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 #include "spells.h"
 #include "spells-summon.h"
index 77b3353..623364b 100644 (file)
@@ -5,6 +5,7 @@
 #include "object-hook.h"
 #include "object-broken.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 
 /*!
similarity index 99%
rename from src/effects.c
rename to src/player-effects.c
index 1bc20fe..22ee1b4 100644 (file)
 #include "wild.h"
 #include "spells-floor.h"
 #include "player-move.h"
+#include "player-effects.h"
 #include "monster-status.h"
 #include "snipe.h"
 #include "files.h"
+#include "player-effects.h"
 
 /*!
  * @brief プレイヤーの継続行動を設定する。
index 45935dd..8d121c2 100644 (file)
 #include "artifact.h"
 #include "player-move.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "spells-floor.h"
 #include "feature.h"
 #include "warning.h"
index ee496ee..65893e5 100644 (file)
@@ -15,6 +15,7 @@
 #include "realm-hex.h"
 #include "cmd-pet.h"
 #include "cmd-spell.h"
+#include "player-effects.h"
 
 /* Hack, monk armour */
 static bool monk_armour_aux;
index f4fde65..1bf843b 100644 (file)
@@ -20,6 +20,7 @@
 #include "object-hook.h"
 
 #include "mutation.h"
+#include "player-effects.h"
 #include "player-status.h"
 #include "spells-status.h"
 #include "spells-object.h"
index 1a65f3a..aa9ef5d 100644 (file)
@@ -8,6 +8,7 @@
 #include "spells-summon.h"
 #include "spells-status.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 /*!
 * @brief 秘術領域魔法の各処理を行う
index 6f97a2d..0d60e6d 100644 (file)
@@ -1,5 +1,6 @@
 #include "angband.h"
 #include "cmd-spell.h"
+#include "player-effects.h"
 #include "spells-summon.h"
 #include "spells-status.h"
 #include "spells.h"
index d09e501..ada2e8a 100644 (file)
@@ -6,6 +6,7 @@
 #include "spells-status.h"
 #include "mutation.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 
 
index fb5a9a4..7359c14 100644 (file)
@@ -4,6 +4,7 @@
 #include "spells.h"
 #include "spells-summon.h"
 #include "spells-status.h"
+#include "player-effects.h"
 
 
 
index 4ab778c..7502bfa 100644 (file)
@@ -5,6 +5,7 @@
 #include "spells-summon.h"
 #include "spells-floor.h"
 #include "spells-status.h"
+#include "player-effects.h"
 
 /*!
 * @brief 悪魔領域魔法の各処理を行う
index 86faf7c..80053af 100644 (file)
@@ -5,6 +5,7 @@
 #include "spells-status.h"
 #include "avatar.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 
 
index f85ab5a..9491d1f 100644 (file)
@@ -25,6 +25,7 @@
 #include "spells-status.h"
 #include "spells.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "realm-hex.h"
 #include "grid.h"
 
index 0ef87c9..481f9ee 100644 (file)
@@ -8,6 +8,7 @@
 #include "monster.h"
 #include "player-move.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "feature.h"
 #include "spells.h"
 #include "grid.h"
index ca363a4..c574151 100644 (file)
@@ -4,6 +4,7 @@
 #include "spells-floor.h"
 #include "spells.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 /*!
 * @brief 生命領域魔法の各処理を行う
index 5ee79b6..6896249 100644 (file)
@@ -6,6 +6,7 @@
 #include "spells-object.h"
 #include "avatar.h"
 #include "spells-floor.h"
+#include "player-effects.h"
 
 
 /*!
index d35ede0..bf6233a 100644 (file)
@@ -3,6 +3,7 @@
 #include "spells.h"
 #include "spells-status.h"
 #include "spells-floor.h"
+#include "player-effects.h"
 
 /*!
 * @brief 歌の開始を処理する / Start singing if the player is a Bard
index f7c906f..c10c1d3 100644 (file)
@@ -6,6 +6,7 @@
 #include "spells.h"
 #include "spells-status.h"
 #include "spells-floor.h"
+#include "player-effects.h"
 
 /*!
 * @brief 仙術領域魔法の各処理を行う
index 6874dbe..e557433 100644 (file)
@@ -4,6 +4,7 @@
 #include "spells.h"
 #include "spells-summon.h"
 #include "spells-status.h"
+#include "player-effects.h"
 
 
 /*!
index 6b3b76e..7b5ddda 100644 (file)
@@ -5,6 +5,7 @@
 #include "quest.h"
 #include "cmd-basic.h"
 #include "floor-save.h"
+#include "player-effects.h"
 
 /*
  * Light up the dungeon using "clairvoyance"
index 3851db1..1f64ef0 100644 (file)
@@ -9,6 +9,7 @@
 #include "object-flavor.h"
 #include "player-status.h"
 #include "avatar.h"
+#include "player-effects.h"
 
 
 typedef struct
index 2ffea09..b8b8a42 100644 (file)
@@ -7,6 +7,7 @@
 #include "spells.h"
 #include "monster.h"
 #include "cmd-spell.h"
+#include "player-effects.h"
 
 /*!
  * @brief モンスター回復処理
index b0543b8..e62d0ba 100644 (file)
@@ -17,6 +17,7 @@
 #include "trap.h"
 #include "object-curse.h"
 #include "player-damage.h"
+#include "player-effects.h"
 
 #include "monster.h"
 #include "monster-status.h"
index 6d76175..8838c5a 100644 (file)
@@ -33,6 +33,7 @@
 #include "monster-status.h"
 #include "player-move.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 #include "floor-events.h"
 
index 4321320..30b1d59 100644 (file)
@@ -33,6 +33,7 @@
 #include "snipe.h"
 #include "floor-save.h"
 #include "files.h"
+#include "player-effects.h"
 
 
 /*! テレポート先探索の試行数 / Maximum number of tries for teleporting */
index 83a5fea..a3a03b3 100644 (file)
@@ -26,6 +26,7 @@
 #include "floor-events.h"
 #include "snipe.h"
 #include "files.h"
+#include "player-effects.h"
 
 #define MIN_STOCK 12
 
index 496d7f4..48885e9 100644 (file)
@@ -2,6 +2,7 @@
 #include "trap.h"
 #include "player-damage.h"
 #include "player-move.h"
+#include "player-effects.h"
 #include "spells-summon.h"
 #include "quest.h"
 #include "artifact.h"
index 0eb7a97..09a5ea3 100644 (file)
@@ -17,6 +17,7 @@
 #include "monster.h"
 #include "realm-hex.h"
 #include "player-status.h"
+#include "player-effects.h"
 #include "grid.h"
 #include "monster-status.h"
 #include "quest.h"
index 663c6c0..bf129e8 100644 (file)
@@ -17,6 +17,7 @@
 #include "quest.h"
 #include "artifact.h"
 #include "player-status.h"
+#include "player-effects.h"
 
 #include "spells.h"
 #include "spells-object.h"