OSDN Git Service

hengbandforosx/hengbandosx.git
2 years ago[Feature] #1644 新仕様における「ひどく朦朧」以上の朦朧状態に陥った際に魔法棒を振れる確率へ失率を追加した
Hourier [Sat, 25 Sep 2021 13:51:16 +0000 (22:51 +0900)]
[Feature] #1644 新仕様における「ひどく朦朧」以上の朦朧状態に陥った際に魔法棒を振れる確率へ失率を追加した

2 years ago[Refactor] #1644 Reshaped execute() in ObjectZapWandEntity
Hourier [Sat, 25 Sep 2021 13:43:19 +0000 (22:43 +0900)]
[Refactor] #1644 Reshaped execute() in ObjectZapWandEntity

2 years ago[Refactor] #1644 Separated zapwand-execution.cpp/h from cmd-zapwand.cpp/h
Hourier [Sat, 25 Sep 2021 13:39:04 +0000 (22:39 +0900)]
[Refactor] #1644 Separated zapwand-execution.cpp/h from cmd-zapwand.cpp/h

2 years ago[Feature] #1644 新仕様における「ひどく朦朧」以上の朦朧状態に陥った際にロッドを振れる確率へ失率を追加した
Hourier [Sat, 25 Sep 2021 13:04:16 +0000 (22:04 +0900)]
[Feature] #1644 新仕様における「ひどく朦朧」以上の朦朧状態に陥った際にロッドを振れる確率へ失率を追加した

2 years ago[Refactor] #1644 Reshaped execute() in zaprod-execution.cpp
Hourier [Sat, 25 Sep 2021 12:58:53 +0000 (21:58 +0900)]
[Refactor] #1644 Reshaped execute() in zaprod-execution.cpp

2 years ago[Refactor] #1644 Separated zaprod-execution.cpp/h from cmd-usestaff.cpp/h
Hourier [Sat, 25 Sep 2021 12:49:23 +0000 (21:49 +0900)]
[Refactor] #1644 Separated zaprod-execution.cpp/h from cmd-usestaff.cpp/h

2 years ago[Refactor] #1644 Defined item-use-checker.cpp/h and moved check_stun() from quaff...
Hourier [Sat, 25 Sep 2021 12:19:16 +0000 (21:19 +0900)]
[Refactor] #1644 Defined item-use-checker.cpp/h and moved check_stun() from quaff/read/use-execution.cpp to them

2 years ago[Feature] #1644 新仕様における「ひどく朦朧」以上の朦朧状態に陥った際に杖を振れる確率へ失率を追加した
Hourier [Sat, 25 Sep 2021 12:07:24 +0000 (21:07 +0900)]
[Feature] #1644 新仕様における「ひどく朦朧」以上の朦朧状態に陥った際に杖を振れる確率へ失率を追加した

2 years ago[Refactor] #1644 Made use-execution.cpp/h class
Hourier [Sat, 25 Sep 2021 11:37:06 +0000 (20:37 +0900)]
[Refactor] #1644 Made use-execution.cpp/h class

2 years ago[Refactor] #1644 Reshaped exe_use_staff()
Hourier [Sat, 25 Sep 2021 11:13:07 +0000 (20:13 +0900)]
[Refactor] #1644 Reshaped exe_use_staff()

2 years ago[Refactor] #1644 Separated use-execution.cpp/h from cmd-usestaff.cpp/h
Hourier [Sat, 25 Sep 2021 11:08:46 +0000 (20:08 +0900)]
[Refactor] #1644 Separated use-execution.cpp/h from cmd-usestaff.cpp/h

2 years ago[Feature] #1644 新仕様における「ひどく朦朧」以上の朦朧状態に陥った際に薬を飲める確率へ失率を追加した
Hourier [Sat, 25 Sep 2021 09:24:08 +0000 (18:24 +0900)]
[Feature] #1644 新仕様における「ひどく朦朧」以上の朦朧状態に陥った際に薬を飲める確率へ失率を追加した

2 years ago[Refactor] #1644 Made ObjectQuaffEntity class
Hourier [Sat, 25 Sep 2021 09:15:04 +0000 (18:15 +0900)]
[Refactor] #1644 Made ObjectQuaffEntity class

