OSDN Git Service

[Refactor] #39963 Separated spells3.h from spells1.h
authorHourier <hourier@users.sourceforge.jp>
Fri, 8 May 2020 09:03:33 +0000 (18:03 +0900)
committerHourier <hourier@users.sourceforge.jp>
Fri, 8 May 2020 09:03:33 +0000 (18:03 +0900)
55 files changed:
Hengband/Hengband/Hengband.vcxproj
Hengband/Hengband/Hengband.vcxproj.filters
src/Makefile.am
src/chest.c
src/cmd/cmd-activate.c
src/cmd/cmd-basic.c
src/cmd/cmd-item.c
src/cmd/cmd-magiceat.c
src/cmd/cmd-mane.c
src/cmd/cmd-quaff.c
src/cmd/cmd-read.c
src/cmd/cmd-spell.c
src/cmd/cmd-usestaff.c
src/cmd/cmd-zaprod.c
src/cmd/cmd-zapwand.c
src/combat/melee.c
src/core.c
src/effect/effect-item.c
src/effect/effect-monster-resist-hurt.c
src/effect/effect-monster.c
src/effect/effect-player-resist-hurt.c
src/market/building.c
src/market/store.c
src/mind.c
src/monster/quantum-effect.c
src/mspells1.c
src/mspells2.c
src/mspells3.c
src/mspells4.c
src/mutation.c
src/object2.c
src/player-move.c
src/racial.c
src/realm/realm-arcane.c
src/realm/realm-chaos.c
src/realm/realm-craft.c
src/realm/realm-crusade.c
src/realm/realm-death.c
src/realm/realm-hex.c
src/realm/realm-hissatsu.c
src/realm/realm-life.c
src/realm/realm-nature.c
src/realm/realm-song.c
src/realm/realm-sorcery.c
src/realm/realm-trump.c
src/spell/spells1.h
src/spell/spells2.c
src/spell/spells3.c
src/spell/spells3.h [new file with mode: 0644]
src/spells-floor.c
src/spells-object.c
src/spells-status.c
src/trap.c
src/view/display-main-window.c
src/wizard2.c

index 92d563f..9ad52ec 100644 (file)
     <ClInclude Include="..\..\src\spell\spells-util.h" />\r
     <ClInclude Include="..\..\src\spell\spells-execution.h" />\r
     <ClInclude Include="..\..\src\spell\spells2.h" />\r
+    <ClInclude Include="..\..\src\spell\spells3.h" />\r
     <ClInclude Include="..\..\src\spell\technic-info-table.h" />\r
     <ClInclude Include="..\..\src\view\display-characteristic.h" />\r
     <ClInclude Include="..\..\src\view\display-fruit.h" />\r
index e4538fb..e0e5674 100644 (file)
     <ClInclude Include="..\..\src\spell\spells2.h">
       <Filter>spell</Filter>
     </ClInclude>
+    <ClInclude Include="..\..\src\spell\spells3.h">
+      <Filter>spell</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <None Include="..\..\src\wall.bmp" />
index 43a226f..ac9bf78 100644 (file)
@@ -195,7 +195,7 @@ hengband_SOURCES = \
        spell/spells-util.h spell/spells-type.h \
        spell/process-effect.h spell/process-effect.h \
        spell/spells1.c spell/spells1.h spell/spells2.c spell/spells2.h \
-       spell/spells3.c \
+       spell/spells3.c spell/spells3.h \
        spells-diceroll.c spells-diceroll.h \
        spells-floor.c spells-floor.h \
        spells-object.c spells-object.h \
index 45c4dd8..5322022 100644 (file)
@@ -12,6 +12,7 @@
 #include "player-effects.h"
 #include "grid.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 箱からアイテムを引き出す /
index d765fc4..ea812e1 100644 (file)
@@ -35,6 +35,7 @@
 #include "spell/process-effect.h"
 #include "effect/effect-characteristics.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief 装備耐性に準じたブレス効果の選択テーブル /
index d9c25bc..3b630ac 100644 (file)
@@ -52,6 +52,7 @@
 #include "targeting.h"
 #include "world.h"
 #include "effect/spells-effect-util.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief フロア脱出時に出戻りが不可能だった場合に警告を加える処理
index 357d093..0f0b5d9 100644 (file)
@@ -40,7 +40,7 @@
 #include "player-personality.h"
 #include "monster.h"
 #include "view/display-main-window.h"
