OSDN Git Service
deskull [Sun, 6 Dec 2020 21:27:19 +0000 (06:27 +0900)]
[Refactor] monster_type のDoxygenコメント追加. / Add Doxygen comments in monster_type.
deskull [Wed, 2 Dec 2020 23:16:21 +0000 (08:16 +0900)]
[Refactor] #39077 fixed-artifacts-spoiler.c 中の一部型定義とキャストをより正確に変更. / Changed some type definitions and casts during fixed-artifacts-spoiler more accurately.
deskull [Wed, 2 Dec 2020 23:14:16 +0000 (08:14 +0900)]
[Refactor] #39077 target-describer.c 中の一部型定義とキャストをより正確に変更. / Changed some type definitions and casts during target-describer.c more accurately.
deskull [Wed, 2 Dec 2020 23:08:25 +0000 (08:08 +0900)]
[Refactor] #39077 knowledge-items.c/h 中の一部型定義とキャストをより正確に変更. / Changed some type definitions and casts during knowledge-items.c/h more accurately.
deskull [Wed, 2 Dec 2020 21:53:12 +0000 (06:53 +0900)]
[Refactor] #39077 パーサ処理中の一部型定義とキャストをより正確に変更. / Changed some type definitions and casts during parser processing more accurately.
Habu [Fri, 27 Nov 2020 10:12:13 +0000 (19:12 +0900)]
[fix] フロア移動時のペット配置のバグ
リファクタリングのミスにより、set_pet_paramsの引数として
渡しているmonster_race型の変数m_raceの値が更新されていない。
そのため、m_raceの値が不定の状態で判定を行っている。
monster_raceを指すポインタのアドレスを渡して、
ポインタの値をset_pet_paramsで更新するようにする。
Habu [Thu, 26 Nov 2020 15:15:02 +0000 (00:15 +0900)]
[fix] モンスター召喚数の決定方法を修正
カオスパトロンの報酬でモンスターの召喚が発生した時、
ループの毎に召喚されるモンスターの数を乱数で決定していた。
意図した処理ではないと思われるので、最初に1度だけ乱数で
召喚されるモンスターの数を決定する。
Habu [Thu, 26 Nov 2020 14:47:08 +0000 (23:47 +0900)]
[fix] 防具の命中ボーナスの計算の誤りを修正
リファクタリングのミスにより、職業が忍者の時に
防具の命中ボーナスを半減する(命中プラスの時のみ、
端数切り上げ)処理が機能していなかった。
正しく半減処理が機能するようにする。
deskull [Wed, 25 Nov 2020 23:22:05 +0000 (08:22 +0900)]
Merge branch 'release/3.0.0Alpha' of git.osdn.net:/gitroot/hengband/hengband into release/3.0.0Alpha
deskull [Wed, 25 Nov 2020 23:20:37 +0000 (08:20 +0900)]
[Add] #40942 has_infra_vision() を追加. / Add has_infra_vision().
Habu [Wed, 25 Nov 2020 15:46:18 +0000 (00:46 +0900)]
[fix] グローバル変数宣言にexternを付ける
グローバル変数の多重定義とならないようにするため、
ヘッダファイル内では変数宣言にexternを付ける。
select_ring_slotは実際に複数の.cファイルで定義されていたので
一つの.cファイルのみで定義する。
ugbldgはrooms-city.cからのみ使用しているのでstatic変数とする。
iks [Mon, 23 Nov 2020 10:31:50 +0000 (19:31 +0900)]
[Fix] iconvの戻り値を受けていなかったので修正。 / Fix that ignores iconv's return value.
Hourier [Mon, 23 Nov 2020 10:14:44 +0000 (19:14 +0900)]
[Refactor] Added Doxygen comments to ninja_critical()
Hourier [Mon, 23 Nov 2020 09:59:26 +0000 (18:59 +0900)]
[Refactor] Reshaped attack-criticality.c
Hourier [Mon, 23 Nov 2020 09:55:06 +0000 (18:55 +0900)]
[Fix] #41003 ダンプ時に装備していない箇所が「(なし)」ではなく「何か」と表示される事象を修正した / Resolved the issue that the part not equipped at the time of dump is displayed as 'something' instead of '(none)'
iks [Mon, 23 Nov 2020 10:23:47 +0000 (19:23 +0900)]
[Fix] 演算子の優先順位で店舗買取の条件判定がおかしくなりえるのを修正(GCCによる警告) / Fix warned condition.
iks [Mon, 23 Nov 2020 10:14:42 +0000 (19:14 +0900)]
[Refactor] #41001 コードの整理をして不要な宣言等をなくした。 / Arrage declarations of variables and a funciton.
iks [Mon, 23 Nov 2020 09:57:55 +0000 (18:57 +0900)]
C_KILLではVisualStudioで警告が出るため、C_FREEに変更
iks [Mon, 23 Nov 2020 09:05:15 +0000 (18:05 +0900)]
[Fix] include文のパス指定にサブディレクトリが含まれていなかったためにIncludePathに追加されていたサブディレクトリ設定が不要になったので削除。 / Arrage IncludePath.
iks [Mon, 23 Nov 2020 09:03:20 +0000 (18:03 +0900)]
[Fix] #41001 新オートローラー実装時に残った宣言漏れと警告の修正。 / Fix declaration and warning.
iks [Mon, 23 Nov 2020 08:38:06 +0000 (17:38 +0900)]
[Implement] #41001 hradish氏提供のオートローラー(新確率表記)を実装。 / New autoroller function.
iks [Mon, 23 Nov 2020 08:15:28 +0000 (17:15 +0900)]
[Implement] #37323 死亡・引退時のダンプ自動出力機能及びオプションを追加。 / Add automatically character dump output option.
iks [Sun, 22 Nov 2020 11:19:00 +0000 (20:19 +0900)]
[Implement] インクルードパスの整理。 / Arrage include paths.
iks [Sun, 22 Nov 2020 11:17:17 +0000 (20:17 +0900)]
[Fix] angband_strchrで見つからない場合NULLが返るのに、'\0'と比較して警告が出ていたので修正。 / Fix warning that angband_strchr compare with '\0'.
iks [Sun, 22 Nov 2020 10:48:25 +0000 (19:48 +0900)]
[Fix] インクルードパスを修正。 / Modify include paths.
iks [Sun, 22 Nov 2020 09:19:25 +0000 (18:19 +0900)]
[Fix] コミット688aac68と8fff5c35のチェリーピック順が逆だったため巻き戻っていた688aac68の変更を適用。 / Partially re-applicate commit
688aac68.
iks [Sun, 22 Nov 2020 08:56:40 +0000 (17:56 +0900)]
[Fix] コミットcec52f2fのマージ漏れを適用(#40514 #40652 DARK_SOURCEフラグ持ちを適用) / Patch an unpatched modify of commit
cec52f2f.
Hourier [Tue, 22 Sep 2020 10:25:48 +0000 (19:25 +0900)]
[Implement] #37285 Expanded buffer size of monsters' name
Hourier [Wed, 11 Nov 2020 12:19:30 +0000 (21:19 +0900)]
[Refactor] Reshaped autopick-editor-command.c automatically
iks [Sun, 22 Nov 2020 05:00:09 +0000 (14:00 +0900)]
[Fix] コミット
d2d41298 で消えていた旧ファイルの変更点を新ファイルに適用。 / Applicate defferences of commit-id
d2d41298 on new files instead of already removed files.
iks [Fri, 20 Nov 2020 21:04:09 +0000 (06:04 +0900)]
[Fix] モンスターボールで鑑定済みのときに捕まえたモンスター名が見えなくなっていたので修正。 / Fix that an identified capture ball does not show a name of a captured monster.
iks [Fri, 20 Nov 2020 12:18:23 +0000 (21:18 +0900)]
[Fix] 射撃術表示時に配列外アクセスで落ちるのを修正。 / Fix accesses out of bound of char array.
iks [Thu, 19 Nov 2020 16:31:01 +0000 (01:31 +0900)]
[Fix] オートローラーで「'p' 前の数値」が無効になっていたので修正。 / Can switch 'P'revious result on auto roller.
iks [Thu, 19 Nov 2020 14:29:32 +0000 (23:29 +0900)]
[Fix/Refactor] 忍者の急所を突くクリティカルの計算に敵の最大HPの1/2ではなく、最大最大最大HP(FORCE_MAXHP)の1/2を使用していたのを修正。 / Ninjas can now do todome hit when their enemy's HP is not less than a half of its forced maximum hp but less then a half of its own max hp.
iks [Mon, 16 Nov 2020 15:51:19 +0000 (00:51 +0900)]
[Fix/Improve] #37600 モンスターがモンスターに対して混乱・盲目・恐怖・減速の呪文を使用したときに、耐性の有無に関係なく効果があるようになっていたのを修正。 / Monsters resist confusion, blind, fear, slow spells from monsters when they have resistance of them.
iks [Mon, 16 Nov 2020 14:43:40 +0000 (23:43 +0900)]
[Fix] #39604 モンスターの射撃の威力の決定が、RBM_SHOOTの設定に関係なく打撃設定の先頭を選ぶようになっていたので修正。 / Monsters shoot arrows, damage of which is defined by RBM_SHOOT flag.
iks [Sun, 15 Nov 2020 15:35:08 +0000 (00:35 +0900)]
[Fix] #40955 攻撃可能判定の条件によって、普通の職業で素手のときに攻撃回数が0になってしまい、かつ、実際に打撃攻撃ができなくなってたので修正。 / Normal classes can do hand combat now.
iks [Sun, 15 Nov 2020 06:55:12 +0000 (15:55 +0900)]
[Fix] #38888 善悪がプレイヤーと反対のユニークのペットに乗馬したとき、乗馬したままで敵に回りその後がおかしくなるので、確率的に落馬処理を行い、落馬に失敗いた場合はペットのままにするように修正。 / When be riding, fall from hostile unique pet probabilistically, and when fail to fall, the pet is tamed yet.
iks [Sun, 15 Nov 2020 04:40:36 +0000 (13:40 +0900)]
[Implement] GCU版で日本語が入力できるように修正。 / Can input Japanese string in GCU console.
iks [Sun, 15 Nov 2020 02:38:14 +0000 (11:38 +0900)]
[Fix] #40962 ペットがプレイヤーの位置を移動先に選択し攻撃してくることがあるので、愚かでなく混乱いていない場合は、移動先にしないように修正。 / Pets avoid to move and attack to player except stupid or confused ones.
iks [Fri, 13 Nov 2020 14:29:58 +0000 (23:29 +0900)]
[Fix] #37557 固定クエストで護衛持ちモンスターがランダムで配置されたときに、護衛の位置がプレイヤーの開始位置とかぶって重なってしまう不具合を修正。 / Fix pseudo riding bug on a kin of a monster at start position in a fixed quest.
iks [Fri, 13 Nov 2020 09:33:46 +0000 (18:33 +0900)]
[Fix] #36930 帰還と上り階段なしの場合はフラグを条件として、ワーグクエストをスキップするように変更。 / When ironman_downward is true, skips warg problem quest (No.14) and continues with quiest 18.
iks [Thu, 12 Nov 2020 23:30:37 +0000 (08:30 +0900)]
[Fix] #38217 周囲を見る(x/l)コマンド及びターゲット選択で、スペースキーで次の情報に遷らなくなっていたのを修正。 / In Look/eXamine command, can see next target by pressing space key.
iks [Thu, 12 Nov 2020 18:31:46 +0000 (03:31 +0900)]
[Implement] 武器匠の武器を比較するで、現在表示中の武器を選択できないようにした。 / Can not select weapons which are shown currently.
iks [Thu, 12 Nov 2020 18:27:56 +0000 (03:27 +0900)]
[Fix] #40954 武器匠で武器を比較したあと一部コマンドの初回に武器しか選べないのを修正。 / After comparison weapons, able to select other non weapon items when doing some commands.
iks [Thu, 12 Nov 2020 13:22:15 +0000 (22:22 +0900)]
[Fix] #39061 *鑑定*フラグを立てたあとにインベントリのCOMBINEとREORDERが発生して、情報表示と自動破壊適用の対象がずれるのを修正。 / In *identify*, combines and reorders inventory items after displaying item information and applying autopicks and destoructions.
PHO [Thu, 6 Feb 2020 13:05:32 +0000 (22:05 +0900)]
[Feature] Add ./configure option "--with-varpath=PATH"
On Unix-like platforms, it is often desirable to install files that
will be modified after installation under a separate directory tree
from that containing read-only data files. This is so that read-only
files can reside in a read-only file system, and also package managers
can update or remove read-only files without worrying about removing
user data.
The new option "--with-varpath=PATH", when specified, configures the
game so that certain directories, namely apex, bone, data, edit, user,
and save, will be created under the given path, as opposed to the path
specified with "--with-libpath=PATH". When the option is not given,
those directories will be created under the lib directory as before.
PHO [Thu, 6 Feb 2020 06:25:30 +0000 (15:25 +0900)]
[Fix] #39669 Fix build on non-Windows platforms
deskull [Sat, 14 Nov 2020 13:16:22 +0000 (22:16 +0900)]
Revert "Put in place a workaround for compiling on Linux: unset si_ptr which is conflicting with Hengband."
This reverts commit
dcb062b063dd5f8d715bae03bc7fd569d0f8807c.
deskull [Sat, 14 Nov 2020 02:09:49 +0000 (11:09 +0900)]
[Refactor] #40514 player-status-flags.c に Doxygen コメント付加. / Add Doxygen comments to player-status-flags.c.
deskull [Fri, 13 Nov 2020 23:34:39 +0000 (08:34 +0900)]
Merge branch 'For2.2.2-Refactoring' of git.osdn.net:/gitroot/hengband/hengband into For2.2.2-Refactoring
iks [Wed, 11 Nov 2020 18:57:19 +0000 (03:57 +0900)]
[Fix] #40946 素手の場合でも右手左手の取得して命中判定をしようとしているため、熟練度を参照する場合に配列外アクセスしてしまうのを修正。 / Fix out of array access because hit bonus is always calculated with a weapon or *empty* object that player hands.
iks [Wed, 11 Nov 2020 18:55:59 +0000 (03:55 +0900)]
[Fix] 武器を両手持ちしている時の修正がもらえないことを判定する関数なのに、戻り値がほぼ逆になっていたので修正(武器の重さペナルティはcalc_to_hit()に織り込み済) / Fix that 'Has disable bonus' returns nearly 'Has enable bonus'.
iks [Wed, 11 Nov 2020 16:07:39 +0000 (01:07 +0900)]
[Fix] 修行僧がどの武器でも命中ペナルティを得るようになっていたので修正。 / Fix that monks get hit penalty by any weapons eather they are good at them or not.
iks [Tue, 10 Nov 2020 15:36:24 +0000 (00:36 +0900)]
[Fix] #40938 get_item_floor関数でmode指定にかかわらず、インベントリ、装備欄、床上が全て対象になっていたのを修正。 / get_item_floor now picks up items according to mode set.
Hourier [Tue, 10 Nov 2020 14:42:03 +0000 (23:42 +0900)]
[Fix] #40945 Resolved the issue that out-of-array access occurs when an item was not find in autopick list
Hourier [Tue, 10 Nov 2020 14:37:04 +0000 (23:37 +0900)]
[Refactor] #40945 Reshaped autopick.c automatically
iks [Mon, 9 Nov 2020 16:04:47 +0000 (01:04 +0900)]
[Imprement] 赤外線視力の種族的/一時的有無の表示を追加。
/ Display a flag of infravision tempolary or permanently.
Hourier [Mon, 9 Nov 2020 13:45:06 +0000 (22:45 +0900)]
[Fix] #40937 冷血動物の判定が間違っていて赤外線視力が効かなかった問題を修正した / Resolved the issue that infrared vision didn't work due to incorrect judgment of cold blood
iks [Sun, 8 Nov 2020 17:09:58 +0000 (02:09 +0900)]
[Fix] 変な文字列が混入していたので削除。/ Delete wrong string inserted at previous commit. Sorry.
iks [Sun, 8 Nov 2020 16:29:12 +0000 (01:29 +0900)]
[Fix] Windows10でウィンドウの高さの計算が少々小さくなる現象を修正。/Does not calucurate window height few low on Windows10.
iks [Sun, 8 Nov 2020 11:27:12 +0000 (20:27 +0900)]
[Fix] For macro triggers, special keys or XIM inputs are pushed into term queue reversal, beacsuse term_key_push function does now reversal queuing. When XIM inputs, convert it to EUC-JP from UTF-8 befere call term_key_push.
Hourier [Sat, 7 Nov 2020 17:20:47 +0000 (02:20 +0900)]
[Refactor] #39604 Reshaped display_monster_launching()
iks [Sat, 7 Nov 2020 16:44:39 +0000 (01:44 +0900)]
[Improve] #37756 Display SenseUnseen and NightSight on status bar when sniper's concentration is equal or greater than CONCENT_RADAR_THRESHOLD.
iks [Sat, 7 Nov 2020 16:29:44 +0000 (01:29 +0900)]
[Improve] #37756 Sniper's skill list now colored according to their status, which are selectable, not enough concentration and not enough player level.
iks [Sat, 7 Nov 2020 15:21:15 +0000 (00:21 +0900)]
[Fix] #39604 Display launching information right on recalls of monsters which have their blows fully.
iks [Sat, 7 Nov 2020 13:09:27 +0000 (22:09 +0900)]
[Revert] Remove code inserted by wrong commit. Sorry.
iks [Sat, 7 Nov 2020 12:56:21 +0000 (21:56 +0900)]
[Fix] #39008 Update daily bounty when staying inn at night.
iks [Sat, 7 Nov 2020 12:35:03 +0000 (21:35 +0900)]
[Fix] Change 'or' to 'and' to generate wilderness right when on ground except in fixed quiests.
iks [Sat, 7 Nov 2020 12:20:43 +0000 (21:20 +0900)]
[Fix] #40932 Initialize buildings to create them right when staying in a town after start/restart the game.
iks [Sat, 7 Nov 2020 06:25:40 +0000 (15:25 +0900)]
[Implement] #39671 Can display UTF-8 or other locale's multi byte string on GCU console. Also we should imply like this about key input process.
iks [Sat, 7 Nov 2020 06:18:34 +0000 (15:18 +0900)]
[Fix] When SET_UID is true, not wipe player_uid from player_type, to save to or load from a right save file.
iks [Sat, 7 Nov 2020 04:13:34 +0000 (13:13 +0900)]
[Implement] Translate same texts to Japanese.
iks [Fri, 6 Nov 2020 14:16:14 +0000 (23:16 +0900)]
[Implement] #37346 Translate to Japanese as possible, and add some new texts.
Hourier [Tue, 3 Nov 2020 12:19:00 +0000 (21:19 +0900)]
[Fix] #40743 Changed si_ptr to self_ptr because si_ptr is duplicated with Debian's header (signal.h)
Hourier [Tue, 3 Nov 2020 12:15:21 +0000 (21:15 +0900)]
[Refactor] #40709 one-monster-placer.c のif文整理 / Adjusted if-conditions in one-monster-placer.c
Hourier [Tue, 27 Oct 2020 12:34:37 +0000 (21:34 +0900)]
[Fix] #37285 Doxygenコメントの薬を靴に修正した / Fixed 'portion' to 'boots' in Doxygen's comment
Hourier [Tue, 27 Oct 2020 12:23:53 +0000 (21:23 +0900)]
[Refactor] #37285 特定ドロップ実装の下準備 / Prepared to implement specific drop from monster
iks [Sun, 8 Nov 2020 17:09:58 +0000 (02:09 +0900)]
[Fix] 変な文字列が混入していたので削除。/ Delete wrong string inserted at previous commit. Sorry.
iks [Sun, 8 Nov 2020 11:27:12 +0000 (20:27 +0900)]
[Fix] For macro triggers, special keys or XIM inputs are pushed into term queue reversal, beacsuse term_key_push function does now reversal queuing. When XIM inputs, convert it to EUC-JP from UTF-8 befere call term_key_push.
iks [Sat, 7 Nov 2020 06:25:40 +0000 (15:25 +0900)]
[Implement] #39671 Can display UTF-8 or other locale's multi byte string on GCU console. Also we should imply like this about key input process.
iks [Sun, 8 Nov 2020 16:29:12 +0000 (01:29 +0900)]
[Fix] Windows10でウィンドウの高さの計算が少々小さくなる現象を修正。/Does not calucurate window height few low on Windows10.
iks [Fri, 13 Nov 2020 16:23:41 +0000 (01:23 +0900)]
[Fix] #33649 宝物庫のおそらく床設定の部分が"."ではなく" "になっていたので修正。 / Put '.' onto vault's ' 's which are wrong feature.
Hourier [Sat, 24 Oct 2020 03:20:32 +0000 (12:20 +0900)]
[Refactor] #37285 タイポを修正 / Fixed typo
Hourier [Mon, 19 Oct 2020 12:52:08 +0000 (21:52 +0900)]
[Implement] #37324 特定ユニークを感知した時のメッセージを追加した / Added message display when the specific unique monster is detected
Hourier [Mon, 19 Oct 2020 12:05:53 +0000 (21:05 +0900)]
[Implement] #37285 量子生物であってもユニークならばモンスター闘技場へ出場できるようにした / Improved so that even quantum monsters can participate in the monster arena if they are unique
Hourier [Thu, 8 Oct 2020 14:54:01 +0000 (23:54 +0900)]
[Implement] #37324 アーティファクトの発動に森林生成を追加 / Added Tree Creation for the activation of artifact(s)
Hourier [Thu, 8 Oct 2020 10:41:51 +0000 (19:41 +0900)]
[Refactor] #37285 Reshaped object-boost.c automatically
Hourier [Wed, 7 Oct 2020 14:29:48 +0000 (23:29 +0900)]
[Implement] #37285 calc_blow_un_power() とprocess_un_power()において、魔道具使用能力向上フラグによるダメージ減衰処理を追加 / Added attenuating calculation for un-power into calc_blow_un_power() and process_un_power()
Hourier [Wed, 7 Oct 2020 14:04:35 +0000 (23:04 +0900)]
[Implement] #37285 Added damage decreasing calculation to calc_blow_drain_mana()
Hourier [Mon, 5 Oct 2020 10:16:35 +0000 (19:16 +0900)]
[Refactor] Shift-JISのファイルをUTF-8に変換 / Changed Shift-JIS based files to UTF-8 based
Hourier [Mon, 5 Oct 2020 00:11:50 +0000 (09:11 +0900)]
[Fix] #40734 変数が関数と誤認される不具合を解消 / Resolved the issue that variable was misidentified as function
Hourier [Sun, 27 Sep 2020 14:03:18 +0000 (23:03 +0900)]
[Fix] 永久光源に残りターンが付記される不具合を修正 / Fixed the issue that 'turns of light' for permanent lights was described
deskull [Thu, 12 Nov 2020 03:44:12 +0000 (12:44 +0900)]
[Fix] #37285 ここまでの関数名差異を修正. / Fix difference of functions name.
Hourier [Sun, 27 Sep 2020 13:20:16 +0000 (22:20 +0900)]
[Fix] 幻覚状態でlookすると無限ループに陥る不具合を修正 / Fixed the issue that inifinite loop occurred when 'l' command was entered with hallucination
(cherry picked from commit
248a52f859b739b030269debf2fdcb21353c05c7)
Hourier [Sat, 26 Sep 2020 09:30:38 +0000 (18:30 +0900)]
[WIP] [Refactor] #37285 マナ吸収ダメージの減衰式を追加 / Added attenuation calculation for drain-mana blow
(cherry picked from commit
a776b5ef8119cc93331a99ce6c8f4925c0da47c7)
Hourier [Sat, 26 Sep 2020 07:07:59 +0000 (16:07 +0900)]
[Implement] #37285 経験値吸収ダメージの減衰式を追加 / Added attenuation calculation for drain-life blow
(cherry picked from commit
cfdc6da1ce4d84e394218a51eb7514f445fb1b41)
Hourier [Sat, 26 Sep 2020 05:59:52 +0000 (14:59 +0900)]
[Implement] #37285 遅鈍ダメージの減衰式を追加 / Added attenuation calculation for inertia blow
(cherry picked from commit
f97be015d5bd4d4863c5fcb510b3865847255942)
Hourier [Sat, 26 Sep 2020 05:50:28 +0000 (14:50 +0900)]
[Implement] #37285 時間逆転ダメージの減衰式を追加 / Added attenuation calculation for time-reversal blow
(cherry picked from commit
74e8adc30e6cea7e96bb822b329c8bae48b3006a)
Hourier [Sat, 26 Sep 2020 05:46:15 +0000 (14:46 +0900)]
[Implement] #37285 経験値吸収ダメージの減衰式を追加 / Added attenuation calculation for drain-exp blow
(cherry picked from commit
7c6cca6e725e38c378550c679ff67009e84a6f57)