2 years ago[Refactor] #1644 quaff-execution.cpp の整形 (最小限)
Hourier [Sat, 25 Sep 2021 07:18:10 +0000 (16:18 +0900)]
[Refactor] #1644 quaff-execution.cpp の整形 (最小限)

2 years ago[Refactor] #1644 get_item_chance_penalty() を定義し、get_magic_chance_penalty() と処理を分離した
Hourier [Sat, 25 Sep 2021 06:00:32 +0000 (15:00 +0900)]
[Refactor] #1644 get_item_chance_penalty() を定義し、get_magic_chance_penalty() と処理を分離した
その上で、巻物を読める確率へ失率を追加した
(但し失率の定義は暫定なので既存の仕様通りに動作する)

2 years ago[Refactor] #1644 read-execution.cpp をクラスとして再定義した (最小限)
Hourier [Sat, 25 Sep 2021 03:31:45 +0000 (12:31 +0900)]
[Refactor] #1644 read-execution.cpp をクラスとして再定義した (最小限)

2 years agoMerge pull request #1677 from habu1010/feature/move-player-race-function-to-class...
Habu [Wed, 29 Sep 2021 12:33:03 +0000 (21:33 +0900)]
Merge pull request #1677 from habu1010/feature/move-player-race-function-to-class-member

[Refactor] 種族関連の処理を PlayerRace クラスへ移動する

2 years agoMerge pull request #1678 from habu1010/feature/add-new-resistances-to-ult-res-and...
Habu [Wed, 29 Sep 2021 12:32:39 +0000 (21:32 +0900)]
Merge pull request #1678 from habu1010/feature/add-new-resistances-to-ult-res-and-musou

[Feature] 究極の耐性と無双の型に新規耐性を追加

2 years ago[Feature] 究極の耐性と無双の型に新規耐性を追加
Habu [Wed, 29 Sep 2021 12:08:38 +0000 (21:08 +0900)]
[Feature] 究極の耐性と無双の型に新規耐性を追加

Resolve #1675.
究極の耐性と無双の型はあらゆる一時耐性を得る特徴を持っているが、
最近新規に追加された耐性フラグの水・時間逆転・呪力に対応していない。
特徴からいってこれらの耐性も得られるべきだと思われるので追加する。

2 years ago[Refactor] 種族関連の処理を PlayerRace クラスへ移動する
Habu [Tue, 28 Sep 2021 15:02:08 +0000 (00:02 +0900)]
[Refactor] 種族関連の処理を PlayerRace クラスへ移動する

以下の種族関連の処理を PlayerRace クラスのメンバ関数にする。

- player_race_has_flag / add_player_race_flags
  → 内容がほぼ同一なので PlayerRace::tr_flags() にまとめる
- get_player_race_info
- player_race_life / player_face_food

2 years agoMerge pull request #1676 from Hourier/Fix-Stun-Accumulation
Hourier [Wed, 29 Sep 2021 10:21:03 +0000 (19:21 +0900)]
Merge pull request #1676 from Hourier/Fix-Stun-Accumulation

痛恨の一撃を食らった時に朦朧値が正しく蓄積しない不具合を修正した

2 years ago[Fix] 痛恨の一撃を食らった時に朦朧値が正しく蓄積しない不具合を修正した / Resolved the issue that the accumulation...
Hourier [Wed, 29 Sep 2021 10:07:51 +0000 (19:07 +0900)]
[Fix] 痛恨の一撃を食らった時に朦朧値が正しく蓄積しない不具合を修正した / Resolved the issue that the accumulation value of stun didn't increase when the player is attacked with critical one

2 years agoMerge pull request #1674 from habu1010/feature/refactor-calss-tr-flags-dealing
Habu [Tue, 28 Sep 2021 15:01:41 +0000 (00:01 +0900)]
Merge pull request #1674 from habu1010/feature/refactor-calss-tr-flags-dealing

職業由来の特性フラグの処理のリファクタリング

2 years ago[Refactor] 職業由来の特性フラグを得るのに PlayerClass::tr_flags() を使用する
Habu [Tue, 28 Sep 2021 13:21:43 +0000 (22:21 +0900)]
[Refactor] 職業由来の特性フラグを得るのに PlayerClass::tr_flags() を使用する

