OSDN Git Service
Eric Branlund [Wed, 10 Feb 2021 19:12:06 +0000 (11:12 -0800)]
Changed English cheat message for build_target_vault(): was "Elemental Vault" the same as for build_elemental_vault().
Eric Branlund [Wed, 10 Feb 2021 19:05:36 +0000 (11:05 -0800)]
Change English cheat message for build_bubble_vault(): was "Room Vault", the same as for build_room_vault().
dis- [Wed, 10 Feb 2021 13:45:56 +0000 (22:45 +0900)]
Merge pull request #38 from dis-/feature/Fix-Term-Fresh
画面再描写関連の整理
dis- [Wed, 10 Feb 2021 11:28:50 +0000 (20:28 +0900)]
[Refactor] 変数名windowをwindow_flagsに変更
変数windowsがフラグ管理をしていることを明示する名前に変更。
また、window_stuff()の瑣末なreturn文を削除して思考コストを軽減。
Hourier [Wed, 10 Feb 2021 11:32:05 +0000 (20:32 +0900)]
Merge pull request #37 from backwardsEric/english-racial-edits
3.0.0.0: minor English edits for src/racial
dis- [Wed, 10 Feb 2021 09:13:44 +0000 (18:13 +0900)]
[Fix] 限定条件で投擲の目標設定がうまく行かない #19
fix_monster_list()に不具合があり、ターゲッティングに関する副作用があった。
target_set_prepare()でTARGET_LOOKモードに入った後、初期化をしていない。
このため、直後にTARGET_KILLモードを正しく使用できなかった。
初期化用関数target_clear()を実装し、fix_monster_list()の該当箇所でコールして対処する。
dis- [Wed, 10 Feb 2021 08:42:26 +0000 (17:42 +0900)]
[Fix] 残り1回の鑑定の杖を使った時にサブウィンドウの持ち物一覧が更新されない #4
特定条件下で画面再描写がされていなかったことが原因。
同様の問題が多く発生しているため、描画に関する処理を改めた。
各termに描写禁止フラグnever_freshを与え、これで一律に管理する。
キーの実入力があるタイミングでnever_freshを解除し、マクロ等の連続行動の際にnever_freshを有効にして描写をカットする。
これによりz-term.cに描写可否を判定させる必要がなくなったので、need_term_fresh()とplayer構造体を排除した。
never_freshによる描写スキップの際、windowフラグを破壊しないようにwindow_stuff()の処理を変更した。
windowフラグを一旦保護してから、実際に描写された場合のみ該当のフラグを折る。
Habu [Wed, 10 Feb 2021 03:35:20 +0000 (12:35 +0900)]
Merge pull request #32 from backwardsEric/autopick-english-gcc-sprintf-warn
Resolve two potential buffer overflows in describe_autopick_en()
dis- [Wed, 10 Feb 2021 03:15:37 +0000 (12:15 +0900)]
Merge pull request #29 from hengband/feature/fix-english-alpha6
Feature/fix english alpha6
Eric Branlund [Wed, 10 Feb 2021 02:27:36 +0000 (18:27 -0800)]
Replace sprintf with snprintf in autopick-describer.c.
Habu [Wed, 10 Feb 2021 00:19:19 +0000 (09:19 +0900)]
Merge pull request #34 from backwardsEric/clang-parentheses-equality-warnings
Cosmetic: avoid clang's warnings about ((x == y)) versus ((x = y))
Eric Branlund [Tue, 9 Feb 2021 20:42:56 +0000 (12:42 -0800)]
Use "poisoned" rather than "of poison" to be a bit terser.
Eric Branlund [Tue, 9 Feb 2021 19:36:27 +0000 (11:36 -0800)]
Changed to avoid clang's warnings about whether "((x == y))" was intended to be "((x = y))".
Eric Branlund [Tue, 9 Feb 2021 18:25:08 +0000 (10:25 -0800)]
Change to avoid buffer overflow in describe_autopick_en() if entry->dice or entry->bonus is bigger than 99. Silences a gcc warning about the overflows.
deskull [Tue, 9 Feb 2021 16:02:40 +0000 (01:02 +0900)]
[Feature] Add English messages for Combat and Chargeman.
deskull [Tue, 9 Feb 2021 15:48:14 +0000 (00:48 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-object-edits' into feature/fix-english-alpha6
deskull [Tue, 9 Feb 2021 15:24:27 +0000 (00:24 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-object-activation-edits' into feature/fix-english-alpha6
deskull [Tue, 9 Feb 2021 15:21:53 +0000 (00:21 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-object-enchant-edits' into feature/fix-english-alpha6
deskull [Tue, 9 Feb 2021 15:12:19 +0000 (00:12 +0900)]
Merge remote-tracking branch 'remotes/hengbandosx/english-mspell-pass2' into develop
Hourier [Tue, 9 Feb 2021 12:09:59 +0000 (21:09 +0900)]
Merge pull request #23 from backwardsEric/english-player-edits
3.0.0.0: minor English edits for src/player
Hourier [Tue, 9 Feb 2021 12:09:39 +0000 (21:09 +0900)]
Merge pull request #22 from backwardsEric/english-pet-edits
3.0.0.0: minor English edits for src/pet
Hourier [Tue, 9 Feb 2021 11:32:54 +0000 (20:32 +0900)]
Merge pull request #13 from habu1010/feature/Reenable-WORLD_SCORE-switch
WORLD_SCOREの定義によるスコア送信機能の切り替えが機能するようにする
Habu [Mon, 8 Feb 2021 14:32:18 +0000 (23:32 +0900)]
[fix] #12 do_cmd_options_auxの引数をgame_option_typesにする
do_cmd_options_auxの第2引数はOPT_PAGE_*を受け取るので、
int型ではなくgame_option_types型とすべき。
dis- [Tue, 9 Feb 2021 10:55:59 +0000 (19:55 +0900)]
Merge pull request #9 from dis-/feature/Implement-Skip-More
Feature/implement skip more
Hourier [Tue, 9 Feb 2021 10:38:30 +0000 (19:38 +0900)]
Merge pull request #24 from backwardsEric/english-player-attack-edits
3.0.0.0: minor English edits for src/player-attack
dis- [Tue, 9 Feb 2021 10:33:00 +0000 (19:33 +0900)]
Merge pull request #25 from backwardsEric/english-player-info-edits
3.0.0.0: minor English edits for src/player-info
dis- [Tue, 9 Feb 2021 10:30:48 +0000 (19:30 +0900)]
Merge branch 'develop' into english-player-info-edits
Habu [Tue, 9 Feb 2021 09:03:00 +0000 (18:03 +0900)]
Merge pull request #11 from habu1010/feature/Workflow-BuildTest-on-Linux
[feature] #1 Linuxでビルドテストを行うWorkflow
Eric Branlund [Tue, 9 Feb 2021 00:01:26 +0000 (16:01 -0800)]
Use terser, perhaps more idiomatic, English descriptions for the easy_spell and heavy_spell effects.
Eric Branlund [Mon, 8 Feb 2021 23:57:54 +0000 (15:57 -0800)]
For clearer English, replace "greate damages" with "great damage" in a description for force weapons.
Eric Branlund [Mon, 8 Feb 2021 23:43:32 +0000 (15:43 -0800)]
For English description of beastmaster's dominate living things ability, match quoted cost to the Japanese description and the cost in racial/class-racial-switcher.c.
Eric Branlund [Mon, 8 Feb 2021 23:25:54 +0000 (15:25 -0800)]
Change "a" to "an" to match "elastic".
Eric Branlund [Mon, 8 Feb 2021 22:53:25 +0000 (14:53 -0800)]
To be more idiomatic, use "last words" rather than "last word".
Eric Branlund [Mon, 8 Feb 2021 22:48:07 +0000 (14:48 -0800)]
Correct comment introducing the English tiltes for the cavalry class.
Eric Branlund [Mon, 8 Feb 2021 22:46:32 +0000 (14:46 -0800)]
Correct spelling mistake for "archmage".
Eric Branlund [Mon, 8 Feb 2021 22:08:32 +0000 (14:08 -0800)]
Correct English spelling mistake.
Eric Branlund [Mon, 8 Feb 2021 22:04:07 +0000 (14:04 -0800)]
To make an English message more idiomatic, shift "still" to avoid splitting the main verb from "have".
Eric Branlund [Mon, 8 Feb 2021 21:58:14 +0000 (13:58 -0800)]
In English messages, use "happens" to match with "nothing".
Eric Branlund [Mon, 8 Feb 2021 21:45:57 +0000 (13:45 -0800)]
In English message for falling off but safely landing, drop comma since the clauses share a subject.
Eric Branlund [Mon, 8 Feb 2021 21:44:15 +0000 (13:44 -0800)]
In English message for nearly falling off, drop comma (clauses share subject) and add an indefinite article to be more idiomatic. Also add an indefinite article to the linked damage note.
Habu [Mon, 8 Feb 2021 13:42:44 +0000 (22:42 +0900)]
[fix] #12 game_option_types列挙型の数値割当を削除
OPT_PAGE_HIDEの新設に関連して、OPT_PAGE_* に割り当てられている
整数値には特に意味がないことが確認された。
enum型の存在意義の一つとして内部の整数値は意識せず比較できるという点が
あるので、必要の無い整数値の割当ては行わないようにする。
新設した値に整数値として何を与えるか考える必要もなくなる。
また、不要になった OPT_PAGE_JAPANESE_ONLY という定義の残骸が
残っていたので削除する。
Habu [Mon, 8 Feb 2021 12:29:23 +0000 (21:29 +0900)]
[fix] #12 WORLD_SCOREオフの時にエラーが出ないようにする
既存のコードではWORLD_SCOREの定義をOFFにしているとpref-opt.prfの
send_scoreの解析でエラーが出てしまう。
send_score自体は拾うようにし、該当するオプションを表示しない
OPT_PAGE_HIDEというグループを新設してそこに含めるようにする。
Habu [Mon, 8 Feb 2021 12:20:37 +0000 (21:20 +0900)]
[fix] #12 VisualStudioの構成でWORLD_SCOREを指定する
h-config.hからWORLD_SCOREは削除し、WindowsではVSの
構成プロパティのプリプロセッサの定義で指定するようにする。
また、英語版のスコアサーバは運営していないため、英語版ビルドの
構成ではWORLD_SCOREは指定しないようにする。
Habu [Mon, 8 Feb 2021 11:32:44 +0000 (20:32 +0900)]
Merge remote-tracking branch 'eric/screen-dump-missing-symbol' into feature/Reenable-WORLD_SCORE-switch
Habu [Mon, 8 Feb 2021 11:32:39 +0000 (20:32 +0900)]
Merge remote-tracking branch 'eric/clang-save-missing-prototypes' into feature/Reenable-WORLD_SCORE-switch
Habu [Mon, 8 Feb 2021 11:32:33 +0000 (20:32 +0900)]
Merge remote-tracking branch 'eric/clang-player-damage-missing-prototype' into feature/Reenable-WORLD_SCORE-switch
dis- [Mon, 8 Feb 2021 11:26:38 +0000 (20:26 +0900)]
[Implement] #7 キー待ちしないで全メッセージを流すオプションの作成
Auto-Moreオプションはダメージを受けたときとメッセージサブウィンドウが溢れたときにキー待ちする処理が入る。
これを排除し、全てのメッセージをスキップするskip_moreオプションを実装した。
Habu [Mon, 8 Feb 2021 09:51:06 +0000 (18:51 +0900)]
[feature] #1 Linuxでビルドテストを行うWorkflow
Linux(Ubuntu-20.04)でビルドが通ることを確認するWorkflowを作成した。
このWorkflowは日本語版/英語版ともにエラーなくビルドができる
状態であることを確認する。
GCCのオプションに "-Werror -Wall -Wextra" を与えて、
警告レベル最大で警告をエラーとして扱うようにする。
ただし、現状のコードを鑑みて以下の警告は抑制する。
- format-overflow
sprintfはstrcatなどのバッファサイズを指定しない文字列操作関数が
大量に使用されており、警告をなくすにはすべてsnprintfなどに
修正する必要がある。
- no-switch
アイテム等の種類によるスイッチでdefault句が無い箇所が多い。
enumのすべてが列挙されていない場合defaultが無いと警告が出る。
とりあえず抑制しておく。
- no-sign-compare
符号ありと符号無しで比較している箇所が多すぎて修正が困難。
- no-unused-parameter, no-unused-function
修正や日英切り替えにより出る事があるが、ソースが壊れるわけではないので
ひとまず許可する。
Habu [Mon, 8 Feb 2021 09:55:35 +0000 (18:55 +0900)]
Merge pull request #8 from backwardsEric/english-perception-edits
3.0.0.0: minor English edits for src/perception
Habu [Mon, 8 Feb 2021 08:59:20 +0000 (17:59 +0900)]
Merge pull request #6 from backwardsEric/missing-english-potion-messages
Add English translations in src/object-use/quaff-execution.c
Eric Branlund [Mon, 8 Feb 2021 04:03:19 +0000 (20:03 -0800)]
To be more idiomatic, use "undead" rather than "undeads".
Eric Branlund [Mon, 8 Feb 2021 00:26:55 +0000 (16:26 -0800)]
To be more idiomatic, reword the English message for decreased light radius.
Eric Branlund [Mon, 8 Feb 2021 00:22:54 +0000 (16:22 -0800)]
For clarity, swap position of adverb in English description for SV_POISON_NEEDLE.
Eric Branlund [Mon, 8 Feb 2021 00:02:34 +0000 (16:02 -0800)]
Add English translation for first SV_POTION_SLIME_MOLD message.
Eric Branlund [Mon, 8 Feb 2021 00:01:26 +0000 (16:01 -0800)]
Add English translation for first SV_POTION_APPLE_JUICE message.
Eric Branlund [Sun, 7 Feb 2021 23:59:52 +0000 (15:59 -0800)]
Add English translation for first SV_POTION_WATER message.
Habu [Sun, 7 Feb 2021 12:32:40 +0000 (21:32 +0900)]
Merge branch 'release/3.0.0Alpha5' into develop
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に設定されている)
Eric Branlund [Sun, 7 Feb 2021 06:27:30 +0000 (22:27 -0800)]
In the English long monster power descriptions use "breathe" rather than "breath".
Eric Branlund [Sun, 7 Feb 2021 06:24:52 +0000 (22:24 -0800)]
For disintegration's long English description, replace "breath" with "breathe" and use the noun rather than "disintegrate".
Eric Branlund [Sun, 7 Feb 2021 06:22:17 +0000 (22:22 -0800)]
Fix typo ("Disintergrate") and use noun rather than a verb.
Eric Branlund [Sun, 7 Feb 2021 06:08:24 +0000 (22:08 -0800)]
Replace "small life" with "pests" in English description of the pesticide activation.
Eric Branlund [Sun, 7 Feb 2021 05:09:56 +0000 (21:09 -0800)]
Use "disenchantment" rather than "disenchant" in the dragon breath table to match how breath attacks with that element are described elsewhere.
Eric Branlund [Sun, 7 Feb 2021 05:06:13 +0000 (21:06 -0800)]
Make "shard" plural in the dragon breath table to match most of the uses elsewhere.
Eric Branlund [Sun, 7 Feb 2021 04:58:03 +0000 (20:58 -0800)]
For HERO_SPEED, quote same duration in the English description as in the Japanese one. Preface it with "dur" to make it clearer that it is a duration.
Eric Branlund [Sun, 7 Feb 2021 04:47:49 +0000 (20:47 -0800)]
Fixed English typo.
Eric Branlund [Sun, 7 Feb 2021 04:44:14 +0000 (20:44 -0800)]
Swap English descriptions of JUDGE and TELEKINESIS to match activations and the Japanese descriptions. Change the kg to pounds conversion used in the English TELEKINESIS description.
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
Eric Branlund [Sun, 7 Feb 2021 01:34:57 +0000 (17:34 -0800)]
To be more idiomatic, reworded English description for mana ball activation. An alternative, that's closer to the original translation, would be "glows palely" or "glows faintly".
Eric Branlund [Sun, 7 Feb 2021 01:25:36 +0000 (17:25 -0800)]
To be more idiomatic, reword English description of pesticide activation.
Eric Branlund [Sun, 7 Feb 2021 01:16:44 +0000 (17:16 -0800)]
Remove unnecessary comma in English message.
Eric Branlund [Sun, 7 Feb 2021 01:14:18 +0000 (17:14 -0800)]
Correct English typo.
Eric Branlund [Sun, 7 Feb 2021 01:10:02 +0000 (17:10 -0800)]
For ACT_BR_DRAGON items, add damage indication to English description.
Eric Branlund [Sun, 7 Feb 2021 01:06:10 +0000 (17:06 -0800)]
In English descriptions for ACT_BR_DRAGON and rings of ice or flames, use "breathe" rather than "breath" or "breath of".
Eric Branlund [Sun, 7 Feb 2021 00:59:16 +0000 (16:59 -0800)]
Fix English spelling (had "tempral"; replaced with "temporary").
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