OSDN Git Service

[WIP] [Refactor] #40414 Moved concrete spell kinds file (spell-*.c/h) from spell...
authorHourier <hourier@users.sourceforge.jp>
Fri, 5 Jun 2020 10:33:21 +0000 (19:33 +0900)
committerHourier <hourier@users.sourceforge.jp>
Fri, 5 Jun 2020 10:33:25 +0000 (19:33 +0900)
27 files changed:
Hengband/Hengband/Hengband.vcxproj
Hengband/Hengband/Hengband.vcxproj.filters
src/Makefile.am
src/spell-kind/spells-beam.c [moved from src/spell/spells-beam.c with 100% similarity]
src/spell-kind/spells-beam.h [moved from src/spell/spells-beam.h with 100% similarity]
src/spell-kind/spells-detection.c [moved from src/spell/spells-detection.c with 100% similarity]
src/spell-kind/spells-detection.h [moved from src/spell/spells-detection.h with 100% similarity]
src/spell-kind/spells-floor.c [moved from src/spell/spells-floor.c with 100% similarity]
src/spell-kind/spells-floor.h [moved from src/spell/spells-floor.h with 100% similarity]
src/spell-kind/spells-genocide.c [moved from src/spell/spells-genocide.c with 100% similarity]
src/spell-kind/spells-genocide.h [moved from src/spell/spells-genocide.h with 100% similarity]
src/spell-kind/spells-launcher.c [moved from src/spell/spells-launcher.c with 100% similarity]
src/spell-kind/spells-launcher.h [moved from src/spell/spells-launcher.h with 100% similarity]
src/spell-kind/spells-lite.c [moved from src/spell/spells-lite.c with 100% similarity]
src/spell-kind/spells-lite.h [moved from src/spell/spells-lite.h with 100% similarity]
src/spell-kind/spells-neighbor.c [moved from src/spell/spells-neighbor.c with 100% similarity]
src/spell-kind/spells-neighbor.h [moved from src/spell/spells-neighbor.h with 100% similarity]
src/spell-kind/spells-pet.c [moved from src/spell/spells-pet.c with 100% similarity]
src/spell-kind/spells-pet.h [moved from src/spell/spells-pet.h with 100% similarity]
src/spell-kind/spells-sight.c [moved from src/spell/spells-sight.c with 100% similarity]
src/spell-kind/spells-sight.h [moved from src/spell/spells-sight.h with 100% similarity]
src/spell-kind/spells-specific-bolt.c [moved from src/spell/spells-specific-bolt.c with 100% similarity]
src/spell-kind/spells-specific-bolt.h [moved from src/spell/spells-specific-bolt.h with 100% similarity]
src/spell-kind/spells-teleport.c [moved from src/spell/spells-teleport.c with 100% similarity]
src/spell-kind/spells-teleport.h [moved from src/spell/spells-teleport.h with 100% similarity]
src/spell-kind/spells-world.c [moved from src/spell/spells-world.c with 100% similarity]
src/spell-kind/spells-world.h [moved from src/spell/spells-world.h with 100% similarity]

index edb0bec..d8c6d16 100644 (file)
     <ClCompile Include="..\..\src\mspell\mspell-summon.c" />\r
     <ClCompile Include="..\..\src\mspell\mspell-util.c" />\r
     <ClCompile Include="..\..\src\mspell\mspell-ball.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-beam.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-beam.c" />\r
     <ClCompile Include="..\..\src\spell\spells-describer.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-detection.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-genocide.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-detection.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-genocide.c" />\r
     <ClCompile Include="..\..\src\spell\spells-hex.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-launcher.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-lite.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-neighbor.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-pet.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-sight.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-specific-bolt.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-launcher.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-lite.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-neighbor.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-pet.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-sight.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-specific-bolt.c" />\r
     <ClCompile Include="..\..\src\spell\spells-staff-only.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-teleport.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\spells-teleport.c" />\r
     <ClCompile Include="..\..\src\system\system-variables.c" />\r
     <ClCompile Include="..\..\src\core\show-file.c" />\r
     <ClCompile Include="..\..\src\monster\creature.c" />\r
     <ClInclude Include="..\..\src\object-enchant\special-object-flags.h" />\r
     <ClInclude Include="..\..\src\realm\realm-hex-numbers.h" />\r
     <ClInclude Include="..\..\src\realm\realm-song-numbers.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-beam.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-beam.h" />\r
     <ClInclude Include="..\..\src\spell\spells-describer.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-genocide.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-genocide.h" />\r
     <ClInclude Include="..\..\src\spell\spells-hex.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-launcher.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-lite.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-neighbor.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-pet.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-sight.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-specific-bolt.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-launcher.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-lite.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-neighbor.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-pet.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-sight.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-specific-bolt.h" />\r
     <ClInclude Include="..\..\src\spell\spells-staff-only.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-teleport.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-teleport.h" />\r
     <ClInclude Include="..\..\src\sv-definition\sv-amulet-types.h" />\r
     <ClInclude Include="..\..\src\sv-definition\sv-armor-types.h" />\r
     <ClInclude Include="..\..\src\sv-definition\sv-bow-types.h" />\r
     <ClInclude Include="..\..\src\player\player-personalities-table.h" />\r
     <ClInclude Include="..\..\src\player\player-races-table.h" />\r
     <ClInclude Include="..\..\src\player\player-classes-table.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-detection.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-detection.h" />\r
     <ClInclude Include="..\..\src\system\angband-version.h" />\r
     <ClInclude Include="..\..\src\core\turn-compensator.h" />\r
     <ClInclude Include="..\..\src\effect\effect-characteristics.h" />\r
     <ClCompile Include="..\..\src\combat\snipe.c" />\r
     <ClCompile Include="..\..\src\core\sort.c" />\r
     <ClCompile Include="..\..\src\spell\spells-diceroll.c" />\r