既存の player-status-flags.cpp 内の特性フラグの有無をチェックする関数群で
職業由来の特性フラグの取得条件はプレイヤー情報表示用(旧 add_class_flags)と
別に二重実装されていた。
当然よろしくない状態なので、add_class_flags から移動させた PlayerClass::
tr_flags() を使用するようにする。
また、装備のスロット/種族/職業由来の特性フラグ有無を得る処理を
common_cause_flags() に共通化して同じコードが繰り返されないようにする。

2 years ago[Refactor] 職業の特性フラグを取得する関数を PlayerClass のメンバ関数にする
Habu [Tue, 28 Sep 2021 13:21:43 +0000 (22:21 +0900)]
[Refactor] 職業の特性フラグを取得する関数を PlayerClass のメンバ関数にする

職業(およびそのLV等)で得られる特性フラグを得る関数 add_class_flags を
PlayerClass::tr_flags() に移動する。

2 years agoMerge pull request #1673 from habu1010/feature/adjust-clang-format-rule
Habu [Tue, 28 Sep 2021 13:14:10 +0000 (22:14 +0900)]
Merge pull request #1673 from habu1010/feature/adjust-clang-format-rule

[Style] clang-format の整形ルールの調整

2 years agoMerge pull request #1629 from Hourier/Make-Chest-Class
Hourier [Tue, 28 Sep 2021 13:00:44 +0000 (22:00 +0900)]
Merge pull request #1629 from Hourier/Make-Chest-Class

chest.cpp/h のクラス化 w/ ChestTrapTypeの定義

2 years ago[Refactor] #1598 CHEST_* のdefine定数群をenum class ChestTrapTypeとして再定義した
Hourier [Fri, 24 Sep 2021 11:54:59 +0000 (20:54 +0900)]
[Refactor] #1598 CHEST_*  のdefine定数群をenum class ChestTrapTypeとして再定義した

2 years agoMerge pull request #1668 from habu1010/feature/swap-monster-capture-ball-with-weapon
Habu [Tue, 28 Sep 2021 12:24:34 +0000 (21:24 +0900)]
Merge pull request #1668 from habu1010/feature/swap-monster-capture-ball-with-weapon

[Feature] モンスター・ボールを武器と交換できるようにする

2 years ago[Feature] モンスター・ボールを武器と交換できるようにする
Habu [Mon, 27 Sep 2021 14:16:38 +0000 (23:16 +0900)]
[Feature] モンスター・ボールを武器と交換できるようにする

Resolve #1442.
現状、武器と盾を装備している時はモンスター・ボールを装備すると強制的に
盾と交換されてしまう。
一発で武器と交換できてはならない理由はないので交換できるようにする。

2 years ago[Style] clang-format の整形ルールの調整
Habu [Tue, 28 Sep 2021 11:38:45 +0000 (20:38 +0900)]
[Style] clang-format の整形ルールの調整

Resolve #1671.

2 years ago[Refactor] #1598 Changed chest_traps from array to vector in trap.cpp/h"
Hourier [Fri, 24 Sep 2021 10:38:43 +0000 (19:38 +0900)]
[Refactor] #1598 Changed chest_traps from array to vector in trap.cpp/h"

2 years ago[Refactor] #1598 Make chest.cpp/h class
Hourier [Fri, 24 Sep 2021 10:35:34 +0000 (19:35 +0900)]
[Refactor] #1598 Make chest.cpp/h class

2 years agoMerge pull request #1672 from habu1010/feature/flag-group-first
Habu [Tue, 28 Sep 2021 11:34:11 +0000 (20:34 +0900)]
Merge pull request #1672 from habu1010/feature/flag-group-first

[Feature] FlagGroup::first() を実装

2 years agoMerge pull request #1660 from Hourier/Remove-SourceTrail-Warning
Hourier [Tue, 28 Sep 2021 11:12:47 +0000 (20:12 +0900)]
Merge pull request #1660 from Hourier/Remove-SourceTrail-Warning

SourceTrailの解析 (clangベース)でエラーが出た箇所を修正した

2 years ago[Feature] FlagGroup::first() を実装
Habu [Tue, 28 Sep 2021 11:03:52 +0000 (20:03 +0900)]
[Feature] FlagGroup::first() を実装

FlagGroupクラスにフラグ集合のONになっているフラグのうち最初の1つを
取得するメンバ関数 first() を実装する。

