OSDN Git Service

[Refactor] 呪文の名称と説明文の取得処理
authorHabu <habu1010+github@gmail.com>
Wed, 3 Jul 2024 11:00:56 +0000 (20:00 +0900)
committerHabu <habu1010+github@gmail.com>
Wed, 3 Jul 2024 11:00:56 +0000 (20:00 +0900)
commit48f79429613f143c739e1944d8eaccc743e33b5a
treed3b6d8df73d9d120a3f8e0a57b9eba5f2414a7db
parent9cb7cc2df5cb32c65ed9e0be2308fcfd76b5c8e7
[Refactor] 呪文の名称と説明文の取得処理

exe_spellの引数にSpellProcessTypeのNAMEとDESCRIPTIONを指定することにより
呪文の名称と説明文の取得を行うのをやめ、代わりにPlayerRealmクラスに
get_spell_nameとget_spell_descriptionを実装し、これを使用して取得する。
24 files changed:
src/cmd-action/cmd-hissatsu.cpp
src/cmd-action/cmd-spell.cpp
src/knowledge/knowledge-experiences.cpp
src/player/player-realm.cpp
src/player/player-realm.h
src/player/player-status.cpp
src/realm/realm-arcane.cpp
src/realm/realm-chaos.cpp
src/realm/realm-craft.cpp
src/realm/realm-crusade.cpp
src/realm/realm-death.cpp
src/realm/realm-demon.cpp
src/realm/realm-hex.cpp
src/realm/realm-hissatsu.cpp
src/realm/realm-life.cpp
src/realm/realm-nature.cpp
src/realm/realm-song.cpp
src/realm/realm-sorcery.cpp
src/realm/realm-trump.cpp
src/spell-realm/spells-hex.cpp
src/spell/spell-info.cpp
src/spell/spells-util.h
src/window/display-sub-windows.cpp
src/wizard/wizard-spoiler.cpp