OSDN Git Service

hengbandforosx/hengbandosx.git
3 years ago[Fix] place_bold(p,y,x,ty) と place_grid(p,g,ty) の動作を同じにした
taotao54321 [Thu, 25 Feb 2021 15:49:57 +0000 (00:49 +0900)]
[Fix] place_bold(p,y,x,ty) と place_grid(p,g,ty) の動作を同じにした

これらは本来引数の形式が違うだけで同じことをするはずだが、実際は異なる動
作をしていた。このため、アリーナ外周が永久壁でなく花崗岩になる問題が生じ
ていた。
同じ動作にして問題ないと確認がとれたのでそのようにする。

3 years agoMerge pull request #297 from dis-/feature/Fix-Only-Item
dis- [Thu, 25 Feb 2021 11:45:16 +0000 (20:45 +0900)]
Merge pull request #297 from dis-/feature/Fix-Only-Item

[Feature] r_info.txt において、DROP_GOOD または DROP_GREAT を指定したら自動的にONLY_ITE…

3 years agoMerge pull request #298 from backwardsEric/english-monsters-misc-1
Deskull [Thu, 25 Feb 2021 11:44:31 +0000 (20:44 +0900)]
Merge pull request #298 from backwardsEric/english-monsters-misc-1

English: edits for post 2.2.1 monster additions

3 years agoMerge pull request #301 from dis-/feature/Fix-process_weapon_attack
dis- [Thu, 25 Feb 2021 09:18:28 +0000 (18:18 +0900)]
Merge pull request #301 from dis-/feature/Fix-process_weapon_attack

[Fix] 地震を起こす武器で地震が起こらない #286

3 years agoMerge pull request #296 from dis-/feature/Fix-Riding-Flag-Initialize
dis- [Thu, 25 Feb 2021 08:08:47 +0000 (17:08 +0900)]
Merge pull request #296 from dis-/feature/Fix-Riding-Flag-Initialize

[Fix] 特性フラグ一覧表示の2ページ目がランダムに緑や赤になる #295

3 years agoMerge pull request #292 from taotao54321/feature-editorconfig
taotao54321 [Thu, 25 Feb 2021 08:06:48 +0000 (17:06 +0900)]
Merge pull request #292 from taotao54321/feature-editorconfig

[Add] .editorconfig を追加

3 years ago[Fix] 地震を起こす武器で地震が起こらない #286
dis- [Thu, 25 Feb 2021 07:30:49 +0000 (16:30 +0900)]
[Fix] 地震を起こす武器で地震が起こらない #286

攻撃中の武器がimpactフラグを持っているかの判定に誤りがあった。
該当部を修正する。

3 years ago[Feature] r_info.txt において、DROP_GOOD または DROP_GREAT を指定したら自動的にONLY_ITEMフラグも付与したい #265
dis- [Thu, 25 Feb 2021 03:20:25 +0000 (12:20 +0900)]
[Feature] r_info.txt において、DROP_GOOD または DROP_GREAT を指定したら自動的にONLY_ITEMフラグも付与したい #265

DROP_GOODまたはDROP_GREATフラグがあるとき金貨を落とさず、アイテムのみを落とすように修正しました。

3 years agoEdit the English description of Pennywise to more strongly allude to the scene from...
Eric Branlund [Thu, 25 Feb 2021 03:16:44 +0000 (19:16 -0800)]
Edit the English description of Pennywise to more strongly allude to the scene from the 1990 TV movie, Stephen King's It:  https://quotes.net/mquote/1184602 .

3 years agoTo be more idiomatic, reworded the English description for the vespoid queen.
Eric Branlund [Thu, 25 Feb 2021 02:41:57 +0000 (18:41 -0800)]
To be more idiomatic, reworded the English description for the vespoid queen.

3 years ago[Fix] 特性フラグ一覧表示の2ページ目がランダムに緑や赤になる #295
dis- [Wed, 24 Feb 2021 23:48:50 +0000 (08:48 +0900)]
[Fix] 特性フラグ一覧表示の2ページ目がランダムに緑や赤になる #295

display_player_flag_info_2()内での初期化処理が漏れていた。
重複コードがこのようなバグの原因であるため、処理の重複を解消する。

3 years agoChange the first part of the English description for the middle titan to a complete...
Eric Branlund [Wed, 24 Feb 2021 22:34:34 +0000 (14:34 -0800)]
Change the first part of the English description for the middle titan to a complete sentence.  Break off the second phrase of the last sentence into a sentence of its own; try to keep the same meaning but swap the subject and object with a change of the verb.

3 years agoTo be more idiomatic, switch second "with" to "on" in the English description for...
Eric Branlund [Wed, 24 Feb 2021 22:26:18 +0000 (14:26 -0800)]
To be more idiomatic, switch second "with" to "on" in the English description for the rotten beholder.