2 years ago[Refactor] Reshapd display-util.cpp
Hourier [Mon, 27 Sep 2021 12:29:49 +0000 (21:29 +0900)]
[Refactor] Reshapd display-util.cpp

2 years agoMerge pull request #1669 from habu1010/feature/fix-consume-mp-when-spell-cancelled
Habu [Tue, 28 Sep 2021 08:36:51 +0000 (17:36 +0900)]
Merge pull request #1669 from habu1010/feature/fix-consume-mp-when-spell-cancelled

[Fix] 魔法をキャンセルしたのにMPが消費される

2 years ago[Fix] 魔法をキャンセルしたのにMPが消費される
Habu [Mon, 27 Sep 2021 14:46:35 +0000 (23:46 +0900)]
[Fix] 魔法をキャンセルしたのにMPが消費される

Resolve #1293.
MPを減らすタイミングがおかしいため魔法をキャンセルしてもターンが
経過せずMPだけが消費される。
元々そんな仕様ではなかったと思われるのでリファクタリングのどこかで
エンバグしたように思うが、ともかくおかしな仕様になっているので修正
しておく。

2 years ago[Refactor] SourceTrailの解析 (clangベース)でエラーが出た箇所を修正した
Hourier [Sun, 26 Sep 2021 14:17:42 +0000 (23:17 +0900)]
[Refactor] SourceTrailの解析 (clangベース)でエラーが出た箇所を修正した

2 years agoMerge pull request #1649 from sikabane-works/refactor/chaos-patron-class
Deskull [Sun, 26 Sep 2021 09:46:51 +0000 (18:46 +0900)]
Merge pull request #1649 from sikabane-works/refactor/chaos-patron-class

[Refactor] 馬鹿馬鹿よりカオスパトロンのクラス化移行を移植.

2 years ago[Fix] Patron 中の初期化に NULL が混じっていたので nullptr に修正.
Deskull [Sun, 26 Sep 2021 09:32:14 +0000 (18:32 +0900)]
[Fix] Patron 中の初期化に NULL が混じっていたので nullptr に修正.

2 years ago[Fix] Patron での前方参照のため、 player_ability_type の型明示。
Deskull [Sun, 26 Sep 2021 09:15:43 +0000 (18:15 +0900)]
[Fix] Patron での前方参照のため、 player_ability_type の型明示。

2 years agoMerge pull request #1657 from Hourier/Reshape-Player-Personality
Hourier [Sun, 26 Sep 2021 09:04:06 +0000 (18:04 +0900)]
Merge pull request #1657 from Hourier/Reshape-Player-Personality

seikaku をpersonality に改名した (スコアサーバのパラメータを除く)

2 years ago[Fix] さらに Patron の無用な初期化削除
Deskull [Sun, 26 Sep 2021 08:55:27 +0000 (17:55 +0900)]
[Fix] さらに Patron の無用な初期化削除

2 years ago[Refactor] seikaku をpersonality に改名した (スコアサーバのパラメータを除く)
Hourier [Sun, 26 Sep 2021 08:43:56 +0000 (17:43 +0900)]
[Refactor] seikaku をpersonality に改名した (スコアサーバのパラメータを除く)

2 years ago[Fix] Patron::reward_table の不要な初期値削除。
Deskull [Sun, 26 Sep 2021 08:43:24 +0000 (17:43 +0900)]
[Fix] Patron::reward_table の不要な初期値削除。

2 years agoMerge pull request #1650 from habu1010/feature/sniper-specific-data
Habu [Sun, 26 Sep 2021 08:42:37 +0000 (17:42 +0900)]
Merge pull request #1650 from habu1010/feature/sniper-specific-data

[Refactor] スナイパーの専用データを職業固有データに移動する

2 years agoMerge pull request #1656 from Hourier/Remove-Body-Weight-Effect
Hourier [Sun, 26 Sep 2021 08:11:38 +0000 (17:11 +0900)]
Merge pull request #1656 from Hourier/Remove-Body-Weight-Effect

体重をフレーバーの表示以外に使わなくした

