OSDN Git Service

hengbandforosx/hengbandosx.git
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 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 から分離

2 years ago[Refactor] #1607 メソッドの順番を整理した / Adjusted the order of methods in player-stun/cut...
Hourier [Fri, 24 Sep 2021 09:23:10 +0000 (18:23 +0900)]
[Refactor] #1607 メソッドの順番を整理した / Adjusted the order of methods in player-stun/cut.cpp/h

2 years ago[Refactor] #1607 Defined get_accumulation() for player's stun
Hourier [Fri, 24 Sep 2021 06:56:48 +0000 (15:56 +0900)]
[Refactor] #1607 Defined get_accumulation() for player's stun

2 years ago[Refactor] Reshaped game-data-initializer.cpp
Hourier [Thu, 23 Sep 2021 08:05:27 +0000 (17:05 +0900)]
[Refactor] Reshaped game-data-initializer.cpp

2 years ago[Refactor] Removed return types in game-data-initializer.cpp/h
Hourier [Thu, 23 Sep 2021 07:45:33 +0000 (16:45 +0900)]
[Refactor] Removed return types in game-data-initializer.cpp/h

2 years ago[Refactor] #1607 Defined get_accumulation() for player's cut
Hourier [Fri, 24 Sep 2021 06:20:49 +0000 (15:20 +0900)]
[Refactor] #1607 Defined get_accumulation() for player's cut

2 years agoMerge pull request #1625 from Hourier/Define-Mod-Methods-In-BadStatusSetter
Hourier [Fri, 24 Sep 2021 09:14:48 +0000 (18:14 +0900)]
Merge pull request #1625 from Hourier/Define-Mod-Methods-In-BadStatusSetter

BadStatusSetterクラスに mod_hoge() メソッドを定義した

2 years ago[Refactor] #1599 不必要なキャストを外した / Removed unnecessary cast
Hourier [Fri, 24 Sep 2021 09:02:03 +0000 (18:02 +0900)]
[Refactor] #1599 不必要なキャストを外した / Removed unnecessary cast

2 years ago[Refactor] #1599 Defined mod_cut() and replaced the calls
Hourier [Fri, 24 Sep 2021 02:07:52 +0000 (11:07 +0900)]
[Refactor] #1599 Defined mod_cut() and replaced the calls

2 years ago[Refactor] #1599 Defined mod_stun() and replaced the calls
Hourier [Fri, 24 Sep 2021 01:46:22 +0000 (10:46 +0900)]
[Refactor] #1599 Defined mod_stun() and replaced the calls

2 years ago[Refactor] #1599 Defined mod_slowness() and replaced the calls
Hourier [Fri, 24 Sep 2021 01:34:33 +0000 (10:34 +0900)]
[Refactor] #1599 Defined mod_slowness() and replaced the calls

2 years ago[Refactor] #1599 Defined mod_hallucination() and replaced the calls
Hourier [Fri, 24 Sep 2021 01:28:32 +0000 (10:28 +0900)]
[Refactor] #1599 Defined mod_hallucination() and replaced the calls

2 years ago[Refactor] #1599 Defined mod_paralysis() and replaced the calls
Hourier [Fri, 24 Sep 2021 01:24:21 +0000 (10:24 +0900)]
[Refactor] #1599 Defined mod_paralysis() and replaced the calls

2 years ago[Refactor] #1599 Defined mod_afraidness() and replaced the calls
Hourier [Fri, 24 Sep 2021 01:20:07 +0000 (10:20 +0900)]
[Refactor] #1599 Defined mod_afraidness() and replaced the calls

2 years ago[Refactor] #1599 Defined mod_poison() and replaced the calls
Hourier [Fri, 24 Sep 2021 01:17:01 +0000 (10:17 +0900)]
[Refactor] #1599 Defined mod_poison() and replaced the calls

2 years ago[Refactor] #1599 Defined mod_confusion() and replaced the calls
Hourier [Fri, 24 Sep 2021 01:10:47 +0000 (10:10 +0900)]
[Refactor] #1599 Defined mod_confusion() and replaced the calls

2 years ago[Refactor] #1599 Defined mod_blindness() and replaced the calls
Hourier [Fri, 24 Sep 2021 01:02:48 +0000 (10:02 +0900)]
[Refactor] #1599 Defined mod_blindness() and replaced the calls

