OSDN Git Service

[Refactor] #38862 Moved spells-* to spell/
authorHourier <hourier@users.sourceforge.jp>
Fri, 15 May 2020 11:39:17 +0000 (20:39 +0900)
committerHourier <hourier@users.sourceforge.jp>
Fri, 15 May 2020 11:40:08 +0000 (20:40 +0900)
85 files changed:
Hengband/Hengband/Hengband.vcxproj
Hengband/Hengband/Hengband.vcxproj.filters
src/artifact.c
src/birth/birth.c
src/chest.c
src/cmd/cmd-activate.c
src/cmd/cmd-eat.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/combat/shoot.c
src/core/game-play.c
src/effect/effect-monster-charm.c
src/effect/effect-monster-domination.c
src/effect/effect-monster-spirit.c
src/effect/effect-player-curse.c
src/effect/effect-player-resist-hurt.c
src/effect/effect-player-spirit.c
src/effect/effect-player-switcher.c
src/floor/floor-save.c
src/floor/floor-streams.c
src/floor/pattern-walk.c
src/inventory/inventory-curse.c
src/io/input-key-processor.c
src/io/special-class-dump.c
src/load.c
src/market/building.c
src/mind.c
src/monster/monster-process.c
src/monster/monster-safety-hiding.c
src/monster/monster-status.c
src/monster/monster-sweep-grid.c
src/monster/monster1.c
src/monster/monster2.c
src/monster/monsterrace-hook.c
src/monster/quantum-effect.c
src/mutation/mutation-processor.c
src/mutation/mutation.c
src/patron.c
src/player/player-damage.c
src/player/player-effects.c
src/player/player-move.c
src/player/player-status.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-daemon.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/monster-spell.h [moved from src/monster-spell.h with 100% similarity]
src/spell/mspells1.c [moved from src/mspells1.c with 99% similarity]
src/spell/mspells2.c [moved from src/mspells2.c with 99% similarity]
src/spell/mspells3.c [moved from src/mspells3.c with 99% similarity]
src/spell/mspells4.c [moved from src/mspells4.c with 99% similarity]
src/spell/spells-diceroll.c [moved from src/spells-diceroll.c with 98% similarity]
src/spell/spells-diceroll.h [moved from src/spells-diceroll.h with 100% similarity]
src/spell/spells-floor.c [moved from src/spells-floor.c with 99% similarity]
src/spell/spells-floor.h [moved from src/spells-floor.h with 100% similarity]
src/spell/spells-object.c [moved from src/spells-object.c with 99% similarity]
src/spell/spells-object.h [moved from src/spells-object.h with 100% similarity]
src/spell/spells-status.c [moved from src/spells-status.c with 99% similarity]
src/spell/spells-status.h [moved from src/spells-status.h with 100% similarity]
src/spell/spells-summon.c [moved from src/spells-summon.c with 99% similarity]
src/spell/spells-summon.h [moved from src/spells-summon.h with 100% similarity]
src/spell/spells-world.c [moved from src/spells-world.c with 95% similarity]
src/spell/spells-world.h [moved from src/spells-world.h with 100% similarity]
src/spell/spells2.c
src/spell/spells3.c
src/targeting.c
src/trap.c
src/warning.c
src/wizard/wizard-special-process.c

index b8dab64..16fa213 100644 (file)
     <ClCompile Include="..\..\src\mind.c" />\r
     <ClCompile Include="..\..\src\monster\monster1.c" />\r
     <ClCompile Include="..\..\src\monster\monster2.c" />\r
-    <ClCompile Include="..\..\src\mspells1.c" />\r
-    <ClCompile Include="..\..\src\mspells2.c" />\r
-    <ClCompile Include="..\..\src\mspells3.c" />\r
-    <ClCompile Include="..\..\src\mspells4.c" />\r
+    <ClCompile Include="..\..\src\spell\mspells1.c" />\r
+    <ClCompile Include="..\..\src\spell\mspells2.c" />\r
+    <ClCompile Include="..\..\src\spell\mspells3.c" />\r
+    <ClCompile Include="..\..\src\spell\mspells4.c" />\r
     <ClCompile Include="..\..\src\mutation\mutation.c" />\r
     <ClCompile Include="..\..\src\object\object1.c" />\r
     <ClCompile Include="..\..\src\object\object2.c" />\r
     <ClCompile Include="..\..\src\io\signal-handlers.c" />\r
     <ClCompile Include="..\..\src\snipe.c" />\r
     <ClCompile Include="..\..\src\sort.c" />\r