2 years ago[Feature] #1654 体重を完全なるフレーバーパラメータにした / Made body weight the flavor parameter absolutely
Hourier [Sun, 26 Sep 2021 07:51:36 +0000 (16:51 +0900)]
[Feature] #1654 体重を完全なるフレーバーパラメータにした / Made body weight the flavor parameter absolutely

2 years ago[Fix] move を機能させるためにPatronコンストラクタの reward_table 引数の const 削除.
Deskull [Sun, 26 Sep 2021 06:59:52 +0000 (15:59 +0900)]
[Fix] move を機能させるためにPatronコンストラクタの reward_table 引数の const 削除.

2 years ago[Fix] Patron の明示的デストラクタ定義を default に変更。
Deskull [Sun, 26 Sep 2021 06:49:43 +0000 (15:49 +0900)]
[Fix] Patron の明示的デストラクタ定義を default に変更。

2 years ago[Fix] さらにレビュー受けて修正.
Deskull [Sun, 26 Sep 2021 06:20:21 +0000 (15:20 +0900)]
[Fix] さらにレビュー受けて修正.

2 years agoMerge pull request #1652 from habu1010/feature/add-pre-compiled-header
Habu [Sun, 26 Sep 2021 06:14:00 +0000 (15:14 +0900)]
Merge pull request #1652 from habu1010/feature/add-pre-compiled-header

[Add] プリコンパイルヘッダをいくつか追加

2 years ago[Add] プリコンパイルヘッダをいくつか追加
Habu [Sun, 26 Sep 2021 05:58:23 +0000 (14:58 +0900)]
[Add] プリコンパイルヘッダをいくつか追加

2 years ago[Fix] レビュー上の各指摘に一度可能な限り対応.
Deskull [Sun, 26 Sep 2021 05:38:44 +0000 (14:38 +0900)]
[Fix] レビュー上の各指摘に一度可能な限り対応.

2 years ago[Refactor] スナイパーの専用データを職業固有データに移動する
Habu [Sun, 26 Sep 2021 03:17:26 +0000 (12:17 +0900)]
[Refactor] スナイパーの専用データを職業固有データに移動する

player_type にスナイパーしか使用しない集中度と集中度リセットフラグが
あるので、職業固有データ sniper_data_type を定義して移動させる。

2 years agoMerge pull request #1534 from Hourier/experiment/Remove-Wizard-Mode
Hourier [Sun, 26 Sep 2021 03:46:56 +0000 (12:46 +0900)]
Merge pull request #1534 from Hourier/experiment/Remove-Wizard-Mode

ウィザードモードを廃止してデバッグモードに統一した

2 years ago[Refactor] 馬鹿馬鹿よりカオスパトロンのクラス化移行を移植.
Deskull [Sun, 26 Sep 2021 03:19:34 +0000 (12:19 +0900)]
[Refactor] 馬鹿馬鹿よりカオスパトロンのクラス化移行を移植.

2 years agoMerge pull request #1627 from Hourier/Move-Stone-of-Lore
Hourier [Sun, 26 Sep 2021 01:30:33 +0000 (10:30 +0900)]
Merge pull request #1627 from Hourier/Move-Stone-of-Lore

perilous_secrets() をspells-object.cpp/h からspecific-object/stone-of-lore.cpp/h へ移動させた

2 years ago[Refactor] #1571 Separated consume_mp() from perilous_secrets()
Hourier [Fri, 24 Sep 2021 10:20:48 +0000 (19:20 +0900)]
[Refactor] #1571 Separated consume_mp() from perilous_secrets()

2 years ago[Refactor] #1571 Removed unnecessary headers in spells-object.cpp
Hourier [Fri, 24 Sep 2021 10:13:37 +0000 (19:13 +0900)]
[Refactor] #1571 Removed unnecessary headers in spells-object.cpp

2 years ago[Refactor] #1571 Defined stone-of-lore.cpp/h to separate the process of the stone...
Hourier [Fri, 24 Sep 2021 10:10:45 +0000 (19:10 +0900)]
[Refactor] #1571 Defined stone-of-lore.cpp/h to separate the process of the stone of lore

2 years agoMerge pull request #1645 from habu1010/feature/imitator-class-specific-data
Habu [Sun, 26 Sep 2021 00:56:03 +0000 (09:56 +0900)]
Merge pull request #1645 from habu1010/feature/imitator-class-specific-data