-#include "spell/spells1.h"
+#include "spell/spells3.h"
 #include "object/object-kind.h"
 #include "autopick/autopick.h"
 #include "autopick/autopick-registry.h"
index c5f0e5a..2b3ca8f 100644 (file)
@@ -64,7 +64,7 @@
 #include "cmd-magiceat.h"
 #include "avatar.h"
 #include "player-status.h"
-#include "spell/spells1.h"
+#include "spell/spells3.h"
 #include "player-class.h"
 #include "object/object-kind.h"
 #include "targeting.h"
index c4ea9ba..0418859 100644 (file)
@@ -30,6 +30,7 @@
 #include "view/display-main-window.h"
 #include "spell/spells-type.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 static int damage;
 
index a607007..3249d12 100644 (file)
@@ -16,6 +16,7 @@
 #include "mutation.h"
 #include "avatar.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 #include "spells-status.h"
 #include "player-effects.h"
 #include "player-status.h"
index 3602b11..72eb52a 100644 (file)
@@ -35,6 +35,7 @@
 #include "view/display-main-window.h"
 #include "spell/spells-type.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief 巻物を読むコマンドのサブルーチン
index d83aeb2..1c70422 100644 (file)
@@ -17,6 +17,7 @@
 #include "selfinfo.h"
 #include "spell/technic-info-table.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 #include "spells-summon.h"
 #include "realm/realm-hex.h"
 #include "mind.h"
index 3a67f79..27001f9 100644 (file)
@@ -10,6 +10,7 @@
 #include "player-class.h"
 #include "player-inventory.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 #include "spells-status.h"
 #include "spells-floor.h"
 #include "object-hook.h"
index e4148f3..9c3bae4 100644 (file)
@@ -17,6 +17,7 @@
 #include "targeting.h"
 #include "view/display-main-window.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief ロッドの効果を発動する
index 67b64c2..254b6c8 100644 (file)
@@ -16,6 +16,7 @@
 #include "targeting.h"
 #include "view/display-main-window.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 魔法棒の効果を発動する
index e54704a..f45ca3e 100644 (file)
@@ -47,6 +47,7 @@
 #include "world.h"
 #include "spells-floor.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 #define BLOW_EFFECT_TYPE_NONE  0
 #define BLOW_EFFECT_TYPE_FEAR  1
index 3a67f85..ce961bb 100644 (file)
 #include "spell/spells-util.h"
 #include "spell/spells-execution.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
  /*!
   * コピーライト情報 /
index 7e514a9..6f9a093 100644 (file)
@@ -5,6 +5,7 @@
 #include "object-broken.h"
 #include "autopick/autopick.h"
 #include "spell/spells-type.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief 汎用的なビーム/ボルト/ボール系によるアイテムオブジェクトへの効果処理 / Handle a beam/bolt/ball causing damage to a monster.
index 109ca08..05d4b37 100644 (file)
@@ -2,6 +2,7 @@
 #include "effect/effect-monster-util.h"
 #include "effect/effect-monster-resist-hurt.h"
 #include "monster-status.h"
+#include "spell/spells3.h"
 
 gf_switch_result effect_monster_void(effect_monster_type *em_ptr)
 {
index bbbf41d..ffc973b 100644 (file)
@@ -17,6 +17,7 @@
 #include "avatar.h"
 #include "spell/spells-type.h"
 #include "effect/effect-characteristics.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief ビーム/ボルト/ボール系魔法によるモンスターへの効果があるかないかを判定する
index f7f2514..095d152 100644 (file)
@@ -9,6 +9,7 @@
 #include "mutation.h"
 #include "monster-spell.h"
 #include "spells-status.h"
+#include "spell/spells3.h"
 
 // 毒を除く4元素.
 void effect_player_elements(player_type *target_ptr, effect_player_type *ep_ptr,
index 89c1580..ecc1b6b 100644 (file)
@@ -45,7 +45,7 @@
 #include "quest.h"
 #include "artifact.h"
 #include "cmd-spell.h"
-#include "spell/spells1.h"
+#include "spell/spells3.h"
 #include "spells-object.h"
 #include "spells-status.h"
 #include "realm/realm-hex.h"
index 3204535..7bbb9e3 100644 (file)
@@ -38,7 +38,7 @@
 #include "cmd/cmd-visuals.h"
 #include "cmd/cmd-zapwand.h"
 #include "cmd/cmd-magiceat.h"
-#include "spell/spells1.h"
+#include "spell/spells3.h"
 #include "market/store.h"
 #include "avatar.h"
 #include "cmd-spell.h"
index edf449d..2002ad4 100644 (file)
@@ -44,6 +44,7 @@
 #include "spell/spells-type.h"
 #include "spell/process-effect.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*! 特殊技能の一覧テーブル */
 mind_power const mind_powers[5] =
