OSDN Git Service

[Refactor] monster_spell_type と RF_ABILITY を統合する
authorHabu <habu1010+github@gmail.com>
Sat, 17 Apr 2021 13:57:07 +0000 (22:57 +0900)
committerHabu <habu1010+github@gmail.com>
Sat, 17 Apr 2021 13:58:15 +0000 (22:58 +0900)
commit027e076a49207d2546eed9c6a49bfecf5ad36ecf
treefdef139f979cac3e15294a08807a12f0825920d7
parent9671e38beb21185d73928f0cbc7ca757a1f204dc
[Refactor] monster_spell_type と RF_ABILITY を統合する

monster_race::flags4~6 を FlagGroup<RF_ABILITY> に統合した事により、
副作用としてmonster_spell_typeの内容とRF_ABILITYの内容が完全に
被ることになった。
実質的に同じものを2つ定義しているのは良くないので、monster_spell_typeを
廃止し、MS_*の代わりにRF_ABILITY::*を使用する。
30 files changed:
Hengband/Hengband/Hengband.vcxproj
Hengband/Hengband/Hengband.vcxproj.filters
src/Makefile.am
src/blue-magic/blue-magic-ball-bolt.cpp
src/blue-magic/blue-magic-breath.cpp
src/blue-magic/blue-magic-caster.cpp
src/blue-magic/blue-magic-caster.h
src/blue-magic/blue-magic-spirit-curse.cpp
src/blue-magic/learnt-info.cpp
src/blue-magic/learnt-info.h
src/blue-magic/learnt-power-getter.cpp
src/lore/lore-calculator.cpp
src/lore/lore-calculator.h
src/lore/magic-types-setter.cpp
src/mind/mind-blue-mage.cpp
src/mspell/assign-monster-spell.cpp
src/mspell/mspell-attack.cpp
src/mspell/mspell-ball.cpp
src/mspell/mspell-bolt.cpp
src/mspell/mspell-breath.cpp
src/mspell/mspell-curse.cpp
src/mspell/mspell-damage-calculator.cpp
src/mspell/mspell-damage-calculator.h
src/mspell/mspell-dispel.cpp
src/mspell/mspell-floor.cpp
src/mspell/mspell-particularity.cpp
src/mspell/mspell-status.cpp
src/mspell/mspell-type.h [deleted file]
src/object/warning.cpp
src/view/display-lore.cpp