[Refactor] ものまね師の専用データを職業固有データに移動する

2 years ago[Refactor] ものまね師の専用データを職業固有データに移動する
Habu [Sat, 25 Sep 2021 10:59:11 +0000 (19:59 +0900)]
[Refactor] ものまね師の専用データを職業固有データに移動する

player_type にものまね師しか使わない専用のメンバがあるので、職業固有
データ mane_data_type を定義してメンバを移動させる。
また例によって new_mane が青魔道士の学習フラグと共有されていたので、
青魔道士の専用データと別々に分離する。
さらに覚えているものまねのリストを単純な配列からSTLコンテナにして
コードを読みやすくする。

2 years agoMerge pull request #1647 from backwardsEric/distcheck-bard-data-type
Deskull [Sat, 25 Sep 2021 16:33:31 +0000 (01:33 +0900)]
Merge pull request #1647 from backwardsEric/distcheck-bard-data-type

Include player-info/bard-data-type.h in the output of "make dist"

2 years agoInclude player-info/bard-data-type.h in the output of "make dist". Resolves https...
Eric Branlund [Sat, 25 Sep 2021 16:14:59 +0000 (09:14 -0700)]
Include player-info/bard-data-type.h in the output of "make dist".  Resolves https://github.com/hengband/hengband/issues/1646 .

2 years agoMerge pull request #1641 from habu1010/feature/fix-class-specific-data-menber-initialize
Habu [Sat, 25 Sep 2021 09:00:34 +0000 (18:00 +0900)]
Merge pull request #1641 from habu1010/feature/fix-class-specific-data-menber-initialize

[Refactor/Fix] 職業専用データのメンバに初期化子をつける

2 years ago[Refactor/Fix] 職業専用データのメンバに初期化子をつける
Habu [Sat, 25 Sep 2021 08:45:28 +0000 (17:45 +0900)]
[Refactor/Fix] 職業専用データのメンバに初期化子をつける

職業専用データのメンバに初期化子をつけていなかったが、組み込み型の
メンバは初期値が不定になるかもしれない。ひとまず組み込み型以外も
含めすべて {} を付けて確実にデフォルト値で初期化されるようにしておく。

2 years agoMerge pull request #1640 from habu1010/feature/delete-magic-num-array
Habu [Sat, 25 Sep 2021 08:15:03 +0000 (17:15 +0900)]
Merge pull request #1640 from habu1010/feature/delete-magic-num-array

[Refactor] 不要になった magic_num1/2 を player_type から削除

2 years ago[Refactor] 不要になった magic_num1/2 を player_type から削除
Habu [Sat, 25 Sep 2021 06:58:14 +0000 (15:58 +0900)]
[Refactor] 不要になった magic_num1/2 を player_type から削除

職業固有データの分離が完了したので、職業間で共有して使っていた配列
magic_num1, magic_num2 を player_type から削除する。
それに付随して、これらの配列長を定義していた MAX_SPELLS および
magic_num1/2 に関するコメントも削除する。

2 years agoMerge pull request #1639 from habu1010/feature/bard-class-specific-data
Habu [Sat, 25 Sep 2021 06:41:56 +0000 (15:41 +0900)]
Merge pull request #1639 from habu1010/feature/bard-class-specific-data

[Refactor] 吟遊詩人の固有データを magic_num から分離する

2 years ago[Refactor] 吟遊詩人の固有データを magic_num から分離する
Habu [Sat, 25 Sep 2021 05:28:50 +0000 (14:28 +0900)]
[Refactor] 吟遊詩人の固有データを magic_num から分離する

2 years agoMerge pull request #1637 from habu1010/feature/fix-hex-restart-spelling
Habu [Sat, 25 Sep 2021 05:29:41 +0000 (14:29 +0900)]
Merge pull request #1637 from habu1010/feature/fix-hex-restart-spelling

[Fix] 呪術ハイメイジで詠唱一時中断後に詠唱を再開しなくなっている

2 years ago[Fix] 呪術ハイメイジで詠唱一時中断後に詠唱を再開しなくなっている
Habu [Sat, 25 Sep 2021 03:45:13 +0000 (12:45 +0900)]
[Fix] 呪術ハイメイジで詠唱一時中断後に詠唱を再開しなくなっている