-    <ClCompile Include="..\..\src\spells-diceroll.c" />\r
-    <ClCompile Include="..\..\src\spells-floor.c" />\r
-    <ClCompile Include="..\..\src\spells-object.c" />\r
-    <ClCompile Include="..\..\src\spells-status.c" />\r
-    <ClCompile Include="..\..\src\spells-summon.c" />\r
-    <ClCompile Include="..\..\src\spells-world.c" />\r
+    <ClCompile Include="..\..\src\spell\spells-diceroll.c" />\r
+    <ClCompile Include="..\..\src\spell\spells-floor.c" />\r
+    <ClCompile Include="..\..\src\spell\spells-object.c" />\r
+    <ClCompile Include="..\..\src\spell\spells-status.c" />\r
+    <ClCompile Include="..\..\src\spell\spells-summon.c" />\r
+    <ClCompile Include="..\..\src\spell\spells-world.c" />\r
     <ClCompile Include="..\..\src\spell\spells1.c" />\r
     <ClCompile Include="..\..\src\spell\spells2.c" />\r
     <ClCompile Include="..\..\src\spell\spells3.c" />\r
     <ClInclude Include="..\..\src\load.h" />\r
     <ClInclude Include="..\..\src\mind.h" />\r
     <ClInclude Include="..\..\src\monster\monster-process.h" />\r
-    <ClInclude Include="..\..\src\monster-spell.h" />\r
+    <ClInclude Include="..\..\src\spell\monster-spell.h" />\r
     <ClInclude Include="..\..\src\monster\monster-status.h" />\r
     <ClInclude Include="..\..\src\monster\monster.h" />\r
     <ClInclude Include="..\..\src\monster\monsterrace-hook.h" />\r
     <ClInclude Include="..\..\src\selfinfo.h" />\r
     <ClInclude Include="..\..\src\snipe.h" />\r
     <ClInclude Include="..\..\src\sort.h" />\r
-    <ClInclude Include="..\..\src\spells-diceroll.h" />\r
-    <ClInclude Include="..\..\src\spells-floor.h" />\r
-    <ClInclude Include="..\..\src\spells-object.h" />\r
-    <ClInclude Include="..\..\src\spells-status.h" />\r
-    <ClInclude Include="..\..\src\spells-summon.h" />\r
+    <ClInclude Include="..\..\src\spell\spells-diceroll.h" />\r
+    <ClInclude Include="..\..\src\spell\spells-floor.h" />\r
+    <ClInclude Include="..\..\src\spell\spells-object.h" />\r
+    <ClInclude Include="..\..\src\spell\spells-status.h" />\r
+    <ClInclude Include="..\..\src\spell\spells-summon.h" />\r
     <ClInclude Include="..\..\src\floor\floor-streams.h" />\r
-    <ClInclude Include="..\..\src\spells-world.h" />\r
+    <ClInclude Include="..\..\src\spell\spells-world.h" />\r
     <ClInclude Include="..\..\src\spell\spells1.h" />\r
     <ClInclude Include="..\..\src\market\store.h" />\r
     <ClInclude Include="..\..\src\targeting.h" />\r
index 9ea47b9..d608666 100644 (file)
@@ -6,24 +6,6 @@
     <ClCompile Include="..\..\src\z-form.c" />
     <ClCompile Include="..\..\src\z-term.c" />
     <ClCompile Include="..\..\src\warning.c" />
-    <ClCompile Include="..\..\src\spells-diceroll.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\spells-floor.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\spells-object.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\spells-status.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\spells-summon.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\spells-world.c">
-      <Filter>spell</Filter>
-    </ClCompile>
     <ClCompile Include="..\..\src\patron.c">
       <Filter>player</Filter>
     </ClCompile>
     <ClCompile Include="..\..\src\chuukei.c">
       <Filter>io</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\src\mspells4.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\mspells1.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\mspells2.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\mspells3.c">
-      <Filter>spell</Filter>
-    </ClCompile>
     <ClCompile Include="..\..\src\geometry.c">
       <Filter>floor</Filter>
     </ClCompile>
     <ClCompile Include="..\..\src\system\system-variables.c">
       <Filter>system</Filter>
     </ClCompile>
+    <ClCompile Include="..\..\src\spell\spells-diceroll.c">
+      <Filter>spell</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell\spells-floor.c">
+      <Filter>spell</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell\spells-object.c">
+      <Filter>spell</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell\spells-status.c">
+      <Filter>spell</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell\spells-summon.c">
+      <Filter>spell</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell\spells-world.c">
+      <Filter>spell</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell\mspells1.c">
+      <Filter>spell</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell\mspells2.c">
+      <Filter>spell</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell\mspells3.c">
+      <Filter>spell</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell\mspells4.c">
+      <Filter>spell</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\..\src\gamevalue.h" />
     <ClInclude Include="..\..\src\z-form.h" />
     <ClInclude Include="..\..\src\z-term.h" />
     <ClInclude Include="..\..\src\warning.h" />
-    <ClInclude Include="..\..\src\spells-diceroll.h">
-      <Filter>spell</Filter>
-    </ClInclude>
-    <ClInclude Include="..\..\src\spells-floor.h">
-      <Filter>spell</Filter>
-    </ClInclude>
-    <ClInclude Include="..\..\src\spells-object.h">
-      <Filter>spell</Filter>
-    </ClInclude>
-    <ClInclude Include="..\..\src\spells-status.h">
-      <Filter>spell</Filter>
-    </ClInclude>
-    <ClInclude Include="..\..\src\spells-summon.h">
-      <Filter>spell</Filter>
-    </ClInclude>
-    <ClInclude Include="..\..\src\spells-world.h">
-      <Filter>spell</Filter>
-    </ClInclude>
     <ClInclude Include="..\..\src\patron.h">
       <Filter>player</Filter>
     </ClInclude>
     <ClInclude Include="..\..\src\chuukei.h">
       <Filter>io</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\src\monster-spell.h">
