OSDN Git Service
Hourier [Thu, 11 Feb 2021 12:04:51 +0000 (21:04 +0900)]
v3.0.0 Alpha5 OSDN最終版
以後の開発は全てGitHubで行っていきます
各種不具合報告・アイディア提供等はOSDNのチケットでも一部引き続き行っていきますが、いずれGitHubのIssue機能等に統合していく予定です
https://github.com/hengband/
Hourier [Thu, 11 Feb 2021 12:04:11 +0000 (21:04 +0900)]
Merge branch 'release/3.0.0Alpha5'
deskull [Sun, 7 Feb 2021 12:29:43 +0000 (21:29 +0900)]
[Version] 3.0.0Alpha5
deskull [Sun, 7 Feb 2021 12:15:42 +0000 (21:15 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Refactor-Monster-Alpha5' into develop
deskull [Sun, 7 Feb 2021 12:08:41 +0000 (21:08 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-Auto-More' into develop
deskull [Sun, 7 Feb 2021 12:04:09 +0000 (21:04 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-window-redrawer' into develop
deskull [Sun, 7 Feb 2021 11:58:01 +0000 (20:58 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-Compile-on-Linux' into develop
deskull [Sun, 7 Feb 2021 11:54:09 +0000 (20:54 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Relocate-score-server' into develop
dis- [Sun, 7 Feb 2021 11:50:49 +0000 (20:50 +0900)]
[Fix] クイックメッセージの挙動が以前と異なる
Auto-MoreがONで被弾したときのメッセージ送りの挙動が以前と異なっている。
以前の挙動と同じ状態に戻す。
dis- [Sun, 7 Feb 2021 11:34:21 +0000 (20:34 +0900)]
[Fix] 同じ行が2回ある
編集ミス。修正する。
dis- [Sun, 7 Feb 2021 11:28:42 +0000 (20:28 +0900)]
[Fix] Auto-MoreがOFFのとき、過剰に-more-がカットされる
is_msg_window_flowed()を分離する際、そのロジックを使用する箇所を間違えていた。
以前の実装に合わせるのであれば、auto-more ONのときのメッセージ流量を調節するために使用するのが正しい。
auto-more OFFのときは単にnum_moreの値によってmoreの表示有無を決定する。
Habu [Sun, 7 Feb 2021 10:35:43 +0000 (19:35 +0900)]
[fix] #41495 Linux/Unix系OS用の修正を追加
save_playerの引数変更に追従していないためコンパイルエラーが発生する。
引数をSAVE_TYPE_CLOSE_GAMEに修正する。
deskull [Sun, 7 Feb 2021 10:30:31 +0000 (19:30 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-mindcrafter-crash' into develop
deskull [Sun, 7 Feb 2021 09:58:22 +0000 (18:58 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-Throw-Redraw' into develop
deskull [Sun, 7 Feb 2021 08:34:10 +0000 (17:34 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-Sanity-Blast-by-AutoSave' into develop
Habu [Sun, 7 Feb 2021 08:22:21 +0000 (17:22 +0900)]
[fix] MPの無い職業に設定される定数を定義
m_info.txtにおいて、MPの無い職業のspell_firstに99を設定するが、
ソースコード上ではマジックナンバーとならないように
SPELL_FIRST_NO_SPELL を定義して使用する。
Habu [Sun, 7 Feb 2021 08:04:40 +0000 (17:04 +0900)]
[update] #41432 スコアサーバ移設
スコア送信先URLをOSDNからmarsに変更する。
Habu [Sun, 7 Feb 2021 07:08:05 +0000 (16:08 +0900)]
[fix] #41503 超能力者でゲームを開始しようとするとクラッシュ
超能力者(および青魔道師と鏡使い)は、m_info.txtでspell_bookにLIFEが
設定されている。
calc_spells()において最初にspell_bookをチェックしてNONEであれば
関数を抜けるようになっているが、spell_bookにLIFEが設定されているため
通過してしまい、realmsが設定されていないので後の配列インデックスの
計算結果で配列外アクセスを引き起こしている。
そもそも魔法書が設定されているのがおかしいのでこれら3つの職業の
spell_bookはNONEにする。
ただし、spell_bookはMPの計算時にも見ており、spell_bookをNONEに
しただけではMPの計算が行われずMPが0になってしまう。
従って、spell_firstを99から1にし、MPの計算と表示ではspell_bookが
NONEであることに加えspell_firstが99の時にのみMPの計算を
行わないようにする。
(元来MPが無い職業については、すべて99に設定されている)
dis- [Sun, 7 Feb 2021 04:25:22 +0000 (13:25 +0900)]
[Fix] 投げたオブジェクトの軌跡が残る
#41382と同類の問題。delayが0のときの軌跡カットが漏れていた。
該当箇所を修正。
Hourier [Sun, 7 Feb 2021 04:08:53 +0000 (13:08 +0900)]
[Refactor] #41042 『ヘルハウンド』の護衛を少し減らした / Decreased the escort of Hellhound (Unique)
Hourier [Sun, 7 Feb 2021 03:25:35 +0000 (12:25 +0900)]
[Refactor] #41042 クリスタル・ドレイクの加速を+5にした / Adjusted the speed of crystal drake from +10 to +5
Hourier [Sun, 7 Feb 2021 03:21:11 +0000 (12:21 +0900)]
[Refactor] #41042 ホワイト・ドラゴンの経験値を他の属性ドラゴンに合わせた / Adjusted experience of white dragon
Hourier [Sun, 7 Feb 2021 03:18:49 +0000 (12:18 +0900)]
[Implement] #41042 元素ドラゴンの速度を+5上げた / Changed speed of element dragons +5
Hourier [Sun, 7 Feb 2021 01:50:58 +0000 (10:50 +0900)]
[Refactor] #41042 招き猫の償還率を若干下げた / Decreased the possibility of summon of beckoning cat
Hourier [Sun, 7 Feb 2021 01:50:10 +0000 (10:50 +0900)]
[Refactor] #41042 『ミルムルニル』と『サーロクニル』の魔法使用率を若干上げた / Increased the possibility of magics of Mirmulnir and Sahloknir
Hourier [Sun, 7 Feb 2021 01:48:56 +0000 (10:48 +0900)]
[Refactor] #41042 『アブドゥル・アルハザード』の打撃性能を調整した / Adjusted the spec of blows of Abdul Alhazard
Hourier [Sat, 6 Feb 2021 15:13:14 +0000 (00:13 +0900)]
[Refactor] #41042 グレーター・ファルメル類にPOWERFULフラグを追加した / Added POWERFUL flag to greater falmers
Hourier [Sat, 6 Feb 2021 03:35:23 +0000 (12:35 +0900)]
[Refactor] #41042 『ヘルハウンド』に恐怖耐性を追加した / Added NO_FEAR flag to Hellhound
Hourier [Sat, 6 Feb 2021 03:34:50 +0000 (12:34 +0900)]
[Refactor] #41042 バーゲストに恐怖耐性を追加し、群れ属性を削除した / Added NO_FEAR flag and removed FRIENDS flag to barghest
Hourier [Sat, 6 Feb 2021 02:23:01 +0000 (11:23 +0900)]
[Refactor] #41042 ドラウグル類に恐怖耐性を追加した / Added NO_FEAR flag to draugrs
deskull [Sat, 6 Feb 2021 15:36:06 +0000 (00:36 +0900)]
[Fix] #41486 型キャスト追加. / Add type casting.
deskull [Sat, 6 Feb 2021 15:33:16 +0000 (00:33 +0900)]
Merge pull request #41486 (taotao/hengband/fix-negative_max_to_a into develop).
dis- [Sat, 6 Feb 2021 15:28:21 +0000 (00:28 +0900)]
[Fix] #41495 感知時にエルドリッチホラーのメッセージ表示が何度でも発生する
is_loading_nowフラグを操作してからupdate_creature()をコールする必要がある。
セーブ時、ゲームが継続するならこの処理が必要である。
save_playerの引数でゲーム継続を判断し、必要なときに必要な手順でコールする。
deskull [Sat, 6 Feb 2021 15:17:35 +0000 (00:17 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-saved-floor-exceed' into develop
deskull [Sat, 6 Feb 2021 15:07:50 +0000 (00:07 +0900)]
Merge pull request #41491 (taotao/hengband/fix-impure_calc_num_blow into develop).
deskull [Sat, 6 Feb 2021 14:57:34 +0000 (23:57 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-Calc-to-AC' into develop
deskull [Sat, 6 Feb 2021 13:32:42 +0000 (22:32 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Debug-save-for-non-Windows' into develop
deskull [Sat, 6 Feb 2021 13:19:07 +0000 (22:19 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Refactor-Unnecessary-Files-Removal' into develop
deskull [Sat, 6 Feb 2021 13:04:27 +0000 (22:04 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-New-Game' into develop
Hourier [Sat, 6 Feb 2021 12:57:25 +0000 (21:57 +0900)]
[Refactor] #41493 Removed unnecessary files in io/
Hourier [Sat, 6 Feb 2021 12:57:13 +0000 (21:57 +0900)]
[Refactor] #41493 Removed unnecessary files in core/
Hourier [Sat, 6 Feb 2021 12:31:12 +0000 (21:31 +0900)]
[Refactor] #41493 Removed art-definition/
deskull [Sat, 6 Feb 2021 12:43:58 +0000 (21:43 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Refactor-Sound-Debug' into develop
Habu [Sat, 6 Feb 2021 09:55:38 +0000 (18:55 +0900)]
[fix] #41489 明るいはずの場所でも灯りがない判定になっている
デバッグ用自動セーブをONにしている時に現象が発生。
セーブする時に、ダンジョンの明かりと視界の情報フラグが
一旦リセットされるのが原因。
同時に情報更新用のフラグが立てられているので、
自動セーブ後にupdate_creature()を呼んで改めて
明かりと視界の情報を更新するようにする。
taotao54321 [Sat, 6 Feb 2021 09:19:53 +0000 (18:19 +0900)]
[Fix] 玄武の構えによるAC修正の計算を適切な位置へ移動
calc_num_blow() 内で計算されていたのを calc_to_ac() へ移動。
計算順序の関係で偶然壊れていなかったが、位置として明らかにおかしい。
taotao54321 [Sat, 6 Feb 2021 09:10:53 +0000 (18:10 +0900)]
[Fix] 朱雀の構えによる格闘命中/ダメージ修正が機能していなかった
calc_num_blow() 内での計算結果が calc_to_hit(), calc_to_damage() の戻り値で上書きされていた。
当該コードを calc_to_hit(), calc_to_damage() へ移動。
taotao54321 [Sat, 6 Feb 2021 08:29:30 +0000 (17:29 +0900)]
[Fix] 練気術師の練気による格闘ダメージ修正が機能していなかった
calc_num_blow() 内で計算したものが後から calc_to_damage() の戻り値で上書きされていた。
当該コードを calc_to_damage() に統合して解決。
ダメージ修正を計算するコード自体もトリッキーだったので、素直な実装にした。
プログラム設計の面では、現状以下のような問題が存在すると考えられる。今後の課題。
* 関数名から副作用の有無がわかりにくい。player_type* の内容を直接変更し
ているのに calc_foo() といった名前になっているものがある。update_foo()
などの方がわかりやすい。
* 副作用のない calc_foo() 関数の player_type* 引数に const が付いていれ
ば本件のようなミスは防げる。ただし、下請け関数も含めて広範囲に const
を付ける必要があるため作業量は多い。
* ステータス間に依存関係が存在するため、計算の順番を間違えないよう人手で
チェックする必要がある。
dis- [Sat, 6 Feb 2021 08:47:05 +0000 (17:47 +0900)]
[Fix] #41488 新規セーブ作成時にiniファイルのSaveFileフィールドを参照する
新規ファイル作成するか否かの判断にsavefile変数が使用されている。
余力があるときに処理そのものの見直しが必要だが、とりあえず既存の挙動と同等になるように修正する。
Hourier [Sat, 6 Feb 2021 08:08:03 +0000 (17:08 +0900)]
[Implement] #41487 music.cfg にサンプル記述を追加した / Added sample descriptions into music.cfg
Hourier [Sat, 6 Feb 2021 08:07:24 +0000 (17:07 +0900)]
[Refactor] #41487 sound.cfg にデフォルトのデバイスタイプを追加した / Added default device type into sound.cfg
Hourier [Sat, 6 Feb 2021 08:00:07 +0000 (17:00 +0900)]
[Fix] #41487 SoundとMusicを間違えていたので修正 / Resolved the typo
Hourier [Sat, 6 Feb 2021 07:24:10 +0000 (16:24 +0900)]
[Implement] #41487 #41415と同様に、効果音設定もDEBUG用と通常用の読み分け処理を追加した / Added a branch in order to read sound config for debug as same as #41415
taotao54321 [Sat, 6 Feb 2021 06:18:45 +0000 (15:18 +0900)]
[Fix] 武器の (悪魔) エゴのAC修正が常に +1 になるのを直した
ego_item_type 構造体の max_to_a メンバの型が u8 から i16 に変更されたことによるエンバグ。
負数を u8 にキャストした際の動作を前提とするコードが残っていた。
max_to_a < 0 なら [max_to_a,-1] のランダムなAC修正が得られるように直した。
また、max_to_h, max_to_d にも同様の問題があるので一応直しておく。
Habu [Sat, 6 Feb 2021 03:59:40 +0000 (12:59 +0900)]
[fix] デバッグセーブ用ディレクトリのパス生成
デバッグセーブ用のディレクトリのパス生成でプラットフォーム間の
ディレクトリ区切り文字の差異を吸収するため、path_build() を使用する。
Habu [Sat, 6 Feb 2021 03:56:13 +0000 (12:56 +0900)]
Merge branch 'unix-debug-save-purge' into feature/Debug-save-for-non-Windows
dis- [Sat, 6 Feb 2021 03:29:44 +0000 (12:29 +0900)]
[Fix] #41484 装備変更時、器用さ修正がACに即時反映されない
装備変更時、ステータスの修正が反映される前にACが計算されていた。
これにより現在の装備ではなく直前の装備のステータス修正でACが計算されていた。
ステータス修正を反映した後にAC計算を行うよう変更した。
Eric Branlund [Fri, 5 Feb 2021 23:06:42 +0000 (15:06 -0800)]
Since struct dirent only holds the last element in the path, build the full path and use that with test() and remove().
Eric Branlund [Fri, 5 Feb 2021 22:24:20 +0000 (14:24 -0800)]
Rerrange so default_savefile is set on non-Windows platforms.
Eric Branlund [Fri, 5 Feb 2021 21:12:39 +0000 (13:12 -0800)]
Added Unix implementation for purging old entries in ANGBAND_DIR_DEBUG_SAVE.
Habu [Fri, 5 Feb 2021 15:45:13 +0000 (00:45 +0900)]
[fix] #41478 階段を上ったときにクラッシュ
新たなフロアに移動した時に、フロアの最大保存数を超えた場合は
一番古く生成されたフロアを消して使う仕様だが、
その処理にあたるfind_oldest_floor_id関数周りが
想定通りに動作していない。
うまいことやろうとしてスベってる感があるので、
フロアの保存数を超えた場合の処理をわかりやすく書き直す。
deskull [Fri, 5 Feb 2021 13:57:55 +0000 (22:57 +0900)]
Merge remote-tracking branch 'remotes/taotao/fix-help-display' into develop
deskull [Fri, 5 Feb 2021 13:01:45 +0000 (22:01 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-Refresh-TeleTown' into develop
deskull [Fri, 5 Feb 2021 12:56:52 +0000 (21:56 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-calc-to-real-hit-value' into develop
deskull [Fri, 5 Feb 2021 12:51:16 +0000 (21:51 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/report-score-libcurl' into develop
Habu [Fri, 5 Feb 2021 12:30:51 +0000 (21:30 +0900)]
[fix] #41475 防具の命中修正が反映されていない
防具の命中修正を加算する部分で、「防具が鑑定されておらずかつ
本当の修正値を計算しない時はスキップする」という判定をする
条件式が誤っているため、加算するべき修正値が加算されていなかった。
ダメージ修正のほうは正しい条件式になっているので、
命中修正もそれに合わせる。
また、is_true_valueという変数名は「本当の修正値を計算する」という
意図であるが、真偽値の変数名としてTRUEがかぶっており
紛らわしいのでis_real_valueという名称に変更する。
deskull [Fri, 5 Feb 2021 12:07:37 +0000 (21:07 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-Open-File-Dir' into develop
deskull [Fri, 5 Feb 2021 12:07:21 +0000 (21:07 +0900)]
Merge branch 'feature/english-correction' into develop
deskull [Fri, 5 Feb 2021 12:02:02 +0000 (21:02 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-mspell-edits' into feature/english-correction
deskull [Fri, 5 Feb 2021 11:57:14 +0000 (20:57 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-_ptr-in-message' into feature/english-correction
deskull [Fri, 5 Feb 2021 11:53:41 +0000 (20:53 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-birth-edits' into feature/english-correction
deskull [Fri, 5 Feb 2021 11:25:53 +0000 (20:25 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Fix-Riding-Teleport' into develop
deskull [Fri, 5 Feb 2021 11:11:28 +0000 (20:11 +0900)]
Merge remote-tracking branch 'remotes/origin/feature/Implement-Debug-Auto-Save' into develop
dis- [Fri, 5 Feb 2021 09:31:03 +0000 (18:31 +0900)]
[Fix] need_term_freshの引数忘れ
入力ミス。該当箇所を訂正する。
dis- [Fri, 5 Feb 2021 08:46:15 +0000 (17:46 +0900)]
[Fix] #41472 街移動の際に一瞬移動前の街が表示される
一部の再描写は連続行動中でなくてもfresh-afterで抑制される必要がある。
該当箇所の条件節を訂正。
dis- [Fri, 5 Feb 2021 08:12:40 +0000 (17:12 +0900)]
[Fix] #41430 乗馬がプレイヤーのテレポートを追尾する
条件節が反転しているため、乗馬以外がテレポートを追尾するべき処理で乗馬がテレポートを追尾していた。
副作用として、乗馬フラグを維持したまま乗馬と座標が別れる現象が起きていた。
この現象の最中に近接攻撃を受けるとき、敵対モンスターとプレイヤーが同座標に重なることがある。
該当の条件節を訂正した。
Eric Branlund [Thu, 4 Feb 2021 22:05:45 +0000 (14:05 -0800)]
Since it used as an adjective, replace "incredibly" with "incredible" in the English description of snipers and add a "the" to be more idiomatic.
Eric Branlund [Thu, 4 Feb 2021 21:58:58 +0000 (13:58 -0800)]
Change "have visisted" to "visit" in the English description for tourists to match the present tense generally used in the descriptions.
Eric Branlund [Thu, 4 Feb 2021 21:55:12 +0000 (13:55 -0800)]
To be more idiomatic, reword English description of merfolk.
Eric Branlund [Thu, 4 Feb 2021 21:50:16 +0000 (13:50 -0800)]
Make Balrog plural to match "are resistant".
Eric Branlund [Thu, 4 Feb 2021 21:45:27 +0000 (13:45 -0800)]
Since its used as an adverb, replace "much slower" with "much more slowly" in the English description of Amberites.
Eric Branlund [Thu, 4 Feb 2021 21:31:06 +0000 (13:31 -0800)]
Inserted space between word and parenthesis in an English message.
Eric Branlund [Thu, 4 Feb 2021 21:26:43 +0000 (13:26 -0800)]
In English birth option header, "affect" rather than "effect" is appropriate. Rearrange parentheses for clarity and drop "s" after "(*)". Match capitalization to what's current in cmd-io/cmd-gameoption.c.
Eric Branlund [Thu, 4 Feb 2021 21:17:22 +0000 (13:17 -0800)]
To be more idiomatic, reworded short English description of the Hissatsu realm.
Eric Branlund [Thu, 4 Feb 2021 19:17:34 +0000 (11:17 -0800)]
Fix instance where search/replace left item_selection_ptr-> in English message.
Eric Branlund [Thu, 4 Feb 2021 18:06:17 +0000 (10:06 -0800)]
Make "demon slayer member" plural for subject/verb agreement.
Eric Branlund [Thu, 4 Feb 2021 11:26:13 +0000 (03:26 -0800)]
For clarity, reworded English message for the giant eagles' grab and drop maneuver.
Eric Branlund [Thu, 4 Feb 2021 11:11:55 +0000 (03:11 -0800)]
Reword English message for giant eagle teleport self effect: original had subject/verb agreement issue.
Eric Branlund [Thu, 4 Feb 2021 09:12:16 +0000 (01:12 -0800)]
Replaced "a" with "an" since it precedes "acid".
deskull [Thu, 4 Feb 2021 15:33:42 +0000 (00:33 +0900)]
Merge branch 'feature/chargeman-jural-illusion' into develop
deskull [Thu, 4 Feb 2021 15:32:56 +0000 (00:32 +0900)]
[Fix] #41356 地上でチャージマンがレベル1以上のモンスターに対してジュラル星人への誤認を行わない不具合を直す。 / Fixed a bug that Chargeman would not misidentify a level 1 or higher monster as an Alien Jural on the ground.
* base_levelでなくdun_levelを条件式に加えるべきだった。
dis- [Thu, 4 Feb 2021 15:04:58 +0000 (00:04 +0900)]
[Implement] 一週間以上前のデバッグログの自動削除
それなりにログファイルの容量があるので、一定期間で古いものを削除するようにした。
deskull [Thu, 4 Feb 2021 14:07:39 +0000 (23:07 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-mind-edits' into feature/english-correction
deskull [Thu, 4 Feb 2021 14:00:49 +0000 (23:00 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-market-edits' into feature/english-correction
deskull [Thu, 4 Feb 2021 13:58:16 +0000 (22:58 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-lore-edits' into feature/english-correction
deskull [Thu, 4 Feb 2021 13:55:23 +0000 (22:55 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-knowledge-edits' into feature/english-correction
deskull [Thu, 4 Feb 2021 13:50:28 +0000 (22:50 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-monster-floor-edits' into feature/english-correction
deskull [Thu, 4 Feb 2021 13:46:57 +0000 (22:46 +0900)]
Merge branch 'feature/english-correction' into develop
deskull [Thu, 4 Feb 2021 13:33:06 +0000 (22:33 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-io-edits' into feature/english-correction
deskull [Thu, 4 Feb 2021 12:32:31 +0000 (21:32 +0900)]
Merge branch 'feature/maze-secret-door-in-wall' into develop
deskull [Thu, 4 Feb 2021 12:29:39 +0000 (21:29 +0900)]
[Fix] #41396 迷宮の隠しドア生成率を0%にする。 / Labyrinth hidden door generation rate to 0%
* 隠しドアがあっても大したゲーム性にならないし、縦横奇数にできないダンジョンシステムを直すのも難しい。
* よって外壁に不自然な隠しドアが埋め込まれるを防ぐ方を重視で。