-    <ClCompile Include="..\..\src\spell\spells-floor.c" />\r
+    <ClCompile Include="..\..\src\spell-kind\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-kind\spells-world.c" />\r
     <ClCompile Include="..\..\src\spell\range-calc.c" />\r
     <ClCompile Include="..\..\src\spell\spells2.c" />\r
     <ClCompile Include="..\..\src\spell\spells3.c" />\r
     <ClInclude Include="..\..\src\combat\snipe.h" />\r
     <ClInclude Include="..\..\src\core\sort.h" />\r
     <ClInclude Include="..\..\src\spell\spells-diceroll.h" />\r
-    <ClInclude Include="..\..\src\spell\spells-floor.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\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\spell\spells-world.h" />\r
+    <ClInclude Include="..\..\src\spell-kind\spells-world.h" />\r
     <ClInclude Include="..\..\src\spell\range-calc.h" />\r
     <ClInclude Include="..\..\src\store\store.h" />\r
     <ClInclude Include="..\..\src\io\targeting.h" />\r
index d0c94f8..fdf0da6 100644 (file)
     <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-summon.c">
       <Filter>spell</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-world.c">
-      <Filter>spell</Filter>
-    </ClCompile>
     <ClCompile Include="..\..\src\locale\english.c">
       <Filter>locale</Filter>
     </ClCompile>
     <ClCompile Include="..\..\src\core\sort.c">
       <Filter>core</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-detection.c">
-      <Filter>spell</Filter>
-    </ClCompile>
     <ClCompile Include="..\..\src\mind\racial-samurai.c">
       <Filter>mind</Filter>
     </ClCompile>
     <ClCompile Include="..\..\src\mind\racial-ninja.c">
       <Filter>mind</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-teleport.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-launcher.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-sight.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-genocide.c">
-      <Filter>spell</Filter>
-    </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-lite.c">
-      <Filter>spell</Filter>
-    </ClCompile>
     <ClCompile Include="..\..\src\mind\racial-draconian.c">
       <Filter>mind</Filter>
     </ClCompile>
     <ClCompile Include="..\..\src\spell\spells-staff-only.c">
       <Filter>spell</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-pet.c">
-      <Filter>spell</Filter>
+    <ClCompile Include="..\..\src\spell-kind\spells-beam.c">
+      <Filter>spell-kind</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-beam.c">
-      <Filter>spell</Filter>
+    <ClCompile Include="..\..\src\spell-kind\spells-detection.c">
+      <Filter>spell-kind</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-neighbor.c">
-      <Filter>spell</Filter>
+    <ClCompile Include="..\..\src\spell-kind\spells-floor.c">
+      <Filter>spell-kind</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\src\spell\spells-specific-bolt.c">
-      <Filter>spell</Filter>
+    <ClCompile Include="..\..\src\spell-kind\spells-genocide.c">
+      <Filter>spell-kind</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell-kind\spells-launcher.c">
+      <Filter>spell-kind</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell-kind\spells-lite.c">
+      <Filter>spell-kind</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell-kind\spells-neighbor.c">
+      <Filter>spell-kind</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell-kind\spells-pet.c">
+      <Filter>spell-kind</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell-kind\spells-sight.c">
+      <Filter>spell-kind</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell-kind\spells-specific-bolt.c">
+      <Filter>spell-kind</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell-kind\spells-teleport.c">
+      <Filter>spell-kind</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\src\spell-kind\spells-world.c">
+      <Filter>spell-kind</Filter>
     </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <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-summon.h">
       <Filter>spell</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-world.h">
-      <Filter>spell</Filter>
-    </ClInclude>
     <ClInclude Include="..\src\locele\japanese.h">
       <Filter>locale</Filter>
     </ClInclude>
     <ClInclude Include="..\..\src\core\sort.h">
       <Filter>core</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-detection.h">
-      <Filter>spell</Filter>
-    </ClInclude>
     <ClInclude Include="..\..\src\mind\racial-samurai.h">
       <Filter>mind</Filter>
     </ClInclude>
     <ClInclude Include="..\..\src\mind\racial-ninja.h">
       <Filter>mind</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-teleport.h">