-      <Filter>spell</Filter>
-    </ClInclude>
     <ClInclude Include="..\..\src\geometry.h">
       <Filter>floor</Filter>
     </ClInclude>
     <ClInclude Include="..\..\src\system\system-variables.h">
       <Filter>system</Filter>
     </ClInclude>
+    <ClInclude Include="..\..\src\spell\spells-diceroll.h">
+      <Filter>spell</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell\spells-floor.h">
+      <Filter>spell</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell\spells-object.h">
+      <Filter>spell</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell\spells-status.h">
+      <Filter>spell</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell\spells-summon.h">
+      <Filter>spell</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell\spells-world.h">
+      <Filter>spell</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell\monster-spell.h">
+      <Filter>spell</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <None Include="..\..\src\wall.bmp" />
index ee3d463..c73d9cc 100644 (file)
@@ -26,7 +26,7 @@
 #include "object/object-ego.h"
 #include "object/object-flavor.h"
 #include "object/object-hook.h"
-#include "spells-object.h"
+#include "spell/spells-object.h"
 #include "files.h"
 #include "grid.h"
 #include "monster/monster.h"
index d071f8a..a7efdf2 100644 (file)
@@ -54,7 +54,7 @@
 #include "realm/realm.h"
 #include "save.h"
 #include "spell/spells-util.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "view/display-main-window.h" // 暫定。後で消す.
 #include "view/display-player.h" // 暫定。後で消す.
 #include "wild.h"
index 292633f..5f4ee59 100644 (file)
@@ -3,7 +3,7 @@
 #include "main/sound-definitions-table.h"
 
 #include "spell/spells-type.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "floor/floor.h"
 #include "trap.h"
 #include "player/player-status.h"
index b3eb141..23579d4 100644 (file)
 #include "sort.h"
 #include "artifact.h"
 #include "avatar.h"
-#include "spells-summon.h"
-#include "spells-status.h"
-#include "spells-object.h"
-#include "spells-floor.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
+#include "spell/spells-object.h"
+#include "spell/spells-floor.h"
 #include "player/player-effects.h"
 #include "realm/realm-hex.h"
 #include "player/player-damage.h"
index 14d653e..242b938 100644 (file)
@@ -14,7 +14,7 @@
 #include "object/object-flavor.h"
 #include "object/object-hook.h"
 #include "avatar.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "realm/realm-hex.h"
 #include "player/player-status.h"
 #include "player/player-effects.h"
index 3f3af39..7ed5692 100644 (file)
 
 #include "floor/floor.h"
 #include "grid.h"
-#include "spells-summon.h"
-#include "spells-status.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
 #include "monster/monster-status.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "monster/monster-process.h"
 #include "cmd-spell.h"
 #include "player/player-status.h"
index 0b2e22c..ef016a9 100644 (file)
 #include "avatar.h"
 #include "spell/spells2.h"
 #include "spell/spells3.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "player/player-effects.h"
 #include "player/player-status.h"
 #include "player/player-damage.h"
 #include "player/mimic-info-table.h"
 #include "player-inventory.h"
 #include "realm/realm-hex.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "object/object-broken.h"
 #include "cmd-basic.h"
 #include "floor/floor.h"
index 8857fb0..ae664c0 100644 (file)
 #include "rumor.h"
 #include "realm/realm-hex.h"
 
-#include "spells-object.h"
-#include "spells-floor.h"
-#include "spells-summon.h"
-#include "spells-status.h"
+#include "spell/spells-object.h"
+#include "spell/spells-floor.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
 
 #include "cmd/cmd-basic.h"
 #include "core/show-file.h"
index b6d2f54..86169c6 100644 (file)
@@ -18,7 +18,7 @@
 #include "spell/technic-info-table.h"
 #include "spell/spells2.h"
 #include "spell/spells3.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "realm/realm-hex.h"
 #include "mind.h"
 #include "avatar.h"
index 644d171..3f1cbed 100644 (file)
@@ -3,7 +3,7 @@
 #include "main/sound-definitions-table.h"
 
 #include "player/player-race.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "avatar.h"
 #include "player/player-status.h"
 #include "player/player-effects.h"
@@ -11,8 +11,8 @@
 #include "player-inventory.h"
 #include "spell/spells2.h"
 #include "spell/spells3.h"
-#include "spells-status.h"
-#include "spells-floor.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
 #include "object/object-hook.h"
 #include "cmd-basic.h"
 #include "floor/floor.h"
index 0604d3b..18ef5b2 100644 (file)
@@ -10,8 +10,8 @@
 #include "object/object-kind.h"
 #include "object/object-hook.h"
 #include "spell/spells-type.h"