3 years agoIn the English description for the Lycian Chimaera, combined the first, incomplete...
Eric Branlund [Wed, 24 Feb 2021 22:22:35 +0000 (14:22 -0800)]
In the English description for the Lycian Chimaera, combined the first, incomplete sentence, with the second sentence.  Drop an unnecessary possesive in the last sentence.

3 years agoPrimarily for clarity, reworded the first part of the English description of Orthus...
Eric Branlund [Wed, 24 Feb 2021 22:10:00 +0000 (14:10 -0800)]
Primarily for clarity, reworded the first part of the English description of Orthus.  Added articles and change "Namea" to the usual spelling "Nemea" (see https://en.wikipedia.org/wiki/Orthrus ).

3 years agoTo be more direct, change the second phrase in the English description for Echidna...
Eric Branlund [Wed, 24 Feb 2021 21:59:45 +0000 (13:59 -0800)]
To be more direct, change the second phrase in the English description for Echidna to a simple sentence.

3 years agoIn the English description for moai, add an indefinite article to be more idiomatic...
Eric Branlund [Wed, 24 Feb 2021 21:50:50 +0000 (13:50 -0800)]
In the English description for moai, add an indefinite article to be more idiomatic and a descriptive clause for the ion rings to better match Google Translate's result and to mark the difference from the source material (villains in the Gradius series).

3 years agoAccording to Google Translate, the original English translation for small moai descri...
Eric Branlund [Wed, 24 Feb 2021 21:48:17 +0000 (13:48 -0800)]
According to Google Translate, the original English translation for small moai description is negated relative to the Japanese.  Negating again so they align.

3 years agoTo be more idiomatic, reword the English description for skaven warrior.
Eric Branlund [Wed, 24 Feb 2021 19:58:18 +0000 (11:58 -0800)]
To be more idiomatic, reword the English description for skaven warrior.

3 years agoTo be more idiomatic, reword second part of the dracolisk's English description.
Eric Branlund [Wed, 24 Feb 2021 19:22:52 +0000 (11:22 -0800)]
To be more idiomatic, reword second part of the dracolisk's English description.

3 years ago[Add] .editorconfig を追加
taotao54321 [Wed, 24 Feb 2021 14:29:44 +0000 (23:29 +0900)]
[Add] .editorconfig を追加

新規ファイルを追加する際、エンコーディングなどが統一されないミスが生じて
いたので、自動で統一されるよう .editorconfig を追加する。

設定は以下の通り:

* エンコーディング: UTF-8-BOM
* ファイル末尾の改行: あり

改行コードについては git 側の設定と干渉して全行変更扱いにされるなどの事
故が考えられるため、ここでは指定しない。

3 years agoMerge pull request #288 from dis-/feature/Fix-Riding-Levitation
dis- [Wed, 24 Feb 2021 13:57:40 +0000 (22:57 +0900)]
Merge pull request #288 from dis-/feature/Fix-Riding-Levitation

[Feature] 騎乗時の浮遊処理の仕様を修正 #285

3 years agoMerge pull request #281 from taotao54321/fix-x11-selection
taotao54321 [Wed, 24 Feb 2021 13:47:34 +0000 (22:47 +0900)]
Merge pull request #281 from taotao54321/fix-x11-selection

[Fix] X11 ドライバで画面コピーに失敗するのを修正 #215

3 years ago[Feature] 騎乗時の浮遊処理の仕様を修正 #285
dis- [Wed, 24 Feb 2021 13:17:15 +0000 (22:17 +0900)]
[Feature] 騎乗時の浮遊処理の仕様を修正 #285

乗馬時、プレイヤーの浮遊を無視して乗馬の浮遊をそのまま適用する。
この変更に際してプレイヤーの浮遊装備が無効になっていることをステータス表示画面で視認できるように変更した。
乗馬により浮遊が無効になっているときは該当行を赤くして右端に-を表記。
乗馬により浮遊が有効になっているときは該当行を緑にして右端に+を表記。

3 years agoMerge pull request #290 from iks3/fix/mane-flag
iks [Wed, 24 Feb 2021 13:39:25 +0000 (22:39 +0900)]
Merge pull request #290 from iks3/fix/mane-flag

Fix: display reverse imitation status. #289

3 years ago[Fix] X11 ドライバで画面コピーに失敗するのを修正
taotao54321 [Wed, 24 Feb 2021 02:10:06 +0000 (11:10 +0900)]
[Fix] X11 ドライバで画面コピーに失敗するのを修正

コピー対象文字列が空白のみからなる場合にバッファオーバーランしていたので、
ついでに修正。

3 years ago[Refactor] コード整形
dis- [Wed, 24 Feb 2021 13:14:19 +0000 (22:14 +0900)]
[Refactor] コード整形

clang-formatを適用

3 years agoFix: display reverse imitation status. #289
iks [Wed, 24 Feb 2021 13:10:58 +0000 (22:10 +0900)]
Fix: display reverse imitation status. #289

3 years agoMerge pull request #282 from sikabane-works/feature/fix-player-status-flags
Deskull [Wed, 24 Feb 2021 11:00:21 +0000 (20:00 +0900)]
Merge pull request #282 from sikabane-works/feature/fix-player-status-flags

[Fix] #280 player-status-flags.c 内で論理和計算すべきところを即値代入しているミスを修正.

3 years ago[Fix] さらに has_see_nocto() の抜けをさらに修正. / Fix player-status-flags.c again at has_see_noc...
deskull [Wed, 24 Feb 2021 09:55:23 +0000 (18:55 +0900)]
[Fix] さらに has_see_nocto() の抜けをさらに修正. / Fix player-status-flags.c again at has_see_nocto().

3 years ago[Fix] #280 player-status-flags.c 内で論理和計算すべきところを即値代入しているミスを修正. / Corrected a mistake...
deskull [Wed, 24 Feb 2021 03:24:17 +0000 (12:24 +0900)]
[Fix] #280 player-status-flags.c 内で論理和計算すべきところを即値代入しているミスを修正. / Corrected a mistake in assigning an immediate value where the logical sum should be calculated in player-status-flags.c.

3 years ago[Refactor] main-x11.c の整形
taotao54321 [Wed, 24 Feb 2021 01:22:42 +0000 (10:22 +0900)]
[Refactor] main-x11.c の整形

3 years agoMerge pull request #248 from dis-/feature/Refactor-resistance-checker
dis- [Tue, 23 Feb 2021 22:26:22 +0000 (07:26 +0900)]
Merge pull request #248 from dis-/feature/Refactor-resistance-checker

[Refacotr] resistance-checkerのBIT_FLAGS演算をマクロで置換

3 years agoMerge pull request #275 from habu1010/feature/fix-unconnected-stair
Habu [Tue, 23 Feb 2021 14:30:13 +0000 (23:30 +0900)]
Merge pull request #275 from habu1010/feature/fix-unconnected-stair

[fix] テレポートレベル巻物で下の階へ移動してから階段を登ると巻物を読んだ場所に出ることがある #192

3 years agoMerge pull request #277 from dis-/feature/Fix-Autospoiler-spelldamage
dis- [Tue, 23 Feb 2021 14:15:28 +0000 (23:15 +0900)]
Merge pull request #277 from dis-/feature/Fix-Autospoiler-spelldamage

[Fix] 自動生成スポイラーに魔法・ブレスの威力を表示

3 years ago[Fix] 自動生成スポイラーに魔法・ブレスの威力を表示
dis- [Tue, 23 Feb 2021 13:45:56 +0000 (22:45 +0900)]
[Fix] 自動生成スポイラーに魔法・ブレスの威力を表示

自動生成スポイラーに魔法・ブレスの威力表示を追加。

3 years agoMerge pull request #276 from iks3/fix-wild-only-and-ocean
iks [Tue, 23 Feb 2021 13:31:53 +0000 (22:31 +0900)]
Merge pull request #276 from iks3/fix-wild-only-and-ocean

[Fix] WILD_ONLYとWILD_OCEANを同時に持つと荒野に登場しない #274

3 years ago[Fix] Monsters which have WILD_ONLY and WILD_OCEAN flags sametime can not appear...
iks [Tue, 23 Feb 2021 13:11:40 +0000 (22:11 +0900)]
[Fix] Monsters which have WILD_ONLY and WILD_OCEAN flags sametime can not appear in wild maps. #274

mon_hook_dungeon() always returns TRUE for WILD_ONLY monsters when player is not in dungeons and not in quests, because other hook limits monsters which can appear in wild maps.

3 years ago[fix] テレポートレベル巻物で下の階へ移動してから階段を登ると巻物を読んだ場所に出ることがある #192
Habu [Tue, 23 Feb 2021 12:52:09 +0000 (21:52 +0900)]
[fix] テレポートレベル巻物で下の階へ移動してから階段を登ると巻物を読んだ場所に出ることがある #192

レベルテレポートで移動した時に移動元フロアの階段から適当なものを
選んで移動先のフロアにつなげる処理が呼ばれていないため、移動元
フロアの最後に居た位置に戻ってしまうのが原因。
そもそも上述の処理が呼ばれていない原因となっている、フロアIDを
新規に取得する処理が不要だと思われる(後に再度取得されている)
ので、その部分の処理を削除して階段をつなげる処理が必ず
行われるようにする。

3 years agoMerge pull request #268 from iks3/fix-aquatics-in-mountain
iks [Tue, 23 Feb 2021 11:57:06 +0000 (20:57 +0900)]
Merge pull request #268 from iks3/fix-aquatics-in-mountain

[Fix] Aquatic monsters appear in moutain or volcano dungeons. #51

3 years agoMerge pull request #272 from habu1010/feature/wizard-cmd-kill-enemy
Habu [Tue, 23 Feb 2021 09:01:39 +0000 (18:01 +0900)]
Merge pull request #272 from habu1010/feature/wizard-cmd-kill-enemy

[feature] 敵を一撃で倒すデバッグコマンド #234

RES_ALL持ちだけには効果が無いですが、デバッグコマンドという限られたシチュエーションでの使用でさらに数少ないRES_ALL持ちのためだけに例外的なコードを入れるのもいかがなものかと思うので、これでマージしようと思います。
RES_ALLは超弓矢とかを作って倒すってことで。

3 years ago[feature] 敵を一撃で倒すデバッグコマンド #234
Habu [Tue, 23 Feb 2021 08:09:04 +0000 (17:09 +0900)]
[feature] 敵を一撃で倒すデバッグコマンド #234

敵を倒した時の挙動が確認しやすくなるように、敵を一撃で
倒すデバッグコマンドを追加する。
発動は ^A y で、目当ての敵を倒す以外の作用が起きない
ように、GF_MISSILE属性でダメージ100万・半径0の
ボールを放つ。

3 years agoMerge pull request #270 from iks3/feature-find-keyword
iks [Tue, 23 Feb 2021 07:12:41 +0000 (16:12 +0900)]
Merge pull request #270 from iks3/feature-find-keyword

[Feature] Draw line with different colors in show_file()'s keyword finding. #211

3 years agoMerge pull request #271 from dis-/feature/Fix-snprintf
dis- [Tue, 23 Feb 2021 06:18:03 +0000 (15:18 +0900)]
Merge pull request #271 from dis-/feature/Fix-snprintf

[Fix] snprintfの第二引数を訂正 #267

3 years ago[Fix] snprintfの第二引数を訂正 #267
dis- [Tue, 23 Feb 2021 06:06:21 +0000 (15:06 +0900)]
[Fix] snprintfの第二引数を訂正 #267

snprintfの第二引数はバッファの最大長を指定するべきと指摘があったので修正。

3 years agoMerge pull request #269 from dis-/feature/Fix-Magic-Armor
dis- [Tue, 23 Feb 2021 05:51:10 +0000 (14:51 +0900)]
Merge pull request #269 from dis-/feature/Fix-Magic-Armor

[Fix] 魔法の鎧使用時、実際には浮遊していない

3 years agoMerge pull request #266 from dis-/feature/Fix-Keep-Subwindows
dis- [Tue, 23 Feb 2021 05:49:18 +0000 (14:49 +0900)]
Merge pull request #266 from dis-/feature/Fix-Keep-Subwindows

[Fix] #247のサブウィンドウ関連オプションをウィンドウズのメニュー処理に移行

3 years ago[Feature] Draw line with different colors between keyword matched line or not in...
iks [Tue, 23 Feb 2021 05:48:10 +0000 (14:48 +0900)]
[Feature] Draw line with different colors between keyword matched line or not in show_file(). #211

show_file() function is used in ex. '我が家のアイテム' and helps.

3 years ago[Fix] 魔法の鎧使用時、実際には浮遊していない
dis- [Tue, 23 Feb 2021 05:16:58 +0000 (14:16 +0900)]
[Fix] 魔法の鎧使用時、実際には浮遊していない

表示のみ浮遊になっているが、実際に浮遊を付与する処理が漏れていた。
該当箇所を修正。

3 years ago[Fix] Aquatic monsters appear in moutain or volcano dungeons. #51
iks [Tue, 23 Feb 2021 03:55:12 +0000 (12:55 +0900)]
[Fix] Aquatic monsters appear in moutain or volcano dungeons. #51

Also allow them which have a wild flag fitting current dungeon to appear in there.

3 years ago[Fix] #247のサブウィンドウ関連オプションをウィンドウズのメニュー処理に移行
dis- [Tue, 23 Feb 2021 02:32:02 +0000 (11:32 +0900)]
[Fix] #247のサブウィンドウ関連オプションをウィンドウズのメニュー処理に移行

keep_subwindowsの所作はwindowsのみに影響があるので、ゲームメニューオプションにあるべきではなかった。
オプションからは削除し、メニュー処理として改めて実装する。
ウィンドウズ固有の処理なので、保存領域としてはHengband.INIを使用する。

3 years agoMerge pull request #261 from dis-/feature/Fix-ini-path
dis- [Tue, 23 Feb 2021 02:22:50 +0000 (11:22 +0900)]
Merge pull request #261 from dis-/feature/Fix-ini-path

[Feature] hengband.iniに刻まれるセーブファイルのpathをexeからの相対pathにして欲しい #181

3 years ago[Feature] hengband.iniに刻まれるセーブファイルのpathをexeからの相対pathにして欲しい #181
dis- [Mon, 22 Feb 2021 15:43:22 +0000 (00:43 +0900)]
[Feature] hengband.iniに刻まれるセーブファイルのpathをexeからの相対pathにして欲しい #181

常に相対パスにすると、特定のフォルダにセーブファイルを固める運用をしている人が困る。
Hengband.exeの存在するフォルダより下の階層にセーブファイルがあるときのみ、相対パスを指定するよう設定した。
相対パス指定ではGetOpenFileNameが期待通り動いてくれないので、フルパスに展開して渡すようにする。

3 years agoMerge pull request #262 from habu1010/feature/fix-unexpected-newline
Habu [Mon, 22 Feb 2021 17:40:11 +0000 (02:40 +0900)]
Merge pull request #262 from habu1010/feature/fix-unexpected-newline

[fix] 思い出の改行位置がおかしい #17

3 years ago[fix] 思い出の改行位置がおかしい #17
Habu [Mon, 22 Feb 2021 16:56:04 +0000 (01:56 +0900)]
[fix] 思い出の改行位置がおかしい #17

思い出を描画中にASCII文字で端末の右端に到達した場合、
区切りの良い場所から次の行へ移動させるために
遡って半角スペースを探しているが、直前が日本語の
全角文字だった場合にスペースがみつかるまで
大幅に遡ってしまい、改行位置がおかしくなる。
遡った時に半角スペースに加え、全角文字である場合も
探すのを終了するべきだが、全角文字の2バイト目のコードが
SHIFT-JISの場合ASCIIとコードが被っており後ろからの
検索では全角文字の2バイト目の正確な判定ができないので、
行の先頭からASCIIと全角文字を読み分けながら次の行へ
移す位置を探すように修正する。

3 years agoMerge pull request #240 from taotao54321/fix-restore-latest-visit-mark
taotao54321 [Mon, 22 Feb 2021 14:18:26 +0000 (23:18 +0900)]
Merge pull request #240 from taotao54321/fix-restore-latest-visit-mark

[Fix] ロード時に latest_visit_mark を復元

3 years agoMerge pull request #252 from iks3/fix-sniper-rushing-arrow
iks [Mon, 22 Feb 2021 11:28:56 +0000 (20:28 +0900)]
Merge pull request #252 from iks3/fix-sniper-rushing-arrow

[Fix] drawing sniper rushing arrow's moving points #251

3 years ago[Fix] drawing sniper rushing arrow's moving points #251
iks [Mon, 22 Feb 2021 11:22:54 +0000 (20:22 +0900)]
[Fix] drawing sniper rushing arrow's moving points #251

Fix drawing oddly moving points of monster which is rushed by rushing arrow with many @s because update_monster() reference wrong monster's index.

3 years ago[Refacotr] resistance-checkerのBIT_FLAGS演算をマクロで置換
dis- [Mon, 22 Feb 2021 08:37:53 +0000 (17:37 +0900)]
[Refacotr] resistance-checkerのBIT_FLAGS演算をマクロで置換

可読性向上のため、BIT_FLAGS演算をマクロで置換する。
動作は変更しない。

3 years agoMerge pull request #247 from dis-/feature/Implement-KeepSubwindow
dis- [Mon, 22 Feb 2021 03:30:44 +0000 (12:30 +0900)]
Merge pull request #247 from dis-/feature/Implement-KeepSubwindow

[Implement] アプリを切り替えてもサブウィンドウが消えないオプションが欲しい #14

3 years ago[Implement] アプリを切り替えてもサブウィンドウが消えないオプションが欲しい #14
dis- [Mon, 22 Feb 2021 03:21:38 +0000 (12:21 +0900)]
[Implement] アプリを切り替えてもサブウィンドウが消えないオプションが欲しい #14

オプションkeep_subwindowsを新設する。
このオプションが有効なとき、Hengbandがフォーカスを失うときにサブウィンドウを表示する。

3 years agoMerge pull request #245 from sikabane-works/release/3.0.0Alpha8
Deskull [Sun, 21 Feb 2021 15:37:04 +0000 (00:37 +0900)]
Merge pull request #245 from sikabane-works/release/3.0.0Alpha8

[Version] 3.0.0Alpha8

3 years ago[Version] 3.0.0Alpha8
deskull [Sun, 21 Feb 2021 15:28:48 +0000 (00:28 +0900)]
[Version] 3.0.0Alpha8

3 years agoMerge pull request #243 from Hourier/hotfix/Fix-Blood-Sucking-Flag
Hourier [Sun, 21 Feb 2021 14:32:57 +0000 (23:32 +0900)]
Merge pull request #243 from Hourier/hotfix/Fix-Blood-Sucking-Flag

Hotfix/fix blood sucking flag

3 years ago[Fix] #241 吸血の対象判定が逆になっていたのを修正した / Resolved the issue that the target of races for...
Hourier [Sun, 21 Feb 2021 14:23:13 +0000 (23:23 +0900)]
[Fix] #241 吸血の対象判定が逆になっていたのを修正した / Resolved the issue that the target of races for blood sucking was reversed

3 years ago[Fix] ロード時に latest_visit_mark を復元
taotao54321 [Sun, 21 Feb 2021 13:37:33 +0000 (22:37 +0900)]
[Fix] ロード時に latest_visit_mark を復元

Fixes #239.

起動時の `latest_visit_mark` の値が 1 固定だったため、セーブ/ロードを挟
むと保存フロアがいっぱいになったときの削除順がおかしくなっていた。

ロード時に全ての保存済みフロアについての `visit_mark` の最大値 + 1 を
`latest_visit_mark` の値とすることで解決。

3 years agoMerge pull request #238 from dis-/feature/Fix-has_icky_wield_weapon
dis- [Sun, 21 Feb 2021 12:02:43 +0000 (21:02 +0900)]
Merge pull request #238 from dis-/feature/Fix-has_icky_wield_weapon

[Fix] スペルマスター、プリーストが盾装備時ふさわしくない武器判定される

3 years ago[Fix] スペルマスター、プリーストが盾装備時ふさわしくない武器判定される
dis- [Sun, 21 Feb 2021 11:55:19 +0000 (20:55 +0900)]
[Fix] スペルマスター、プリーストが盾装備時ふさわしくない武器判定される

has_icky_wield_weapon()内の判定にて、盾装備が許可されていなかった。
従来の仕様に合わせて修正する。

3 years agoMerge pull request #227 from iks3/artifact-from-xangband
iks [Sun, 21 Feb 2021 11:01:15 +0000 (20:01 +0900)]
Merge pull request #227 from iks3/artifact-from-xangband

Add: 3 artifacts from XAngband. #225

3 years agoMerge pull request #236 from dis-/feature/Fix-Fresh-Once-Save
dis- [Sun, 21 Feb 2021 06:53:41 +0000 (15:53 +0900)]
Merge pull request #236 from dis-/feature/Fix-Fresh-Once-Save

[Fix] fresh_onceオプションをセーブできない

3 years ago[Fix] fresh_onceオプションをセーブできない
dis- [Sun, 21 Feb 2021 05:43:38 +0000 (14:43 +0900)]
[Fix] fresh_onceオプションをセーブできない

option_typeのo_bitを保存している領域の都合上、o_bitは0~31しか記録できないようである。
そのため、fresh_onceをTRUEでセーブしても次回起動時デフォルトのFALSEになっていた。
今回は空き番号を使用して回避する。

3 years agoMerge pull request #222 from dis-/feature/Fix-get_artifact_index 3.0.0Alpha7
dis- [Sun, 21 Feb 2021 02:16:39 +0000 (11:16 +0900)]
Merge pull request #222 from dis-/feature/Fix-get_artifact_index

Feature/fix get artifact index

3 years ago[Fix] サウロンが確率ドロップを両方落とす #212
dis- [Sat, 20 Feb 2021 13:24:52 +0000 (22:24 +0900)]
[Fix] サウロンが確率ドロップを両方落とす #212

モンスター固有のアーティファクトをドロップする処理 get_artifact_index()内にて、複数のドロップ候補がある場合の処理に問題があった。
一つ目の候補がドロップした時点で処理を打ち切っていないため、二つ以上の候補が同時にドロップする場合があった。
フレーバー等を考慮し、ドロップが一つ確定した時点で以降の処理を打ち切る。

サウロンのドロップテーブルの数値がおかしくく、金無垢の指輪を100%ドロップしていたので、これを修正し正しい数値の10%とする。

仕様変更によりスルトがオーブしか落とさなくなるので、オーブ50%ドロップ、オーブを落とさなかったとき神々の黄昏ドロップに仕様変更とする。

get_artifact_index()内にartifact生成の処理があることから、関数名をdrop_artifact_index()に変更する。

3 years agoMerge pull request #230 from sikabane-works/release/3.0.0Alpha7
Habu [Sun, 21 Feb 2021 01:28:56 +0000 (10:28 +0900)]
Merge pull request #230 from sikabane-works/release/3.0.0Alpha7

[Version] 3.0.0Alpha7

3 years agoMerge pull request #233 from sikabane-works/release/3.0.0Alpha7
Deskull [Sun, 21 Feb 2021 01:24:36 +0000 (10:24 +0900)]
Merge pull request #233 from sikabane-works/release/3.0.0Alpha7

Release/3.0.0 alpha7

3 years ago[Version] 3.0.0Alpha7
deskull [Sat, 20 Feb 2021 16:28:16 +0000 (01:28 +0900)]
[Version] 3.0.0Alpha7

3 years agoMerge pull request #232 from iks3/avoid-auto-debug-save-erasing-inkey-queue
Deskull [Sun, 21 Feb 2021 00:42:55 +0000 (09:42 +0900)]
Merge pull request #232 from iks3/avoid-auto-debug-save-erasing-inkey-queue

セーブ直後にキャラクターが移動できない #231

3 years agoFix: avoid auto debug saving erasing inkey queue #231
iks [Sat, 20 Feb 2021 17:41:28 +0000 (02:41 +0900)]
Fix: avoid auto debug saving erasing inkey queue #231

non-macro commands do not occuring auto debug saving while they are running, because save_player() function erases inkey queue after saving and result of it inkey() function waits next key input unexpectedly.

3 years agoMerge pull request #224 from habu1010/feature/workflow-publishing-spoiler-page
Deskull [Sat, 20 Feb 2021 16:11:51 +0000 (01:11 +0900)]
Merge pull request #224 from habu1010/feature/workflow-publishing-spoiler-page

[feature] 自動生成スポイラーのサイトをpublishするWorkflow

3 years agoAdd: 3 artifacts from XAngband. #225
iks [Sat, 20 Feb 2021 14:36:25 +0000 (23:36 +0900)]
Add: 3 artifacts from XAngband. #225

3 years ago[feature] 自動生成スポイラーのサイトをpublishするWorkflow
Habu [Sat, 20 Feb 2021 13:08:02 +0000 (22:08 +0900)]
[feature] 自動生成スポイラーのサイトをpublishするWorkflow

https://hengband.github.io/spoiler/ に
自動生成スポイラーを自動的に生成してアップロードする
GitHub Actions workflow

3 years agoMerge pull request #223 from Hourier/feature/Refactor-Monsters-Alpha7
Deskull [Sat, 20 Feb 2021 14:05:05 +0000 (23:05 +0900)]
Merge pull request #223 from Hourier/feature/Refactor-Monsters-Alpha7

Feature/refactor monsters alpha7

3 years ago[Refactor] #41042 Fixed the flavor texts of aqua illusions
Hourier [Sat, 20 Feb 2021 05:56:27 +0000 (14:56 +0900)]
[Refactor] #41042 Fixed the flavor texts of aqua illusions

3 years ago[Refactor] #41042 『ソラリス』のパラメータを調整した / Adjusted the parameters of Solaris
Hourier [Thu, 18 Feb 2021 09:23:30 +0000 (18:23 +0900)]
[Refactor] #41042 『ソラリス』のパラメータを調整した / Adjusted the parameters of Solaris

3 years ago[Refactor] #41042 『ビッグキューちゃん』の打撃を少し弱めた / Decreased the attack dices of Raphael (big...
Hourier [Tue, 16 Feb 2021 11:21:03 +0000 (20:21 +0900)]
[Refactor] #41042 『ビッグキューちゃん』の打撃を少し弱めた / Decreased the attack dices of Raphael (big raven)

3 years ago[Refactor] #41042 ドラウグル・デスロードのレアリティを1から2に下げた / Decreased the rarity of draugr deathlo...
Hourier [Sun, 14 Feb 2021 15:35:59 +0000 (00:35 +0900)]
[Refactor] #41042 ドラウグル・デスロードのレアリティを1から2に下げた / Decreased the rarity of draugr deathlord from 1 to 2

3 years ago[Refactor] #41042 『アルドゥイン』の打撃属性を変更した / Changed the effect of Alduin's blow
Hourier [Sun, 14 Feb 2021 15:34:48 +0000 (00:34 +0900)]
[Refactor] #41042 『アルドゥイン』の打撃属性を変更した / Changed the effect of Alduin's blow

3 years ago[Refactor] #41042 『ケルベロス』のパラメータを最深層ユニークに相応しく調整した / Adjusted the parameters of Cerberu...
Hourier [Sun, 14 Feb 2021 13:15:20 +0000 (22:15 +0900)]
[Refactor] #41042 『ケルベロス』のパラメータを最深層ユニークに相応しく調整した / Adjusted the parameters of Cerberus in order to become a suitable monster in 90F or deeper

3 years ago[Refactor] #41042 泡の経験値を調整した / Adjusted EXP of aqua illusions
Hourier [Sun, 14 Feb 2021 09:50:56 +0000 (18:50 +0900)]
[Refactor] #41042 泡の経験値を調整した / Adjusted EXP of aqua illusions

3 years agoMerge pull request #213 from dis-/feature/Implement-Shoot-Slaying
dis- [Sat, 20 Feb 2021 12:58:31 +0000 (21:58 +0900)]
Merge pull request #213 from dis-/feature/Implement-Shoot-Slaying

Feature/implement shoot slaying

3 years agoMerge pull request #199 from dis-/feature/Fix-Option
dis- [Sat, 20 Feb 2021 12:51:07 +0000 (21:51 +0900)]
Merge pull request #199 from dis-/feature/Fix-Option

[Feature] fresh_afterコマンドの分割

3 years agoMerge pull request #209 from dis-/feature/Spoiler-Wild
dis- [Sat, 20 Feb 2021 12:49:17 +0000 (21:49 +0900)]
Merge pull request #209 from dis-/feature/Spoiler-Wild

[Implement] 荒野に出現するモンスター一覧のスポイラー出力

3 years agoMerge pull request #125 from taotao54321/fix-ensure-connected-floor
taotao54321 [Sat, 20 Feb 2021 12:46:40 +0000 (21:46 +0900)]
Merge pull request #125 from taotao54321/fix-ensure-connected-floor

[Feature] ダンジョンフロアが連結でないとき再生成を試みる

3 years agoMerge pull request #205 from sikabane-works/feature/fix-do_get_mon_num_prep
Deskull [Sat, 20 Feb 2021 12:22:22 +0000 (21:22 +0900)]
Merge pull request #205 from sikabane-works/feature/fix-do_get_mon_num_prep

Feature/fix do get mon num prep

3 years ago[Fix] ★スリング『ジャイアント・キリング』のスレイングが効いていない #135
dis- [Sat, 20 Feb 2021 12:10:27 +0000 (21:10 +0900)]
[Fix] ★スリング『ジャイアント・キリング』のスレイングが効いていない #135

射撃武器側のスレイングが未実装であった件を解決した。
暫定の仕様として、弓と矢のスレイングのうち一番高いものだけが採用される。
弓のスレイングは非常に強力なので、今後の取扱には注意を要する。

3 years ago[Refactor] shoot.cのBIT_FLAGS演算をマクロを用いて整理
dis- [Sat, 20 Feb 2021 11:29:06 +0000 (20:29 +0900)]
[Refactor] shoot.cのBIT_FLAGS演算をマクロを用いて整理

可読性確保のため。このコミットでは動作をほぼ変更しない。
ただし826行はフラグ反転していたので、この機会に修正する。

3 years agoMerge pull request #206 from dis-/feature/Refactor-player-status
dis- [Sat, 20 Feb 2021 09:47:20 +0000 (18:47 +0900)]
Merge pull request #206 from dis-/feature/Refactor-player-status

[Refactor] player-statusのBIT_FLAGS処理をマクロを用いて表記

3 years agoMerge pull request #189 from habu1010/feature/output-spoiler-optoins-for-unix
Deskull [Sat, 20 Feb 2021 07:37:08 +0000 (16:37 +0900)]
Merge pull request #189 from habu1010/feature/output-spoiler-optoins-for-unix

[feature] UNIX系環境用のスポイラーを出力するオプション

3 years ago[Implement] 荒野に出現するモンスター一覧のスポイラー出力
dis- [Sat, 20 Feb 2021 06:46:03 +0000 (15:46 +0900)]
[Implement] 荒野に出現するモンスター一覧のスポイラー出力

スポイラー一覧出力を拡張し、WILD_*フラグを保持するモンスターの一覧を出力するように変更した。

3 years ago[Feature] fresh_before/after/messageとfresh_onceの競合時の処理
dis- [Sat, 20 Feb 2021 05:01:42 +0000 (14:01 +0900)]
[Feature] fresh_before/after/messageとfresh_onceの競合時の処理

これまでfresh_*のオプションの描写タイミングが競合することはなかったが、fresh_onceは描写を制限するため競合することがある。
オプションの選択肢を最大化するため、fresh_onceで描写を制限していてもその他オプションの描画タイミングは強制的に描写を行うよう変更する。
描写回数を最低にしたいプレイヤーはfresh_onceをON、他をOFFにすれば良い。