index a8d5469..46e70c0 100644 (file)
@@ -1,6 +1,7 @@
 #include "angband.h"
 #include "quantum-effect.h"
 #include "monster-spell.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief ユニークでない量子生物を消滅させる
index 973f434..0376a0e 100644 (file)
@@ -58,6 +58,7 @@
 #include "player-race.h"
 #include "player-class.h"
 #include "spell/process-effect.h"
+#include "spell/spells3.h"
 
 #define DO_SPELL_NONE    0
 #define DO_SPELL_BR_LITE 1
index d278738..525dfad 100644 (file)
@@ -29,6 +29,7 @@
 #include "dungeon.h"
 #include "world.h"
 #include "view/display-main-window.h"
+#include "spell/spells3.h"
 
  /*!
   * @brief モンスターが敵対モンスターにビームを当てること可能かを判定する /
index 0aed776..c596e99 100644 (file)
@@ -30,6 +30,7 @@
 #include "targeting.h"
 #include "view/display-main-window.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
  /*!
   * @brief モンスター魔法をプレイヤーが使用する場合の換算レベル
index 95e33ba..b1ecebc 100644 (file)
@@ -28,6 +28,7 @@
 #include "view/display-main-window.h" // 暫定、後で消したい.
 #include "spell/process-effect.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
  /*!
  * @brief モンスター2体がプレイヤーの近くに居るかの判定 /
index 3e986b5..0aa962e 100644 (file)
@@ -39,6 +39,7 @@
 #include "effect/spells-effect-util.h"
 #include "spell/spells-type.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief プレイヤーに突然変異を与える
index bd027f1..6f72015 100644 (file)
@@ -22,7 +22,7 @@
 #include "io/write-diary.h"
 #include "cmd/cmd-dump.h"
 #include "cmd/cmd-spell.h"
-#include "spell/spells1.h"
+#include "spell/spells3.h"
 #include "dungeon.h"
 #include "floor.h"
 #include "grid.h"
index 57ed205..27bee4a 100644 (file)
 #include "autopick/autopick.h"
 #include "targeting.h"
 #include "spell/process-effect.h"
+#include "spell/spells3.h"
 
 travel_type travel;
 
index b99fd77..ed20694 100644 (file)
@@ -38,6 +38,7 @@
 #include "effect/spells-effect-util.h"
 #include "spell/spells-type.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief 修行僧の構え設定処理
index 235f53d..bd78741 100644 (file)
@@ -5,6 +5,7 @@
 #include "avatar.h"
 
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 #include "spells-floor.h"
 #include "spells-object.h"
 #include "spells-summon.h"
index d22b665..50e39a2 100644 (file)
@@ -16,6 +16,7 @@
 #include "spell/process-effect.h"
 #include "effect/effect-characteristics.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief カオス領域魔法の各処理を行う
index e61a71e..4c748cb 100644 (file)
@@ -11,6 +11,7 @@
 #include "player-status.h"
 #include "player-effects.h"
 #include "realm/realm-craft.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 匠領域魔法の各処理を行う
index 6894fa9..b6716cf 100644 (file)
@@ -16,6 +16,7 @@
 #include "realm/realm-crusade.h"
 #include "spell/process-effect.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 破邪領域魔法の各処理を行う
index a099ea7..640cac5 100644 (file)
@@ -16,6 +16,7 @@
 #include "spell/process-effect.h"
 #include "effect/effect-characteristics.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 暗黒領域魔法の各処理を行う
index 251366b..5e7d19e 100644 (file)
@@ -42,6 +42,7 @@
 #include "spell/spells-type.h"
 #include "spell/process-effect.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 #define MAX_KEEP 4 /*!<呪術の最大詠唱数 */
 
index ae2cd26..e939c59 100644 (file)
@@ -26,6 +26,7 @@
 #include "spell/spells-type.h"
 #include "spell/process-effect.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 剣術の各処理を行う
