From: Hourier Date: Sat, 9 May 2020 07:40:00 +0000 (+0900) Subject: [Refactor] #39970 Moved mutation.c/h to mutation/ X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=65cd709c999f10f0f25040fa55f30ab5b80e244e [Refactor] #39970 Moved mutation.c/h to mutation/ --- diff --git a/Hengband/Hengband/Hengband.vcxproj b/Hengband/Hengband/Hengband.vcxproj index 3e6993e48..203f26444 100644 --- a/Hengband/Hengband/Hengband.vcxproj +++ b/Hengband/Hengband/Hengband.vcxproj @@ -436,7 +436,7 @@ - + @@ -625,7 +625,7 @@ - + diff --git a/Hengband/Hengband/Hengband.vcxproj.filters b/Hengband/Hengband/Hengband.vcxproj.filters index ce43dcad8..250adc674 100644 --- a/Hengband/Hengband/Hengband.vcxproj.filters +++ b/Hengband/Hengband/Hengband.vcxproj.filters @@ -72,9 +72,6 @@ object - - player - player @@ -787,6 +784,9 @@ core + + mutation + @@ -857,9 +857,6 @@ object - - player - player @@ -1601,6 +1598,9 @@ core + + mutation + @@ -1670,6 +1670,9 @@ {060db85f-39b1-48fd-8b5f-7409eb6209b2} + + {0e652835-2887-4970-9fa2-4ba77974e921} + diff --git a/src/Makefile.am b/src/Makefile.am index ac2ada9c4..05d9fad46 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -128,7 +128,7 @@ hengband_SOURCES = \ monster-status.c monster-status.h monster1.c monster2.c \ mspells1.c mspells2.c mspells3.c mspells4.c monster-spell.h \ \ - mutation.h mutation.c \ + mutation/mutation.c mutation/mutation.h \ \ object-boost.c object-boost.h \ object-curse.c object-curse.h object-broken.c object-broken.h \ diff --git a/src/cmd/cmd-quaff.c b/src/cmd/cmd-quaff.c index 80b23dca7..fdb352932 100644 --- a/src/cmd/cmd-quaff.c +++ b/src/cmd/cmd-quaff.c @@ -13,7 +13,7 @@ #include "birth/birth.h" #include "selfinfo.h" #include "object-hook.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "avatar.h" #include "spell/spells2.h" #include "spell/spells3.h" diff --git a/src/core.c b/src/core.c index 56b09c683..350475916 100644 --- a/src/core.c +++ b/src/core.c @@ -71,7 +71,7 @@ #include "monster-spell.h" #include "mind.h" #include "world.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "market/arena-info-table.h" #include "market/store-util.h" #include "quest.h" diff --git a/src/effect/effect-player-resist-hurt.c b/src/effect/effect-player-resist-hurt.c index 095d15205..682e6d6d6 100644 --- a/src/effect/effect-player-resist-hurt.c +++ b/src/effect/effect-player-resist-hurt.c @@ -6,7 +6,7 @@ #include "object-broken.h" #include "artifact.h" #include "player-effects.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "monster-spell.h" #include "spells-status.h" #include "spell/spells3.h" diff --git a/src/load.c b/src/load.c index 86a8c66db..a9126111f 100644 --- a/src/load.c +++ b/src/load.c @@ -53,7 +53,7 @@ #include "feature.h" #include "floor-generate.h" #include "trap.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "monster.h" #include "market/store-util.h" #include "quest.h" diff --git a/src/market/building.c b/src/market/building.c index ecc1b6b0d..c061e0f93 100644 --- a/src/market/building.c +++ b/src/market/building.c @@ -41,7 +41,7 @@ #include "avatar.h" #include "market/building.h" #include "dungeon.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "quest.h" #include "artifact.h" #include "cmd-spell.h" diff --git a/src/mutation.c b/src/mutation/mutation.c similarity index 99% rename from src/mutation.c rename to src/mutation/mutation.c index 0aa962e18..a1b51a9d9 100644 --- a/src/mutation.c +++ b/src/mutation/mutation.c @@ -18,7 +18,7 @@ #include "io/write-diary.h" #include "cmd/cmd-dump.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "selfinfo.h" #include "spells-summon.h" diff --git a/src/mutation.h b/src/mutation/mutation.h similarity index 100% rename from src/mutation.h rename to src/mutation/mutation.h diff --git a/src/patron.c b/src/patron.c index a6bbb59a0..c41170777 100644 --- a/src/patron.c +++ b/src/patron.c @@ -10,7 +10,7 @@ #include "object-flavor.h" #include "monsterrace-hook.h" #include "object/object-kind-hook.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "artifact.h" #include "player-status.h" #include "player-effects.h" diff --git a/src/player-effects.c b/src/player-effects.c index 3bec050f0..22290d346 100644 --- a/src/player-effects.c +++ b/src/player-effects.c @@ -25,7 +25,7 @@ #include "market/building.h" #include "birth/birth.h" #include "grid.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "quest.h" #include "avatar.h" #include "spells-status.h" diff --git a/src/player-status.c b/src/player-status.c index 40d7e1b8e..73849414c 100644 --- a/src/player-status.c +++ b/src/player-status.c @@ -27,7 +27,7 @@ #include "monster.h" #include "monster-status.h" #include "monsterrace-hook.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "patron.h" #include "realm/realm-hex.h" #include "realm/realm-song.h" diff --git a/src/racial.c b/src/racial.c index ed2069475..0955df204 100644 --- a/src/racial.c +++ b/src/racial.c @@ -22,7 +22,7 @@ #include "melee.h" #include "object-hook.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "player-race.h" #include "player-effects.h" #include "player-status.h" diff --git a/src/realm/realm-craft.c b/src/realm/realm-craft.c index 4c748cb2e..324ec51ae 100644 --- a/src/realm/realm-craft.c +++ b/src/realm/realm-craft.c @@ -7,7 +7,7 @@ #include "spells-object.h" #include "spells-summon.h" #include "spells-status.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "player-status.h" #include "player-effects.h" #include "realm/realm-craft.h" diff --git a/src/realm/realm-trump.c b/src/realm/realm-trump.c index f90e9d5c6..137d63a2c 100644 --- a/src/realm/realm-trump.c +++ b/src/realm/realm-trump.c @@ -2,7 +2,7 @@ #include "util.h" #include "cmd-spell.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "spells-summon.h" #include "spells-status.h" #include "spells-object.h" diff --git a/src/spell/spells2.c b/src/spell/spells2.c index f5b1fa8e8..fc82be67e 100644 --- a/src/spell/spells2.c +++ b/src/spell/spells2.c @@ -32,7 +32,7 @@ #include "spell/spells2.h" #include "spell/spells3.h" #include "spells-summon.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "quest.h" #include "avatar.h" diff --git a/src/spells-diceroll.c b/src/spells-diceroll.c index e4081cdd4..873fc0fed 100644 --- a/src/spells-diceroll.c +++ b/src/spells-diceroll.c @@ -5,7 +5,7 @@ #include "monster.h" #include "monsterrace-hook.h" #include "player-class.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "rooms.h" diff --git a/src/wizard2.c b/src/wizard2.c index 7f9429d49..6f4c74293 100644 --- a/src/wizard2.c +++ b/src/wizard2.c @@ -25,7 +25,7 @@ #include "birth/birth.h" #include "selfinfo.h" #include "patron.h" -#include "mutation.h" +#include "mutation/mutation.h" #include "quest.h" #include "artifact.h" #include "player-status.h"