呪術ハイメイジのデータで謎だった magic_num1[1] は、吟遊詩人の詠唱一時
中断処理と共用されている事が分かった。職業固有データに分離した事で一時
中断後に詠唱を再開しなくなってしまっている。
呪術ハイメイジ専用の一時中断する SpellHex::interrupt_spelling を実装し、
呪術ハイメイジの時はそちらを呼ぶことで詠唱の一時中断~再開の処理を
行うようにする。

2 years agoMerge pull request #1638 from habu1010/feature/fix-hex-count-casting-spells
Habu [Sat, 25 Sep 2021 05:08:13 +0000 (14:08 +0900)]
Merge pull request #1638 from habu1010/feature/fix-hex-count-casting-spells

[Fix] 呪術の処理から吟遊詩人の処理を呼んでいる

2 years ago[Fix] 呪術の処理から吟遊詩人の処理を呼んでいる
Habu [Sat, 25 Sep 2021 03:47:56 +0000 (12:47 +0900)]
[Fix] 呪術の処理から吟遊詩人の処理を呼んでいる

リファクタリング前の名残で詠唱中の呪術があるかどうかのチェックで
吟遊詩人の処理を呼んでしまっている。
SpellHexクラスの該当のメソッドを呼ぶように修正する。

2 years ago[Refactor] #1507 w_ptr->wizard の有無チェックをallow_debug_options のそれに差し替えた
Hourier [Wed, 15 Sep 2021 14:40:29 +0000 (23:40 +0900)]
[Refactor] #1507 w_ptr->wizard  の有無チェックをallow_debug_options のそれに差し替えた

2 years ago[Refactor] #1507 Removed enter_wizard_mode()
Hourier [Wed, 15 Sep 2021 13:51:04 +0000 (22:51 +0900)]
[Refactor] #1507 Removed enter_wizard_mode()

2 years ago[Refactor] #1507 Renamed allow_debug_opts to allow_debug_options
Hourier [Wed, 15 Sep 2021 09:29:59 +0000 (18:29 +0900)]
[Refactor] #1507 Renamed allow_debug_opts to allow_debug_options

2 years agoMerge pull request #1634 from habu1010/feature/magic-eater-class-specific-data
Habu [Sat, 25 Sep 2021 02:27:03 +0000 (11:27 +0900)]
Merge pull request #1634 from habu1010/feature/magic-eater-class-specific-data

[Refactor] 魔道具術師の固有データを magic_num から分離する

2 years ago[Fix] これまで追加した職業固有データヘッダへの BOM 付け忘れ
Habu [Sat, 25 Sep 2021 00:23:35 +0000 (09:23 +0900)]
[Fix] これまで追加した職業固有データヘッダへの BOM 付け忘れ

2 years ago[Refactor] 魔道具術師の固有データを magic_num から分離する
Habu [Sat, 25 Sep 2021 00:22:52 +0000 (09:22 +0900)]
[Refactor] 魔道具術師の固有データを magic_num から分離する

2 years agoMerge pull request #1632 from backwardsEric/distcheck-class-specific-data
Deskull [Fri, 24 Sep 2021 21:53:23 +0000 (06:53 +0900)]
Merge pull request #1632 from backwardsEric/distcheck-class-specific-data

Linux/Unix:  include player-info/class-specific-data.h in the output of "make dist"

2 years agoInclude player-info/class-specific-data.h in the output of "make dist". Resolves...
Eric Branlund [Fri, 24 Sep 2021 16:23:14 +0000 (09:23 -0700)]
Include player-info/class-specific-data.h in the output of "make dist".  Resolves https://github.com/hengband/hengband/issues/1631 .

2 years agoMerge pull request #1630 from habu1010/feature/refactor-blue-magic-type-enum-class
Habu [Fri, 24 Sep 2021 13:52:36 +0000 (22:52 +0900)]
Merge pull request #1630 from habu1010/feature/refactor-blue-magic-type-enum-class

[Refactor] 青魔法のタイプを enum から enum class にする

2 years ago[Refactor] 青魔法のタイプを enum から enum class にする
Habu [Fri, 24 Sep 2021 13:32:49 +0000 (22:32 +0900)]
[Refactor] 青魔法のタイプを enum から enum class にする