-#include "spells-status.h"
-#include "spells-floor.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
 #include "cmd-basic.h"
 #include "floor/floor.h"
 #include "targeting.h"
index def5e67..274d129 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "avatar.h"
 #include "spell/spells-type.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "player/player-status.h"
 #include "player/player-effects.h"
 #include "player/player-class.h"
index 4260e36..71870dc 100644 (file)
@@ -22,7 +22,7 @@
 #include "melee.h"
 #include "monster/monster.h"
 #include "monster/monster-status.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "avatar.h"
 #include "realm/realm-hex.h"
 #include "realm/realm-song.h"
@@ -45,7 +45,7 @@
 #include "player/player-personality.h"
 #include "view/display-main-window.h"
 #include "world/world.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "spell/spells2.h"
 #include "spell/spells3.h"
 
index 3334bab..a044981 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "monster/monster.h"
 #include "monster/monster-status.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "artifact.h"
 #include "avatar.h"
 #include "player/player-status.h"
index 7b82f77..d029f4d 100644 (file)
@@ -39,7 +39,7 @@
 #include "player/player-skill.h"
 #include "player/process-name.h"
 #include "spell/technic-info-table.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "view/display-player.h"
 #include "wild.h"
 #include "world/world.h"
index f2b0f5a..b2285bc 100644 (file)
@@ -2,7 +2,7 @@
 #include "effect/effect-monster-util.h"
 #include "effect/effect-monster-charm.h"
 #include "avatar.h"
-#include "spells-diceroll.h"
+#include "spell/spells-diceroll.h"
 #include "monster/monsterrace-hook.h"
 
 static void effect_monster_charm_resist(player_type *caster_ptr, effect_monster_type *em_ptr)
index 359abd6..b2b2dc1 100644 (file)
@@ -2,7 +2,7 @@
 #include "effect/effect-monster-util.h"
 #include "effect/effect-monster-domination.h"
 #include "player/player-effects.h"
-#include "spells-diceroll.h"
+#include "spell/spells-diceroll.h"
 #include "monster/monster-status.h"
 #include "effect/spells-effect-util.h"
 #include "cmd/cmd-pet.h" // 暫定、後で消すかも.
index dd2596e..af9896c 100644 (file)
@@ -1,7 +1,7 @@
 #include "system/angband.h"
 #include "effect/effect-monster-util.h"
 #include "effect/effect-monster-spirit.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "monster/monster-status.h"
 #include "player/player-effects.h"
 
index af30954..79c6354 100644 (file)
@@ -3,7 +3,7 @@
 #include "effect/effect-player-curse.h"
 #include "player/player-damage.h"
 #include "world/world.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "object/object-curse.h"
 #include "player/player-effects.h"
 
index dc4af21..10c04b2 100644 (file)
@@ -7,8 +7,8 @@
 #include "artifact.h"
 #include "player/player-effects.h"
 #include "mutation/mutation.h"
-#include "monster-spell.h"
-#include "spells-status.h"
+#include "spell/monster-spell.h"
+#include "spell/spells-status.h"
 #include "spell/spells3.h"
 
 // 毒を除く4元素.
index ad596b0..839e6b6 100644 (file)
@@ -1,7 +1,7 @@
 #include "system/angband.h"
 #include "effect/effect-player-util.h"
 #include "effect/effect-player-spirit.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "player/player-damage.h"
 #include "player/player-effects.h"
 #include "world/world.h"
index ae8d977..7c1db58 100644 (file)
@@ -5,7 +5,7 @@
 #include "effect/effect-player-oldies.h"
 #include "effect/effect-player-resist-hurt.h"
 #include "effect/effect-player-spirit.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "object/object-broken.h"
 #include "object/object-curse.h"
 #include "player/player-damage.h"
index 4b815c6..0230215 100644 (file)
@@ -28,7 +28,7 @@
 #include "monster/monster.h"
 #include "quest.h"
 #include "wild.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "monster/monster-status.h"
 #include "object/object-hook.h"
 #include "cmd-pet.h"
index 22e1be5..50b7258 100644 (file)
@@ -29,7 +29,7 @@
 #include "object/object-flavor.h"
 #include "object/object-hook.h"
 #include "spell/spells1.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "room/rooms.h"
 
 
index 4273aa3..cd6e67e 100644 (file)
@@ -4,7 +4,7 @@
 #include "io/write-diary.h"
 #include "player/player-move.h"
 #include "player/player-effects.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "player/player-damage.h"
 #include "realm/realm-song.h"
 #include "spell/spells3.h"
index 50f6c0f..e4fb916 100644 (file)
@@ -1,7 +1,7 @@
 #include "system/angband.h"
 #include "inventory/inventory-curse.h"
 #include "object/object-flavor.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "player/player-damage.h"
 #include "player/player-move.h"
 #include "spell/spells2.h"