2 years agoMerge pull request #1617 from habu1010/feature/class-specific-data-system
Habu [Thu, 23 Sep 2021 23:53:58 +0000 (08:53 +0900)]
Merge pull request #1617 from habu1010/feature/class-specific-data-system

[Feature] 職業固有のデータを持てるようにするシステムの導入

2 years ago[Refactor] 鍛冶師のエッセンスのデータサイズを2バイトにする
Habu [Thu, 23 Sep 2021 13:05:25 +0000 (22:05 +0900)]
[Refactor] 鍛冶師のエッセンスのデータサイズを2バイトにする

セーブデータに合わせて、鍛冶師のエッセンスの種類および所持量を
2バイト(int16_t)で持つようにする。

2 years ago[Refactor] 練気術師の固有データを magic_num から分離
Habu [Thu, 23 Sep 2021 12:02:52 +0000 (21:02 +0900)]
[Refactor] 練気術師の固有データを magic_num から分離

2 years ago[Feature] 職業固有のデータを持てるようにするシステムの導入
Habu [Thu, 23 Sep 2021 12:02:52 +0000 (21:02 +0900)]
[Feature] 職業固有のデータを持てるようにするシステムの導入

現在職業固有のデータを持たせる時、 magic_num1, magic_num2 という
共通の配列を好き勝手に使用していてコードの可読性が大きく損なわれている。
これを職業ごとにデータを持てるようにしてコードの可読性を向上させ、
またフレキシブルなデータ構造を使えるようにする。

まず手始めとして職業固有データを持たせるシステム導入と同時に、鍛冶師と
呪術ハイメイジにおける固有データの分離を行った。

2 years agoMerge pull request #1615 from sikabane-works/fix/wizard-summon-monster-command
Deskull [Thu, 23 Sep 2021 08:13:30 +0000 (17:13 +0900)]
Merge pull request #1615 from sikabane-works/fix/wizard-summon-monster-command

[Fix] ウィザードモードのID指定モンスター生成(N/n)が回数指定の事前入力のみを想定した仕様で手動指定が足りなかった

2 years agoMerge pull request #1609 from Hourier/Make-Player-Cut-Class
Hourier [Thu, 23 Sep 2021 08:04:51 +0000 (17:04 +0900)]
Merge pull request #1609 from Hourier/Make-Player-Cut-Class

PlayerCutクラスを作成して切り傷処理を移管した

2 years agoMerge branch 'develop' into fix/wizard-summon-monster-command
Deskull [Thu, 23 Sep 2021 07:41:34 +0000 (16:41 +0900)]
Merge branch 'develop' into fix/wizard-summon-monster-command

2 years ago[Implement] get_value() 関数を実装して、ウィザードモードの一部数値入力のみ汎化。
Deskull [Thu, 23 Sep 2021 07:06:11 +0000 (16:06 +0900)]
[Implement] get_value() 関数を実装して、ウィザードモードの一部数値入力のみ汎化。

2 years ago[Fix] #1578 Resolved the issue that saved cut/stun data can't be read correctly
Hourier [Thu, 23 Sep 2021 06:18:26 +0000 (15:18 +0900)]
[Fix] #1578 Resolved the issue that saved cut/stun data can't be read correctly

2 years ago[Refactor] #1578 Replaced all of player_cut to is_cut() or current()
Hourier [Wed, 22 Sep 2021 15:16:18 +0000 (00:16 +0900)]
[Refactor] #1578 Replaced all of player_cut to is_cut() or current()

2 years ago[Refactor] #1578 Replaced the expressions of print_cut() to get_expr()
Hourier [Wed, 22 Sep 2021 15:13:41 +0000 (00:13 +0900)]
[Refactor] #1578 Replaced the expressions of print_cut() to get_expr()

2 years ago[Refactor] #1578 Defined get_damage() in PlayerCut and replaced it in process_player_...
Hourier [Wed, 22 Sep 2021 14:29:13 +0000 (23:29 +0900)]
[Refactor] #1578 Defined get_damage() in PlayerCut and replaced it in process_player_hp_mp()

2 years ago[Refactor] #1578 Renamed old/new_aux to old/new_rank in bad-status-setter.cpp/h
Hourier [Wed, 22 Sep 2021 13:11:58 +0000 (22:11 +0900)]
[Refactor] #1578 Renamed old/new_aux to old/new_rank in bad-status-setter.cpp/h

2 years ago[Refactor] #1578 Separated process_stun_effect() from stun()
Hourier [Wed, 22 Sep 2021 13:07:09 +0000 (22:07 +0900)]
[Refactor] #1578 Separated process_stun_effect() from stun()

