OSDN Git Service

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

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()