OSDN Git Service

[Refactor] #40416 Moved pet-fall-off.c/h from monster/ to pet/
authorHourier <hourier@users.sourceforge.jp>
Sun, 31 May 2020 12:46:45 +0000 (21:46 +0900)
committerHourier <hourier@users.sourceforge.jp>
Sun, 31 May 2020 12:46:45 +0000 (21:46 +0900)
14 files changed:
Hengband/Hengband/Hengband.vcxproj
Hengband/Hengband/Hengband.vcxproj.filters
src/Makefile.am
src/combat/melee-postprocess.c
src/combat/monster-attack-player.c
src/effect/effect-monster-domination.c
src/monster/monster-process.c
src/monster/monster-runaway.c
src/monster/monster1.c
src/monster/monster2.c
src/pet/pet-fall-off.c [moved from src/monster/pet-fall-off.c with 99% similarity]
src/pet/pet-fall-off.h [moved from src/monster/pet-fall-off.h with 100% similarity]
src/spell/process-effect.c
src/spell/spells2.c

index f76c457..f42ebfc 100644 (file)
     <ClCompile Include="..\..\src\mind\racial-samurai.c" />\r
     <ClCompile Include="..\..\src\mind\samurai-slaying.c" />\r
     <ClCompile Include="..\..\src\mind\surprise-attack.c" />\r
-    <ClCompile Include="..\..\src\monster\pet-fall-off.c" />\r
+    <ClCompile Include="..\..\src\pet\pet-fall-off.c" />\r
     <ClCompile Include="..\..\src\mspell\mspell-floor.c" />\r
     <ClCompile Include="..\..\src\mspell\mspell-particularity.c" />\r
     <ClCompile Include="..\..\src\mspell\mspell-special.c" />\r
     <ClInclude Include="..\..\src\mind\racial-samurai.h" />\r
     <ClInclude Include="..\..\src\mind\samurai-slaying.h" />\r
     <ClInclude Include="..\..\src\mind\surprise-attack.h" />\r
-    <ClInclude Include="..\..\src\monster\pet-fall-off.h" />\r
+    <ClInclude Include="..\..\src\pet\pet-fall-off.h" />\r
     <ClInclude Include="..\..\src\pet\pet-util.h" />\r
     <ClInclude Include="..\..\src\mspell\assign-monster-spell.h" />\r
     <ClInclude Include="..\..\src\mspell\mspell-floor.h" />\r
index 158e7cd..90964a6 100644 (file)
     <ClCompile Include="..\..\src\combat\aura-counterattack.c">
       <Filter>combat</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\src\monster\pet-fall-off.c">
-      <Filter>monster</Filter>
+    <ClCompile Include="..\..\src\pet\pet-fall-off.c">
+      <Filter>pet</Filter>
     </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\..\src\combat\aura-counterattack.h">
       <Filter>combat</Filter>
     </ClInclude>
-    <ClInclude Include="..\..\src\monster\pet-fall-off.h">
-      <Filter>monster</Filter>
-    </ClInclude>
     <ClInclude Include="..\..\src\pet\pet-util.h">
       <Filter>pet</Filter>
     </ClInclude>
+    <ClInclude Include="..\..\src\pet\pet-fall-off.h">
+      <Filter>pet</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <None Include="..\..\src\wall.bmp" />
index ee32b8e..5ce35c3 100644 (file)
@@ -186,8 +186,8 @@ hengband_SOURCES = \
        monster/monster-status.c monster/monster-status.h \
        monster/monster1.c monster/monster2.c \
        monster/horror-descriptions.c monster/horror-descriptions.h \
-       monster/pet-fall-off.c monster/pet-fall-off.h \
        \
+       pet/pet-fall-off.c pet/pet-fall-off.h \
        pet/pet-util.h \
        \
        mutation/mutation.c mutation/mutation.h \
index c0af6a8..3ab8749 100644 (file)
@@ -17,7 +17,7 @@
 #include "monster/monster-race-hook.h"
 #include "monster/monster-status.h"
 #include "monster/monster.h"
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "mspell/monster-spell.h"
 #include "player/player-class.h"
 #include "player/player-move.h"
index db7198c..2310334 100644 (file)
@@ -21,7 +21,7 @@
 #include "main/sound-definitions-table.h"
 #include "mind/racial-samurai.h"
 #include "monster/monster-status.h"
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "object/object-hook.h"
 #include "player/player-damage.h"
 #include "player/player-effects.h"
index d5878a5..7eba63e 100644 (file)
@@ -4,7 +4,7 @@
 #include "floor/floor.h"
 #include "monster/monster-race-hook.h"
 #include "monster/monster-status.h"
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "object/trc-types.h"
 #include "player/player-effects.h"
 #include "spell/spells-diceroll.h"
index 8f0b163..2329f7e 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "io/write-diary.h"
 #include "cmd/cmd-dump.h"
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "monster/creature.h"
 #include "combat/melee-postprocess.h"
 #include "spell/spells-summon.h"
index 9b68889..6ca9f88 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "monster/monster-runaway.h"
 #include "dungeon/quest.h"
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "player/player-move.h"
 
  /*!
index 8da4a4b..27d3983 100644 (file)
@@ -18,7 +18,7 @@
 #include "io/write-diary.h"
 #include "cmd/cmd-dump.h"
 #include "cmd/cmd-building.h"
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "effect/effect-characteristics.h"
 #include "object/object-kind-hook.h"
 #include "player/player-personalities-table.h"
index 5e39128..c042e66 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "io/write-diary.h"
 #include "cmd/cmd-dump.h"
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "dungeon/dungeon.h"
 #include "effect/effect-characteristics.h"
 #include "object/object2.h"
similarity index 99%
rename from src/monster/pet-fall-off.c
rename to src/pet/pet-fall-off.c
index ab163fb..37e32a9 100644 (file)
@@ -1,4 +1,4 @@
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "cmd/cmd-pet.h" // 暫定、player_can_ride_aux() を移動する
 #include "core/stuff-handler.h"
 #include "floor/floor.h"
index 90c9234..2820a67 100644 (file)
@@ -2,7 +2,7 @@
 #include "effect/spells-effect-util.h"
 #include "spell/process-effect.h"
 #include "floor/floor.h"
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "core/stuff-handler.h"
 #include "effect/effect-feature.h"
 #include "effect/effect-item.h"
index 149b287..1de5b9f 100644 (file)
@@ -23,7 +23,7 @@
 #include "io/write-diary.h"
 #include "cmd/cmd-pet.h"
 #include "pet/pet-util.h"
-#include "monster/pet-fall-off.h"
+#include "pet/pet-fall-off.h"
 #include "cmd/cmd-dump.h"
 #include "effect/effect-characteristics.h"
 #include "grid/grid.h"