-      <Filter>spell</Filter>
-    </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-launcher.h">
-      <Filter>spell</Filter>
-    </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-sight.h">
-      <Filter>spell</Filter>
-    </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-genocide.h">
-      <Filter>spell</Filter>
-    </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-lite.h">
-      <Filter>spell</Filter>
-    </ClInclude>
     <ClInclude Include="..\..\src\mind\racial-draconian.h">
       <Filter>mind</Filter>
     </ClInclude>
     <ClInclude Include="..\..\src\spell\spells-staff-only.h">
       <Filter>spell</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-pet.h">
-      <Filter>spell</Filter>
+    <ClInclude Include="..\..\src\spell-kind\spells-beam.h">
+      <Filter>spell-kind</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-beam.h">
-      <Filter>spell</Filter>
+    <ClInclude Include="..\..\src\spell-kind\spells-detection.h">
+      <Filter>spell-kind</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-neighbor.h">
-      <Filter>spell</Filter>
+    <ClInclude Include="..\..\src\spell-kind\spells-floor.h">
+      <Filter>spell-kind</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\src\spell\spells-specific-bolt.h">
-      <Filter>spell</Filter>
+    <ClInclude Include="..\..\src\spell-kind\spells-genocide.h">
+      <Filter>spell-kind</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell-kind\spells-launcher.h">
+      <Filter>spell-kind</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell-kind\spells-lite.h">
+      <Filter>spell-kind</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell-kind\spells-neighbor.h">
+      <Filter>spell-kind</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell-kind\spells-pet.h">
+      <Filter>spell-kind</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell-kind\spells-sight.h">
+      <Filter>spell-kind</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell-kind\spells-specific-bolt.h">
+      <Filter>spell-kind</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell-kind\spells-teleport.h">
+      <Filter>spell-kind</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\src\spell-kind\spells-world.h">
+      <Filter>spell-kind</Filter>
     </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <Filter Include="specific-object">
       <UniqueIdentifier>{d12d97f4-76e6-4f8e-9f45-9905cf3863f9}</UniqueIdentifier>
     </Filter>
+    <Filter Include="spell-kind">
+      <UniqueIdentifier>{2ed79129-9b65-4718-b9c4-ce4ef793c81f}</UniqueIdentifier>
+    </Filter>
   </ItemGroup>
   <ItemGroup>
     <ResourceCompile Include="..\..\src\angband.rc" />
index 32dacc5..debd131 100644 (file)
@@ -390,29 +390,30 @@ hengband_SOURCES = \
        spell/range-calc.c spell/range-calc.h \
        spell/spells2.c spell/spells2.h \
        spell/spells3.c spell/spells3.h \
-       spell/spells-beam.c spell/spells-beam.h \
        spell/spells-describer.c spell/spells-describer.h \
-       spell/spells-detection.c spell/spells-detection.h \
        spell/spells-diceroll.c spell/spells-diceroll.h \
        spell/spells-execution.c spell/spells-execution.h \
-       spell/spells-floor.c spell/spells-floor.h \
-       spell/spells-genocide.c spell/spells-genocide.h \
        spell/spells-hex.c spell/spells-hex.h \
-       spell/spells-launcher.c spell/spells-launcher.h \
-       spell/spells-lite.c spell/spells-lite.h \
-       spell/spells-neighbor.c spell/spells-neighbor.h \
        spell/spells-object.c spell/spells-object.h \
-       spell/spells-pet.c spell/spells-pet.h \
-       spell/spells-sight.c spell/spells-sight.h \
-       spell/spells-specific-bolt.c spell/spells-specific-bolt.h \
        spell/spells-summon.c spell/spells-summon.h \
        spell/spells-staff-only.c spell/spells-staff-only.h \
        spell/spells-status.c spell/spells-status.h \
-       spell/spells-teleport.c spell/spells-teleport.h \
        spell/spells-util.h spell/spells-type.h \
-       spell/spells-world.c spell/spells-world.h \
        spell/technic-info-table.c spell/technic-info-table.h \
        \
+       spell-kind/spells-beam.c spell-kind/spells-beam.h \
+       spell-kind/spells-detection.c spell-kind/spells-detection.h \
+       spell-kind/spells-floor.c spell-kind/spells-floor.h \
+       spell-kind/spells-genocide.c spell-kind/spells-genocide.h \
+       spell-kind/spells-launcher.c spell-kind/spells-launcher.h \
+       spell-kind/spells-lite.c spell-kind/spells-lite.h \
+       spell-kind/spells-neighbor.c spell-kind/spells-neighbor.h \
+       spell-kind/spells-pet.c spell-kind/spells-pet.h \
+       spell-kind/spells-sight.c spell-kind/spells-sight.h \
+       spell-kind/spells-specific-bolt.c spell-kind/spells-specific-bolt.h \
+       spell-kind/spells-teleport.c spell-kind/spells-teleport.h \
+       spell-kind/spells-world.c spell-kind/spells-world.h \
+       \
        store/store.c store/store.h \
        store/black-market.c store/black-market.h \
        store/rumor.c store/rumor.h \