index 2011b33..7ab87d4 100644 (file)
@@ -20,9 +20,9 @@
 #include "market/store.h" // do_cmd_store() がある。後で移設する.
 #include "quest.h" // do_cmd_quest() がある。後で移設する.
 #include "wild.h"
-#include "spells-object.h"
+#include "spell/spells-object.h"
 #include "mind.h" // do_cmd_mind_browse() がある。後で移設する.
-#include "monster-spell.h" // do_cmd_cast_learned() がある。後で移設する.
+#include "spell/monster-spell.h" // do_cmd_cast_learned() がある。後で移設する.
 #include "racial.h" // do_cmd_racial_power() がある。ファイル名変更?.
 #include "view/display-main-window.h"
 #include "knowledge/knowledge-autopick.h"
index 5b7a82c..6c451a9 100644 (file)
@@ -8,7 +8,7 @@
 #include "special-class-dump.h"
 #include "cmd/cmd-magiceat.h"
 #include "object/object-kind.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 
 typedef struct {
        BIT_FLAGS f4;
index 6c0a033..ca4302a 100644 (file)
@@ -60,7 +60,7 @@
 #include "market/store.h"
 #include "artifact.h"
 #include "avatar.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "object/object-hook.h"
 #include "wild.h"
 #include "patron.h"
index 2d2d748..1367f1c 100644 (file)
@@ -46,8 +46,8 @@
 #include "artifact.h"
 #include "cmd-spell.h"
 #include "spell/spells3.h"
-#include "spells-object.h"
-#include "spells-status.h"
+#include "spell/spells-object.h"
+#include "spell/spells-status.h"
 #include "realm/realm-hex.h"
 #include "dungeon/dungeon-file.h"
 
index c55c794..cf5dd4e 100644 (file)
 
 #include "effect/effect-characteristics.h"
 #include "melee.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "avatar.h"
 #include "player/player-move.h"
 #include "player/player-status.h"
 #include "player/player-class.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "cmd-spell.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "feature.h"
 #include "grid.h"
 #include "cmd-basic.h"
index 07eb8f4..c28e388 100644 (file)
 #include "cmd/cmd-pet.h"
 #include "creature.h"
 #include "melee.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "avatar.h"
 #include "realm/realm-hex.h"
 #include "feature.h"
 #include "grid.h"
 #include "player/player-move.h"
 #include "monster/monster-status.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "monster/monster-process.h"
 
 void decide_drop_from_monster(player_type *target_ptr, MONSTER_IDX m_idx, bool is_riding_mon);
index aec36bb..0445137 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "monster/monster-safety-hiding.h"
 #include "monster/monster-dist-offsets.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 
  /*!
   * @brief モンスターが逃げ込める地点を走査する
index 50fa898..93fd018 100644 (file)
 #include "grid.h"
 #include "monster/monster.h"
 #include "monster/monster-status.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "monster/monster-process.h"
 #include "spell/spells2.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "monster/monsterrace-hook.h"
 #include "object/object-curse.h"
 #include "artifact.h"
index 72dbcee..980cbbb 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "monster/monster-sweep-grid.h"
 #include "monster/monster-safety-hiding.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 
  /*!
   * @brief モンスターがプレイヤーから逃走するかどうかを返す /
index 4e50dcf..776c2ec 100644 (file)
@@ -23,9 +23,9 @@
 #include "object/object-kind-hook.h"
 #include "player/player-personality.h"
 #include "monster/monster.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "monster/monsterrace-hook.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "patron.h"
 #include "quest.h"
 #include "artifact.h"
index 5b30087..e45d03a 100644 (file)
@@ -25,7 +25,7 @@
 #include "monster/monster-status.h"
 #include "monster/monster.h"
 #include "spell/spells-type.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "quest.h"
 #include "grid.h"
 #include "player/player-move.h"
@@ -35,7 +35,7 @@
 #include "player/player-personality.h"
 #include "wild.h"
 #include "warning.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "files.h"
 #include "view/display-main-window.h"
 #include "world/world.h"
index 25d8651..0c0d2f0 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "monster/monsterrace-hook.h"
 #include "monster/monster.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "floor/floor.h"
 #include "dungeon/dungeon.h"
 #include "monster/monsterrace.h"
index f9c2284..278f2da 100644 (file)
@@ -1,6 +1,6 @@
 #include "system/angband.h"
 #include "quantum-effect.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "spell/spells3.h"
 
 /*!
index 856ed3a..d23cc81 100644 (file)
@@ -1,7 +1,7 @@
 #include "system/angband.h"
 #include "mutation/mutation-processor.h"
 #include "spell/spells-type.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "market/store-util.h"
 #include "market/store-owners.h"
 #include "player/player-damage.h"
@@ -9,7 +9,7 @@
 #include "player/player-effects.h"
 #include "spell/spells2.h"
 #include "spell/spells3.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "targeting.h"
 #include "market/store.h"
 #include "object/object-hook.h"
index dbbccba..da04901 100644 (file)
 #include "mutation/mutation.h"
 
 #include "selfinfo.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "avatar.h"
 #include "player/player-status.h"
 #include "player/player-effects.h"
 #include "player/player-personality.h"
 #include "player/player-class.h"
 #include "player/player-damage.h"
-#include "spells-status.h"
-#include "spells-floor.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
 #include "object/object-hook.h"
 #include "cmd-basic.h"
 #include "files.h"
index 4b175f8..067733b 100644 (file)
 #include "player/player-damage.h"
 
 #include "spell/spells-type.h"
-#include "spells-summon.h"
-#include "spells-object.h"
-#include "spells-status.h"
-#include "spells-floor.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-object.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
 #include "floor/floor.h"
 #include "spell/spells2.h"
 
index b3116c2..bcd84ba 100644 (file)
@@ -24,7 +24,7 @@
 #include "player/player-effects.h"
 #include "player/player-class.h"
 #include "player/player-race.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "world/world.h"
 #include "view/display-main-window.h"
 #include "quest.h"
index 759031c..53a602b 100644 (file)
 #include "mutation/mutation.h"
 #include "quest.h"
 #include "avatar.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "realm/realm-song.h"
 #include "realm/realm-hex.h"
 #include "object/object-ego.h"
 #include "object/object-hook.h"
 #include "wild.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "player/player-status.h"
 #include "player/player-class.h"
 #include "player/player-move.h"
@@ -47,7 +47,7 @@
 #include "monster/monster-status.h"
 #include "snipe.h"
 #include "files.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "world/world.h"
 #include "object/object-kind.h"
 #include "autopick/autopick-reader-writer.h"
index f33edef..10fc75e 100644 (file)
 #include "player/player-class.h"
 #include "player-inventory.h"
 #include "player/player-personality.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "feature.h"
 #include "warning.h"
 #include "monster/monster.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "monster/monster-status.h"
 #include "object/object-hook.h"
 #include "object/object-flavor.h"
index fa39255..b91b181 100644 (file)
@@ -20,7 +20,7 @@
 #include "artifact.h"
 #include "avatar.h"
 #include "spell/technic-info-table.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "object/object.h"
 #include "object/object-hook.h"
 #include "object/object-ego.h"
index 40ec421..79122fc 100644 (file)
@@ -27,9 +27,9 @@
 #include "player/player-effects.h"
 #include "player/player-status.h"
 #include "player/player-damage.h"
-#include "spells-status.h"
-#include "spells-object.h"
-#include "spells-floor.h"
+#include "spell/spells-status.h"
+#include "spell/spells-object.h"
+#include "spell/spells-floor.h"
 #include "cmd-spell.h"
 #include "realm/realm-hex.h"
 #include "targeting.h"
index 0cabde6..de30ccd 100644 (file)
@@ -6,11 +6,11 @@
 
 #include "spell/spells2.h"
 #include "spell/spells3.h"
-#include "spells-floor.h"
-#include "spells-object.h"
-#include "spells-summon.h"
-#include "spells-status.h"
-#include "spells-diceroll.h"
+#include "spell/spells-floor.h"
+#include "spell/spells-object.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
+#include "spell/spells-diceroll.h"
 #include "player/player-status.h"
 #include "player/player-effects.h"
 #include "targeting.h"
index 93342f6..581628c 100644 (file)
@@ -4,11 +4,11 @@
 #include "cmd-spell.h"
 #include "player/player-class.h"
 #include "player/player-effects.h"
-#include "spells-summon.h"
-#include "spells-status.h"
-#include "spells-floor.h"
-#include "spells-object.h"
-#include "spells-diceroll.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
+#include "spell/spells-object.h"
+#include "spell/spells-diceroll.h"
 #include "targeting.h"
 #include "view/display-main-window.h"
 #include "realm/realm-chaos.h"
index 8fac092..343b57f 100644 (file)
@@ -4,9 +4,9 @@
 #include "cmd-spell.h"
 #include "selfinfo.h"
 #include "spell/spells1.h"
-#include "spells-object.h"
-#include "spells-summon.h"
-#include "spells-status.h"
+#include "spell/spells-object.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
 #include "mutation/mutation.h"
 #include "player/player-status.h"
 #include "player/player-effects.h"
index 3b4967f..26b9b43 100644 (file)
@@ -5,11 +5,11 @@
 #include "cmd-spell.h"
 #include "effect/effect-characteristics.h"
 #include "spell/spells-type.h"
-#include "spells-object.h"
-#include "spells-summon.h"
-#include "spells-status.h"
-#include "spells-floor.h"
-#include "spells-diceroll.h"
+#include "spell/spells-object.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
+#include "spell/spells-diceroll.h"
 #include "player/player-class.h"
 #include "player/player-effects.h"
 #include "targeting.h"
index 652059d..2ec2dd1 100644 (file)
@@ -4,11 +4,11 @@
 #include "player/player-class.h"
 #include "cmd-spell.h"
 #include "spell/spells-type.h"
-#include "spells-summon.h"
-#include "spells-floor.h"
-#include "spells-status.h"
-#include "spells-object.h"
-#include "spells-diceroll.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-floor.h"
+#include "spell/spells-status.h"
+#include "spell/spells-object.h"
+#include "spell/spells-diceroll.h"
 #include "player/player-effects.h"
 #include "player/player-race.h"
 #include "player/player-damage.h"
index e7a0e5e..7663dd2 100644 (file)
@@ -1,10 +1,10 @@
 #include "system/angband.h"
 #include "cmd-spell.h"
 #include "spell/spells-type.h"
-#include "spells-summon.h"
-#include "spells-status.h"
-#include "spells-object.h"
-#include "spells-diceroll.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
+#include "spell/spells-object.h"
+#include "spell/spells-diceroll.h"
 #include "avatar.h"
 #include "player/player-status.h"
 #include "player/player-effects.h"
index 4651bcb..3ea8eec 100644 (file)
@@ -24,7 +24,7 @@
 #include "object/object-flavor.h"
 #include "object/object-hook.h"
 #include "object/object-curse.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "spell/technic-info-table.h"
 #include "player/player-status.h"
 #include "player/player-effects.h"
index 90edb24..0225912 100644 (file)
@@ -19,7 +19,7 @@
 #include "grid.h"
 #include "targeting.h"
 #include "view/display-main-window.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "world/world.h"
 #include "effect/spells-effect-util.h"
 #include "spell/spells-util.h"
index e9dd73d..b2a7e30 100644 (file)
@@ -1,7 +1,7 @@
 #include "system/angband.h"
 #include "cmd-spell.h"
-#include "spells-status.h"
-#include "spells-floor.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
 #include "spell/spells2.h"
 #include "spell/spells3.h"
 #include "player/player-status.h"
index 5a11c06..e6c9a68 100644 (file)
@@ -2,12 +2,12 @@
 #include "util.h"
 
 #include "cmd-spell.h"
-#include "spells-summon.h"
-#include "spells-status.h"
-#include "spells-object.h"
-#include "spells-diceroll.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
+#include "spell/spells-object.h"
+#include "spell/spells-diceroll.h"
 #include "avatar.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "player/player-race.h"
 #include "player/player-effects.h"
 #include "player/player-damage.h"
index a9382aa..18cbd35 100644 (file)
@@ -3,8 +3,8 @@
 
 #include "cmd-spell.h"
 #include "spell/spells-type.h"
-#include "spells-status.h"
-#include "spells-floor.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
 #include "player/player-class.h"
 #include "player/player-effects.h"
 #include "targeting.h"
index 2b1e116..e7fcd55 100644 (file)
@@ -6,8 +6,8 @@
 #include "avatar.h"
 
 #include "spell/spells-type.h"
-#include "spells-status.h"
-#include "spells-floor.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
 #include "player/player-effects.h"
 #include "targeting.h"
 #include "realm/realm-sorcery.h"
index 3c6da86..741a5ce 100644 (file)
@@ -3,9 +3,9 @@
 
 #include "cmd-spell.h"
 #include "mutation/mutation.h"
-#include "spells-summon.h"
-#include "spells-status.h"
-#include "spells-object.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
+#include "spell/spells-object.h"
 #include "player/player-effects.h"
 #include "player/player-class.h"
 #include "targeting.h"
similarity index 99%
rename from src/mspells1.c
rename to src/spell/mspells1.c
index b00c4ed..fa7ed39 100644 (file)
@@ -50,7 +50,7 @@
 #include "player/player-move.h"
 #include "player/player-status.h"
 #include "monster/monster.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "spell/spells-type.h"
 #include "world/world.h"
 #include "realm/realm-song.h"
similarity index 99%
rename from src/mspells2.c
rename to src/spell/mspells2.c
index abed7a2..9717274 100644 (file)
@@ -24,7 +24,7 @@
 #include "player/player-class.h"
 #include "monster/monster.h"
 #include "monster/monster-status.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "spell/spells-type.h"
 #include "dungeon/dungeon.h"
 #include "world/world.h"
similarity index 99%
rename from src/mspells3.c
rename to src/spell/mspells3.c
index 34e32c9..80025af 100644 (file)
@@ -22,7 +22,7 @@
 #include "spells-status.h"
 #include "cmd-spell.h"
 #include "player/player-status.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "monster/monster-status.h"
 #include "spell/spells-type.h"
 #include "cmd-basic.h"
similarity index 99%
rename from src/mspells4.c
rename to src/spell/mspells4.c
index b5941d5..6316636 100644 (file)
@@ -19,7 +19,7 @@
 #include "player/player-damage.h"
 #include "realm/realm-hex.h"
 #include "player/player-move.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "monster/monster-status.h"
 #include "spell/spells-type.h"
 #include "melee.h"
similarity index 98%
rename from src/spells-diceroll.c
rename to src/spell/spells-diceroll.c
index f563edf..43573c6 100644 (file)
@@ -1,6 +1,6 @@
 #include "system/angband.h"
 
-#include "spells-diceroll.h"
+#include "spell/spells-diceroll.h"
 
 #include "monster/monster.h"
 #include "monster/monsterrace-hook.h"
similarity index 99%
rename from src/spells-floor.c
rename to src/spell/spells-floor.c
index f21bd82..b40d53e 100644 (file)
@@ -25,7 +25,7 @@
 #include "monster/monster-status.h"
 
 #include "spell/spells3.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 
 /*
  * Light up the dungeon using "clairvoyance"
similarity index 100%
rename from src/spells-floor.h
rename to src/spell/spells-floor.h
similarity index 99%
rename from src/spells-object.c
rename to src/spell/spells-object.c
index f4af8f9..7af3f30 100644 (file)
@@ -7,7 +7,7 @@
 #include "floor/floor.h"
 #include "grid.h"
 #include "spell/spells3.h"
-#include "spells-object.h"
+#include "spell/spells-object.h"
 #include "object/object-boost.h"
 #include "object/object-hook.h"
 #include "object/object-flavor.h"
similarity index 99%
rename from src/spells-status.c
rename to src/spell/spells-status.c
index 1ff0a0e..dfe0ed7 100644 (file)
@@ -8,7 +8,7 @@
 #include "object/object-flavor.h"
 #include "player/player-status.h"
 #include "player/player-class.h"
-#include "spells-status.h"
+#include "spell/spells-status.h"
 #include "spell/spells-type.h"
 #include "monster/monster.h"
 #include "cmd-spell.h"
similarity index 99%
rename from src/spells-summon.c
rename to src/spell/spells-summon.c
index ec11267..4e5ef92 100644 (file)
@@ -1,7 +1,7 @@
 #include "system/angband.h"
 #include "util.h"
 
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "player-inventory.h"
 #include "monster/monster-status.h"
 #include "floor/floor.h"
similarity index 95%
rename from src/spells-world.c
rename to src/spell/spells-world.c
index 8f8792a..401cde4 100644 (file)
@@ -1,4 +1,5 @@
 #include "system/angband.h"
+#include "spell/spells-world.h"
 #include "util.h"
 #include "world/world.h"
 
similarity index 100%
rename from src/spells-world.h
rename to src/spell/spells-world.h
index fa62043..146c464 100644 (file)
 #include "world/world.h"
 #include "spell/spells2.h"
 #include "spell/spells3.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "mutation/mutation.h"
 #include "quest.h"
 #include "avatar.h"
 
-#include "spells-status.h"
-#include "spells-floor.h"
-#include "spells-diceroll.h"
+#include "spell/spells-status.h"
+#include "spell/spells-floor.h"
+#include "spell/spells-diceroll.h"
 #include "realm/realm-hex.h"
 #include "autopick/autopick.h"
 #include "object/object-flavor.h"
index 0df5309..88fa966 100644 (file)
 #include "player/player-class.h"
 #include "player/player-damage.h"
 #include "player-inventory.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "quest.h"
 #include "artifact.h"
 #include "avatar.h"
 #include "spell/spells2.h"
 #include "spell/spells3.h"
-#include "spells-floor.h"
+#include "spell/spells-floor.h"
 #include "spell/technic-info-table.h"
 #include "grid.h"
 #include "market/building-util.h"
 #include "monster/monster-process.h"
 #include "monster/monster-status.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "io/write-diary.h"
 #include "cmd/cmd-save.h"
 #include "cmd/cmd-spell.h"
index 06c8217..c0b68d2 100644 (file)
@@ -26,7 +26,7 @@
 #include "monster/monsterrace-hook.h"
 #include "object/object-kind-hook.h"
 #include "sort.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "grid.h"
 #include "floor/floor.h"
 #include "floor/floor-events.h"
index 34febfc..3157f95 100644 (file)
@@ -11,7 +11,7 @@
 #include "player/player-effects.h"
 #include "player/player-class.h"
 #include "player/player-personality.h"
-#include "spells-summon.h"
+#include "spell/spells-summon.h"
 #include "quest.h"
 #include "artifact.h"
 #include "feature.h"
index 4fbb339..c1bf5ac 100644 (file)
@@ -9,7 +9,7 @@
 #include "warning.h"
 #include "player/player-status.h"
 #include "monster/monster.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "spell/spells-type.h"
 #include "object/object-flavor.h"
 #include "dungeon/dungeon.h"
index cd2629a..9712bd9 100644 (file)
 #include "player-inventory.h"
 
 #include "spell/spells-util.h"
-#include "spells-object.h"
-#include "spells-summon.h"
-#include "spells-status.h"
-#include "spells-world.h"
-#include "spells-floor.h"
+#include "spell/spells-object.h"
+#include "spell/spells-summon.h"
+#include "spell/spells-status.h"
+#include "spell/spells-world.h"
+#include "spell/spells-floor.h"
 
 #include "object/object-flavor.h"
 #include "object/object-hook.h"
@@ -52,7 +52,7 @@
 #include "grid.h"
 #include "dungeon/dungeon-file.h"
 #include "files.h"
-#include "monster-spell.h"
+#include "spell/monster-spell.h"
 #include "market/building.h"
 #include "object/object-kind.h"
 #include "targeting.h"