index 36d000b..2a35b06 100644 (file)
@@ -3,6 +3,7 @@
 #include "spells-status.h"
 #include "spells-floor.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 #include "player-status.h"
 #include "player-effects.h"
 #include "floor.h"
index 7d6bd0e..2b287ca 100644 (file)
@@ -18,6 +18,7 @@
 #include "spell/process-effect.h"
 #include "effect/effect-characteristics.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 自然領域魔法の各処理を行う
index 6d144af..69f780e 100644 (file)
@@ -13,6 +13,7 @@
 #include "spell/process-effect.h"
 #include "effect/effect-characteristics.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 歌の開始を処理する / Start singing if the player is a Bard
index 17fe1b3..bdc3c80 100644 (file)
@@ -12,6 +12,7 @@
 #include "targeting.h"
 #include "realm/realm-sorcery.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief 仙術領域魔法の各処理を行う
index c507bd5..f90e9d5 100644 (file)
@@ -13,6 +13,7 @@
 #include "realm/realm-trump.h"
 #include "spell/spells-type.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
 * @brief トランプ領域魔法の各処理を行う
index 9e3d752..ad48d78 100644 (file)
@@ -1,59 +1,9 @@
 #pragma once
 #include "realm/realm.h"
 
-/* spells1.c */
-extern bool in_disintegration_range(floor_type *floor_ptr, POSITION y1, POSITION x1, POSITION y2, POSITION x2);
-extern void breath_shape(player_type *caster_ptr, u16b *path_g, int dist, int *pgrids, POSITION *gx, POSITION *gy, POSITION *gm, POSITION *pgm_rad, POSITION rad, POSITION y1, POSITION x1, POSITION y2, POSITION x2, EFFECT_ID typ);
-extern POSITION dist_to_line(POSITION y, POSITION x, POSITION y1, POSITION x1, POSITION y2, POSITION x2);
-extern bool binding_field(player_type *caster_ptr, HIT_POINT dam);
-extern void seal_of_mirror(player_type *caster_ptr, HIT_POINT dam);
-extern concptr spell_category_name(OBJECT_TYPE_VALUE tval);
-
-/* spells3.c */
-extern bool teleport_away(player_type *caster_ptr, MONSTER_IDX m_idx, POSITION dis, teleport_flags mode);
-extern void teleport_monster_to(player_type *caster_ptr, MONSTER_IDX m_idx, POSITION ty, POSITION tx, int power, teleport_flags mode);
-extern bool teleport_player_aux(player_type *creature_ptr, POSITION dis, bool is_quantum_effect, teleport_flags mode);
-extern void teleport_player(player_type *creature_ptr, POSITION dis, BIT_FLAGS mode);
-extern void teleport_player_away(MONSTER_IDX m_idx, player_type *target_ptr, POSITION dis, bool is_quantum_effect);
-extern void teleport_player_to(player_type *creature_ptr, POSITION ny, POSITION nx, teleport_flags mode);
-extern void teleport_away_followable(player_type *creature_ptr, MONSTER_IDX m_idx);
-extern bool teleport_level_other(player_type *caster_ptr);
-extern void teleport_level(player_type *creature_ptr, MONSTER_IDX m_idx);
-extern bool recall_player(player_type *creature_ptr, TIME_EFFECT turns);
-extern bool free_level_recall(player_type *creature_ptr);
-extern bool reset_recall(player_type *caster_ptr);
-extern bool apply_disenchant(player_type *target_ptr, BIT_FLAGS mode);
-extern void call_the_void(player_type *caster_ptr);
-extern void fetch(player_type *caster_ptr, DIRECTION dir, WEIGHT wgt, bool require_los);
-extern void reserve_alter_reality(player_type *caster_ptr);
-extern void identify_pack(player_type *target_ptr);
-extern int remove_curse(player_type *caster_ptr);
-extern int remove_all_curse(player_type *caster_ptr);
-extern bool alchemy(player_type *caster_ptr);
-
-extern bool artifact_scroll(player_type *caster_ptr);
-extern bool ident_spell(player_type *caster_ptr, bool only_equip, OBJECT_TYPE_VALUE item_tester_tval);
-extern bool mundane_spell(player_type *ownner_ptr, bool only_equip);
-extern bool identify_item(player_type *owner_ptr, object_type *o_ptr);
-extern bool identify_fully(player_type *caster_ptr, bool only_equip, OBJECT_TYPE_VALUE item_tester_tval);
-extern bool recharge(player_type *caster_ptr, int power);
-extern void display_spell_list(player_type *caster_ptr);
-extern EXP experience_of_spell(player_type *caster_ptr, SPELL_IDX spell, REALM_IDX use_realm);
-extern MANA_POINT mod_need_mana(player_type *caster_ptr, MANA_POINT need_mana, SPELL_IDX spell, REALM_IDX realm);
-extern PERCENTAGE mod_spell_chance_1(player_type *caster_ptr, PERCENTAGE chance);
-extern PERCENTAGE mod_spell_chance_2(player_type *caster_ptr, PERCENTAGE chance);
-extern PERCENTAGE spell_chance(player_type *caster_ptr, SPELL_IDX spell, REALM_IDX realm);
-extern void print_spells(player_type* caster_ptr, SPELL_IDX target_spell, SPELL_IDX *spells, int num, TERM_LEN y, TERM_LEN x, REALM_IDX realm);
-extern bool polymorph_monster(player_type *caster_ptr, POSITION y, POSITION x);
-extern bool dimension_door(player_type *caster_ptr);
-extern bool mirror_tunnel(player_type *caster_ptr);
-extern void massacre(player_type *caster_ptr);
-extern bool eat_rock(player_type *caster_ptr);
-extern bool shock_power(player_type *caster_ptr);
-extern bool fetch_monster(player_type *caster_ptr);
-extern bool booze(player_type *creature_ptr);
-extern bool detonation(player_type *creature_ptr);
-extern void blood_curse_to_enemy(player_type *caster_ptr, MONSTER_IDX m_idx);
-extern bool fire_crimson(player_type *shooter_ptr);
-extern bool tele_town(player_type *caster_ptr);
-extern bool is_teleport_level_ineffective(player_type *caster_ptr, MONSTER_IDX idx);
+bool in_disintegration_range(floor_type *floor_ptr, POSITION y1, POSITION x1, POSITION y2, POSITION x2);
+void breath_shape(player_type *caster_ptr, u16b *path_g, int dist, int *pgrids, POSITION *gx, POSITION *gy, POSITION *gm, POSITION *pgm_rad, POSITION rad, POSITION y1, POSITION x1, POSITION y2, POSITION x2, EFFECT_ID typ);
+POSITION dist_to_line(POSITION y, POSITION x, POSITION y1, POSITION x1, POSITION y2, POSITION x2);
+bool binding_field(player_type *caster_ptr, HIT_POINT dam);
+void seal_of_mirror(player_type *caster_ptr, HIT_POINT dam);
+concptr spell_category_name(OBJECT_TYPE_VALUE tval);
index 6cc8a55..f5b1fa8 100644 (file)
@@ -30,6 +30,7 @@
 #include "melee.h"
 #include "world.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 #include "spells-summon.h"
 #include "mutation.h"
 #include "quest.h"