青魔法のタイプ blue_magic_type を enum から enum class に変更する。
それに関連して set_rf_masks の引数名を修正するとともに、Doxygen
コメントの内容がモンスター特殊能力の FlagGroup 化前の物だったので
現状に合わせて修正する。

2 years agoMerge pull request #1628 from habu1010/feature/blumage-specific-data
Habu [Fri, 24 Sep 2021 13:24:41 +0000 (22:24 +0900)]
Merge pull request #1628 from habu1010/feature/blumage-specific-data

[Refactor] 青魔道士の固有データを magic_num から分離

2 years agoMerge pull request #1626 from Hourier/Increase-Cohesion-Calculation-Cut-Stun
Hourier [Fri, 24 Sep 2021 13:06:23 +0000 (22:06 +0900)]
Merge pull request #1626 from Hourier/Increase-Cohesion-Calculation-Cut-Stun

calc_monster_critical() を廃止してPlayerCut/PlayerStun::get_accumulation()/get_accumulation_rank() に個別定義した

2 years agoMerge pull request #1622 from Hourier/Remove-Return-Type-Game-Data-Initializer
Hourier [Fri, 24 Sep 2021 13:05:36 +0000 (22:05 +0900)]
Merge pull request #1622 from Hourier/Remove-Return-Type-Game-Data-Initializer

game-data-initializer.cpph/h に定義されているメソッドの無意味な返り値をvoidに変更した

2 years agoMerge pull request #1623 from Hourier/Add-Japanese-Tval-Description-to-Wizard
Hourier [Fri, 24 Sep 2021 12:33:26 +0000 (21:33 +0900)]
Merge pull request #1623 from Hourier/Add-Japanese-Tval-Description-to-Wizard

デバッグ時のアイテム選択を日本語化した

2 years ago[Refactor] #1621 Habu氏の指摘に対応した
Hourier [Fri, 24 Sep 2021 11:33:01 +0000 (20:33 +0900)]
[Refactor] #1621 Habu氏の指摘に対応した

2 years ago[Fix] #1621 デバッグ中に発見した、秩序の指輪だけが頭文字が小文字になっている事象を修正した (英語版のみ)
Hourier [Thu, 23 Sep 2021 10:26:14 +0000 (19:26 +0900)]
[Fix] #1621 デバッグ中に発見した、秩序の指輪だけが頭文字が小文字になっている事象を修正した (英語版のみ)

2 years ago[Refactor] #1621 Separated wiz_select_sval() from wiz_create_itemtype()
Hourier [Thu, 23 Sep 2021 09:58:50 +0000 (18:58 +0900)]
[Refactor] #1621 Separated wiz_select_sval() from wiz_create_itemtype()

2 years ago[Refactor] #1621 Separated wiz_select_tval() from wiz_create_itemtype()
Hourier [Thu, 23 Sep 2021 09:54:48 +0000 (18:54 +0900)]
[Refactor] #1621 Separated wiz_select_tval() from wiz_create_itemtype()

2 years ago[Refactor] #1621 Made wiz_create_itemtype() static
Hourier [Thu, 23 Sep 2021 09:13:03 +0000 (18:13 +0900)]
[Refactor] #1621 Made wiz_create_itemtype() static

2 years ago[Refactor] #1621 アイテム種別選択画面が途切れる事象を修正した (日本語版のみ)
Hourier [Thu, 23 Sep 2021 08:31:53 +0000 (17:31 +0900)]
[Refactor] #1621 アイテム種別選択画面が途切れる事象を修正した (日本語版のみ)

2 years ago[Refactor] #1621 デバッグ用tvalリストを静的配列からvectorに変換した
Hourier [Thu, 23 Sep 2021 05:22:27 +0000 (14:22 +0900)]
[Refactor] #1621 デバッグ用tvalリストを静的配列からvectorに変換した

2 years ago[Refactor] #1621 デバッグモードのアイテム選択を日本語化した
Hourier [Thu, 23 Sep 2021 04:54:34 +0000 (13:54 +0900)]
[Refactor] #1621 デバッグモードのアイテム選択を日本語化した

2 years ago[Refactor] 青魔道士の固有データを magic_num から分離
Habu [Fri, 24 Sep 2021 10:45:37 +0000 (19:45 +0900)]
[Refactor] 青魔道士の固有データを magic_num から分離