<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
<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" />
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 \
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\
\
#include "dungeon-file.h"
#include "files.h"
+#include "player-effects.h"
/*!
* @brief 闘技場のモンスターID及び報酬アイテムテーブル
#include "floor.h"
#include "trap.h"
#include "player-status.h"
+#include "player-effects.h"
/*!
* @brief 箱からアイテムを引き出す /
#include "spells-floor.h"
#include "realm-hex.h"
#include "player-status.h"
+#include "player-effects.h"
#include "monster-status.h"
#include "files.h"
#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"
#include "spells-status.h"
#include "realm-hex.h"
#include "player-status.h"
+#include "player-effects.h"
/*!
* @brief 食料を食べるコマンドのサブルーチン
#include "angband.h"
#include "monsterrace-hook.h"
#include "player-status.h"
+#include "player-effects.h"
#include "cmd-basic.h"
#include "cmd-spell.h"
#include "artifact.h"
#include "avatar.h"
#include "player-status.h"
+#include "player-effects.h"
#include "monster.h"
#include "monster-process.h"
#include "cmd-spell.h"
#include "player-status.h"
+#include "player-effects.h"
#include "cmd-basic.h"
static int damage;
#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"
#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"
#include "artifact.h"
#include "avatar.h"
#include "player-status.h"
+#include "player-effects.h"
#include "rumor.h"
#include "realm-hex.h"
#include "angband.h"
#include "avatar.h"
#include "player-status.h"
+#include "player-effects.h"
#include "object-hook.h"
#include "cmd-basic.h"
#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"
#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"
#include "spells.h"
#include "spells-status.h"
#include "player-status.h"
+#include "player-effects.h"
#include "object-hook.h"
#include "cmd-basic.h"
#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"
#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回処理を基本とする)*/
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);
#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;
#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 */
#include "feature.h"
#include "monster-status.h"
#include "player-status.h"
+#include "player-effects.h"
#include "spells.h"
#include "view-mainwindow.h"
#include "floor.h"
#include "spells.h"
#include "files.h"
+#include "player-effects.h"
#include "grid.h"
#include "cmd-basic.h"
#include "monster-status.h"
+#include "player-effects.h"
/*! 特殊技能の一覧テーブル */
mind_power const mind_powers[5] =
#include "artifact.h"
#include "avatar.h"
#include "files.h"
+#include "player-effects.h"
/*!
#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) /*!< モンスター魔法をプレイヤーが使用する場合の換算レベル */
#include "monster-status.h"
#include "spells.h"
#include "melee.h"
+#include "player-effects.h"
/*!
#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"
#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"
#include "mutation.h"
#include "artifact.h"
#include "player-status.h"
+#include "player-effects.h"
#include "spells.h"
#include "spells-summon.h"
#include "object-hook.h"
#include "object-broken.h"
#include "player-status.h"
+#include "player-effects.h"
/*!
#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 プレイヤーの継続行動を設定する。
#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"
#include "realm-hex.h"
#include "cmd-pet.h"
#include "cmd-spell.h"
+#include "player-effects.h"
/* Hack, monk armour */
static bool monk_armour_aux;
#include "object-hook.h"
#include "mutation.h"
+#include "player-effects.h"
#include "player-status.h"
#include "spells-status.h"
#include "spells-object.h"
#include "spells-summon.h"
#include "spells-status.h"
#include "player-status.h"
+#include "player-effects.h"
/*!
* @brief 秘術領域魔法の各処理を行う
#include "angband.h"
#include "cmd-spell.h"
+#include "player-effects.h"
#include "spells-summon.h"
#include "spells-status.h"
#include "spells.h"
#include "spells-status.h"
#include "mutation.h"
#include "player-status.h"
+#include "player-effects.h"
#include "spells.h"
#include "spells-summon.h"
#include "spells-status.h"
+#include "player-effects.h"
#include "spells-summon.h"
#include "spells-floor.h"
#include "spells-status.h"
+#include "player-effects.h"
/*!
* @brief 悪魔領域魔法の各処理を行う
#include "spells-status.h"
#include "avatar.h"
#include "player-status.h"
+#include "player-effects.h"
#include "spells-status.h"
#include "spells.h"
#include "player-status.h"
+#include "player-effects.h"
#include "realm-hex.h"
#include "grid.h"
#include "monster.h"
#include "player-move.h"
#include "player-status.h"
+#include "player-effects.h"
#include "feature.h"
#include "spells.h"
#include "grid.h"
#include "spells-floor.h"
#include "spells.h"
#include "player-status.h"
+#include "player-effects.h"
/*!
* @brief 生命領域魔法の各処理を行う
#include "spells-object.h"
#include "avatar.h"
#include "spells-floor.h"
+#include "player-effects.h"
/*!
#include "spells.h"
#include "spells-status.h"
#include "spells-floor.h"
+#include "player-effects.h"
/*!
* @brief 歌の開始を処理する / Start singing if the player is a Bard
#include "spells.h"
#include "spells-status.h"
#include "spells-floor.h"
+#include "player-effects.h"
/*!
* @brief 仙術領域魔法の各処理を行う
#include "spells.h"
#include "spells-summon.h"
#include "spells-status.h"
+#include "player-effects.h"
/*!
#include "quest.h"
#include "cmd-basic.h"
#include "floor-save.h"
+#include "player-effects.h"
/*
* Light up the dungeon using "clairvoyance"
#include "object-flavor.h"
#include "player-status.h"
#include "avatar.h"
+#include "player-effects.h"
typedef struct
#include "spells.h"
#include "monster.h"
#include "cmd-spell.h"
+#include "player-effects.h"
/*!
* @brief モンスター回復処理
#include "trap.h"
#include "object-curse.h"
#include "player-damage.h"
+#include "player-effects.h"
#include "monster.h"
#include "monster-status.h"
#include "monster-status.h"
#include "player-move.h"
#include "player-status.h"
+#include "player-effects.h"
#include "floor-events.h"
#include "snipe.h"
#include "floor-save.h"
#include "files.h"
+#include "player-effects.h"
/*! テレポート先探索の試行数 / Maximum number of tries for teleporting */
#include "floor-events.h"
#include "snipe.h"
#include "files.h"
+#include "player-effects.h"
#define MIN_STOCK 12
#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"
#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"
#include "quest.h"
#include "artifact.h"
#include "player-status.h"
+#include "player-effects.h"
#include "spells.h"
#include "spells-object.h"