index 907df14..718c5e7 100644 (file)
@@ -38,6 +38,7 @@
 #include "artifact.h"
 #include "avatar.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 #include "spells-floor.h"
 #include "spell/technic-info-table.h"
 #include "grid.h"
diff --git a/src/spell/spells3.h b/src/spell/spells3.h
new file mode 100644 (file)
index 0000000..59f4b44
--- /dev/null
@@ -0,0 +1,49 @@
+#pragma once
+
+bool teleport_away(player_type* caster_ptr, MONSTER_IDX m_idx, POSITION dis, teleport_flags mode);
+void teleport_monster_to(player_type* caster_ptr, MONSTER_IDX m_idx, POSITION ty, POSITION tx, int power, teleport_flags mode);
+bool teleport_player_aux(player_type* creature_ptr, POSITION dis, bool is_quantum_effect, teleport_flags mode);
+void teleport_player(player_type* creature_ptr, POSITION dis, BIT_FLAGS mode);
+void teleport_player_away(MONSTER_IDX m_idx, player_type* target_ptr, POSITION dis, bool is_quantum_effect);
+void teleport_player_to(player_type* creature_ptr, POSITION ny, POSITION nx, teleport_flags mode);
+void teleport_away_followable(player_type* creature_ptr, MONSTER_IDX m_idx);
+bool teleport_level_other(player_type* caster_ptr);
+void teleport_level(player_type* creature_ptr, MONSTER_IDX m_idx);
+bool recall_player(player_type* creature_ptr, TIME_EFFECT turns);
+bool free_level_recall(player_type* creature_ptr);
+bool reset_recall(player_type* caster_ptr);
+bool apply_disenchant(player_type* target_ptr, BIT_FLAGS mode);
+void call_the_void(player_type* caster_ptr);
+void fetch(player_type* caster_ptr, DIRECTION dir, WEIGHT wgt, bool require_los);
+void reserve_alter_reality(player_type* caster_ptr);
+void identify_pack(player_type* target_ptr);
+int remove_curse(player_type* caster_ptr);
+int remove_all_curse(player_type* caster_ptr);
+bool alchemy(player_type* caster_ptr);
+
+bool artifact_scroll(player_type* caster_ptr);
+bool ident_spell(player_type* caster_ptr, bool only_equip, OBJECT_TYPE_VALUE item_tester_tval);
+bool mundane_spell(player_type* ownner_ptr, bool only_equip);
+bool identify_item(player_type* owner_ptr, object_type* o_ptr);
+bool identify_fully(player_type* caster_ptr, bool only_equip, OBJECT_TYPE_VALUE item_tester_tval);
+bool recharge(player_type* caster_ptr, int power);
+void display_spell_list(player_type* caster_ptr);
+EXP experience_of_spell(player_type* caster_ptr, SPELL_IDX spell, REALM_IDX use_realm);
+MANA_POINT mod_need_mana(player_type* caster_ptr, MANA_POINT need_mana, SPELL_IDX spell, REALM_IDX realm);
+PERCENTAGE mod_spell_chance_1(player_type* caster_ptr, PERCENTAGE chance);
+PERCENTAGE mod_spell_chance_2(player_type* caster_ptr, PERCENTAGE chance);
+PERCENTAGE spell_chance(player_type* caster_ptr, SPELL_IDX spell, REALM_IDX realm);
+void print_spells(player_type* caster_ptr, SPELL_IDX target_spell, SPELL_IDX* spells, int num, TERM_LEN y, TERM_LEN x, REALM_IDX realm);
+bool polymorph_monster(player_type* caster_ptr, POSITION y, POSITION x);
+bool dimension_door(player_type* caster_ptr);
+bool mirror_tunnel(player_type* caster_ptr);
+void massacre(player_type* caster_ptr);
+bool eat_rock(player_type* caster_ptr);
+bool shock_power(player_type* caster_ptr);
+bool fetch_monster(player_type* caster_ptr);
+bool booze(player_type* creature_ptr);
+bool detonation(player_type* creature_ptr);
+void blood_curse_to_enemy(player_type* caster_ptr, MONSTER_IDX m_idx);
+bool fire_crimson(player_type* shooter_ptr);
+bool tele_town(player_type* caster_ptr);
+bool is_teleport_level_ineffective(player_type* caster_ptr, MONSTER_IDX idx);
index 9e1ef24..d7a342f 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "monster-status.h"
 