2 years ago[Refactor] #1578 Separated clear_head() from stun()
Hourier [Wed, 22 Sep 2021 13:02:58 +0000 (22:02 +0900)]
[Refactor] #1578 Separated clear_head() from stun()

2 years ago[Refactor] #1578 Separated process_stun_status() from stun()
Hourier [Wed, 22 Sep 2021 13:01:34 +0000 (22:01 +0900)]
[Refactor] #1578 Separated process_stun_status() from stun()

2 years ago[Refactor] #1578 Separated PlayerClass::lose_balance() from stun()
Hourier [Wed, 22 Sep 2021 12:55:18 +0000 (21:55 +0900)]
[Refactor] #1578 Separated PlayerClass::lose_balance() from stun()

2 years ago[Refactor] #1578 Separated decrease_int_wis() from stun()
Hourier [Wed, 22 Sep 2021 12:46:41 +0000 (21:46 +0900)]
[Refactor] #1578 Separated decrease_int_wis() from stun()

2 years ago[Refactor] #1578 Separated process_cut_effect() from cut()
Hourier [Wed, 22 Sep 2021 12:42:22 +0000 (21:42 +0900)]
[Refactor] #1578 Separated process_cut_effect() from cut()

2 years ago[Refactor] #1578 Seaparated stop_blooding() from cut()
Hourier [Wed, 22 Sep 2021 12:37:22 +0000 (21:37 +0900)]
[Refactor] #1578 Seaparated stop_blooding() from cut()

2 years ago[Refactor] #1578 Separated decrease_charisma() from cut()
Hourier [Wed, 22 Sep 2021 12:34:49 +0000 (21:34 +0900)]
[Refactor] #1578 Separated decrease_charisma() from cut()

2 years ago[Refactor] #1578 Simplified BadStatusSetter::cut() by PlayerRace::can_resist_cut()
Hourier [Wed, 22 Sep 2021 12:27:58 +0000 (21:27 +0900)]
[Refactor] #1578 Simplified BadStatusSetter::cut() by PlayerRace::can_resist_cut()

2 years ago[Refactor] #1578 Replaced the content of BadStatusSetter::cut() from raw descriptions...
Hourier [Wed, 22 Sep 2021 12:10:55 +0000 (21:10 +0900)]
[Refactor] #1578 Replaced the content of BadStatusSetter::cut() from raw descriptions to the calls of PlayerCut

2 years ago[Refactor] #1578 Made a class 'PlayerCut'
Hourier [Mon, 20 Sep 2021 23:08:02 +0000 (08:08 +0900)]
[Refactor] #1578 Made a class 'PlayerCut'

2 years agoMerge pull request #1619 from habu1010/feature/delete-max-idx
Habu [Thu, 23 Sep 2021 07:22:07 +0000 (16:22 +0900)]
Merge pull request #1619 from habu1010/feature/delete-max-idx

[Refactor] max_*_idx を廃止する

2 years ago[Refactor] 不要になった max_*_idx を削除
Habu [Thu, 23 Sep 2021 06:51:59 +0000 (15:51 +0900)]
[Refactor] 不要になった max_*_idx を削除

*_info.size() を使用することにより不要になった max_*_idx を削除する。
また、misc.txt から *_info のサイズの定義も削除し、*_info をパース
しながら動的に必要なだけサイズを拡張していくようにする。

2 years ago[Refactor] max_*_idx の代わりに *_info.size() を使用する
Habu [Thu, 23 Sep 2021 06:51:59 +0000 (15:51 +0900)]
[Refactor] max_*_idx の代わりに *_info.size() を使用する

*_info を std::vector にした事でサイズを別管理する必要がなくなった。
二重管理は混乱の元なので *_info.size() を使用するようにする。

2 years agoMerge pull request #1620 from habu1010/feature/fix-windows-term-init
Habu [Thu, 23 Sep 2021 05:51:05 +0000 (14:51 +0900)]
Merge pull request #1620 from habu1010/feature/fix-windows-term-init

[Fix] 誤ってterm_dataへのポインタを初期化している

2 years ago[Fix] 誤ってterm_dataへのポインタを初期化している
Habu [Thu, 23 Sep 2021 05:41:11 +0000 (14:41 +0900)]
[Fix] 誤ってterm_dataへのポインタを初期化している