-#include "spell/spells1.h"
+#include "spell/spells3.h"
 #include "spells-floor.h"
 
 /*
index 5b58276..ce5765c 100644 (file)
@@ -6,7 +6,7 @@
 #include "artifact.h"
 #include "floor.h"
 #include "grid.h"
-#include "spell/spells1.h"
+#include "spell/spells3.h"
 #include "spells-object.h"
 #include "object-boost.h"
 #include "object-hook.h"
index 88958f0..adeb171 100644 (file)
@@ -18,6 +18,7 @@
 #include "realm/realm-song.h"
 #include "view/display-main-window.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 /*!
  * @brief モンスター回復処理
index 84cfcaa..b6469bb 100644 (file)
@@ -26,6 +26,7 @@
 #include "world.h"
 #include "spell/process-effect.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 static s16b normal_traps[MAX_NORMAL_TRAPS];
 
index 24ae009..5d69eb0 100644 (file)
@@ -50,6 +50,7 @@
 
 #include "market/arena-info-table.h"
 #include "effect/spells-effect-util.h"
+#include "spell/spells3.h"
 
  /*
   * Not using graphical tiles for this feature?
index b7fa5d6..45980a3 100644 (file)
@@ -57,6 +57,7 @@
 #include "view/display-main-window.h"
 #include "world.h"
 #include "spell/spells2.h"
+#include "spell/spells3.h"
 
 #define NUM_O_SET 8
 #define NUM_O_BIT 32