Fix #1618.
WIPE マクロを排除した時に term_data 本体でなくポインタの方を初期化
するようにしてしまっていた。

2 years agoMerge pull request #1604 from habu1010/feature/defeat-wipe-copy-macro
Habu [Thu, 23 Sep 2021 02:17:26 +0000 (11:17 +0900)]
Merge pull request #1604 from habu1010/feature/defeat-wipe-copy-macro

WIPE/C_WIPE/COPY マクロを削除する

2 years ago[Fix] ウィザードモードのID指定モンスター生成(N/n)が回数指定の事前入力のみを想定した仕様で手動指定が足りなかった、アーティファクト生成(C)同様の仕様を追加。
Deskull [Thu, 23 Sep 2021 00:03:17 +0000 (09:03 +0900)]
[Fix] ウィザードモードのID指定モンスター生成(N/n)が回数指定の事前入力のみを想定した仕様で手動指定が足りなかった、アーティファクト生成(C)同様の仕様を追加。

2 years agoMerge pull request #1612 from shimitei/feature/sound_level
shimitei [Wed, 22 Sep 2021 23:50:55 +0000 (08:50 +0900)]
Merge pull request #1612 from shimitei/feature/sound_level

[Implement] 階段の昇降時効果音を追加

2 years agoMerge pull request #1611 from backwardsEric/wizard-modifier-pch-fix
Hourier [Wed, 22 Sep 2021 23:43:10 +0000 (08:43 +0900)]
Merge pull request #1611 from backwardsEric/wizard-modifier-pch-fix

Include <array> so template deduction works for the modifier tables …

2 years ago[Implement] 階段の昇降時効果音を追加
shimitei [Mon, 20 Sep 2021 08:01:47 +0000 (17:01 +0900)]
[Implement] 階段の昇降時効果音を追加

- stairway 階段の昇降時

2 years agoInclude <array> so template deduction works for the modifier tables when precompiled...
Eric Branlund [Wed, 22 Sep 2021 20:58:29 +0000 (13:58 -0700)]
Include <array> so template deduction works for the modifier tables when precompiled headers are not used.  Resolves https://github.com/hengband/hengband/issues/1610 .

2 years agoMerge pull request #1608 from habu1010/feature/smith-activation-detect-unique
Habu [Wed, 22 Sep 2021 15:56:26 +0000 (00:56 +0900)]
Merge pull request #1608 from habu1010/feature/smith-activation-detect-unique

[Feature] 鍛冶:階のユニークモンスターを表示する発動

2 years agoMerge pull request #1606 from habu1010/feature/refactor-debug-cmd-menu-table
Habu [Wed, 22 Sep 2021 15:06:31 +0000 (00:06 +0900)]
Merge pull request #1606 from habu1010/feature/refactor-debug-cmd-menu-table

[Refactor] デバッグコマンドのメニューテーブルの型

2 years ago[Feature] 鍛冶:階のユニークモンスターを表示する発動
Habu [Wed, 22 Sep 2021 15:02:06 +0000 (00:02 +0900)]
[Feature] 鍛冶:階のユニークモンスターを表示する発動

2 years ago[Refactor] デバッグコマンドのメニューテーブルの型
Habu [Wed, 22 Sep 2021 14:23:57 +0000 (23:23 +0900)]
[Refactor] デバッグコマンドのメニューテーブルの型

std::vector<std::vector<std::string>> である必要はないので、
std::array<std::tuple<char, concptr>> にする。(std::array の推論補助を使用)
また、 constexpr 定数とする。

2 years ago[Delete] 不要になった COPY/WIPE/C_WIPE マクロを削除する
Habu [Wed, 22 Sep 2021 13:23:11 +0000 (22:23 +0900)]
[Delete] 不要になった COPY/WIPE/C_WIPE マクロを削除する

これらのマクロはもはやC++17においては無用の長物なので削除する。

2 years agoMerge pull request #1605 from Hourier/Fix-Compilation-Warning
Hourier [Wed, 22 Sep 2021 14:23:07 +0000 (23:23 +0900)]
Merge pull request #1605 from Hourier/Fix-Compilation-Warning

quark_add() においてコンパイル警告が出るのを修正した

2 years ago[Refactor] quark_add() においてコンパイル警告が出るのを修正した
Hourier [Wed, 22 Sep 2021 14:11:46 +0000 (23:11 +0900)]
[Refactor] quark_add() においてコンパイル警告が出るのを修正した