OSDN Git Service

hengbandforosx/hengbandosx.git
3 years ago[Refactor] #1116 Added flavor text for some monsters (English version only)
Hourier [Tue, 18 May 2021 09:28:07 +0000 (18:28 +0900)]
[Refactor] #1116 Added flavor text for some monsters (English version only)

3 years ago[Refactor] #1116 Changed the nickname of Dark Lord to the standard rule of Hengband...
Hourier [Mon, 17 May 2021 15:56:04 +0000 (00:56 +0900)]
[Refactor] #1116 Changed the nickname of Dark Lord to the standard rule of Hengband (English version only)

3 years ago[Fix] #1116 一部モンスターのフラグ設定ミス修正 / Resolved the issue that flags are lack in sevaral...
Hourier [Mon, 17 May 2021 15:50:08 +0000 (00:50 +0900)]
[Fix] #1116 一部モンスターのフラグ設定ミス修正 / Resolved the issue that flags are lack in sevaral monsters

3 years ago[Fix] #1116 Renamed electric rat series to pikachau series (English
Hourier [Mon, 17 May 2021 15:48:51 +0000 (00:48 +0900)]
[Fix] #1116 Renamed electric rat series to pikachau series (English
version only)

3 years agoMerge pull request #1129 from shimitei/feature/#1128_start_with_custom_symbol_in_tile...
shimitei [Sat, 22 May 2021 18:52:21 +0000 (03:52 +0900)]
Merge pull request #1129 from shimitei/feature/#1128_start_with_custom_symbol_in_tile_mode

[Fix] グラフィクスモードの初期化をTERM_XTRA_REACTに依存せず起動時に行う

3 years agoMerge pull request #1136 from dis-/feature/Add-Sound
dis- [Sat, 22 May 2021 14:18:31 +0000 (23:18 +0900)]
Merge pull request #1136 from dis-/feature/Add-Sound

[Feature] 効果音の追加。空腹時、会心の一撃、切れ味

3 years agoMerge pull request #1137 from shimitei/feature/#1135_disable_drrag_selection_during_m...
shimitei [Sat, 22 May 2021 13:31:14 +0000 (22:31 +0900)]
Merge pull request #1137 from shimitei/feature/#1135_disable_drrag_selection_during_macro_running

[Fix] Windows版でマクロ実行中は画面をマウス選択不可に制限する

3 years ago[Feature] 効果音の追加。空腹時、会心の一撃、切れ味
dis- [Sat, 22 May 2021 07:16:48 +0000 (16:16 +0900)]
[Feature] 効果音の追加。空腹時、会心の一撃、切れ味

効果音を鳴らすシチュエーションを追加した。
空腹時に鳴らす音をhunger, weak, faintの3段階。
会心の一撃で鳴らす音を会心強度で5段階設定した。
切れ味で鳴らす音を7段階それぞれに設定した。

3 years ago[Fix] Windows版でマクロ実行中は画面をマウス選択不可に制限する
shimitei [Sat, 22 May 2021 07:37:56 +0000 (16:37 +0900)]
[Fix] Windows版でマクロ実行中は画面をマウス選択不可に制限する

3 years agoMerge pull request #1125 from shimitei/feature/#1078_load_from_user_dir
shimitei [Thu, 20 May 2021 22:50:02 +0000 (07:50 +0900)]
Merge pull request #1125 from shimitei/feature/#1078_load_from_user_dir

[Fix] ユーザー操作での.prfファイル読み込みをANGBAND_DIR_USERからに限定する

3 years ago[Fix] グラフィクスモードの初期化をTERM_XTRA_REACTに依存せず起動時に行う
shimitei [Thu, 20 May 2021 22:39:36 +0000 (07:39 +0900)]
[Fix] グラフィクスモードの初期化をTERM_XTRA_REACTに依存せず起動時に行う

TERM_XTRA_REACTでの処理は表示シンボルのリセットを伴うため、起動時にグラフィクスモードの初期化(シンボルリセットなし)を行う。

3 years agoMerge pull request #1127 from dis-/feature/Add-DragonSlayer
dis- [Thu, 20 May 2021 13:48:43 +0000 (22:48 +0900)]
Merge pull request #1127 from dis-/feature/Add-DragonSlayer

[Feature] 固定アーティファクト『ドラゴンころし』の追加

3 years ago[Feature] 固定アーティファクト『ドラゴンころし』の追加
dis- [Thu, 20 May 2021 12:43:06 +0000 (21:43 +0900)]
[Feature] 固定アーティファクト『ドラゴンころし』の追加

★苦痛のグレイブ相当の武器として実装し、戦士/狂戦士の古い城報酬にする。

3 years agoMerge pull request #1122 from habu1010/feature/fix-parse-m-info-spell-xtra
Habu [Wed, 19 May 2021 13:34:09 +0000 (22:34 +0900)]
Merge pull request #1122 from habu1010/feature/fix-parse-m-info-spell-xtra

[Fix] m_info.txt の xtra フラグが正しく読めていない

3 years agoMerge pull request #1123 from shimitei/feature/delete_unused_term_data_member
shimitei [Wed, 19 May 2021 13:33:07 +0000 (22:33 +0900)]
Merge pull request #1123 from shimitei/feature/delete_unused_term_data_member

[Refactor] term_data構造体の未使用メンバ変数削除

3 years ago[Fix] ユーザー操作での.prfファイル読み込みをANGBAND_DIR_USERからに限定する
shimitei [Wed, 19 May 2021 12:28:15 +0000 (21:28 +0900)]
[Fix] ユーザー操作での.prfファイル読み込みをANGBAND_DIR_USERからに限定する

同名ファイルがANGBAND_DIR_PREFに存在する場合に読み込めないため、カラーの設定/マクロの設定/画面表示の設定での「ユーザー設定ファイルのロード」はANGBAND_DIR_USERからに限定する。

3 years ago[Feature] process_pref_file関数にANGBAND_DIR_USERからのみ読み込む引数を追加
shimitei [Wed, 19 May 2021 12:24:12 +0000 (21:24 +0900)]
[Feature] process_pref_file関数にANGBAND_DIR_USERからのみ読み込む引数を追加

ANGBAND_DIR_PREFからの読み込みを外したいケースに対応する。

3 years ago[Refactor] term_data構造体の未使用メンバ変数削除
shimitei [Wed, 19 May 2021 10:35:58 +0000 (19:35 +0900)]
[Refactor] term_data構造体の未使用メンバ変数削除

3 years ago[Fix] m_info.txt の xtra フラグが正しく読めていない
Habu [Wed, 19 May 2021 09:04:55 +0000 (18:04 +0900)]
[Fix] m_info.txt の xtra フラグが正しく読めていない

m_info.txt の xtra フラグは 0x05 のような16進数で記述しているが
10進数として std::stoi に渡しているため正しく値が読めず 0 に
なってしまっている。
info_set_value() に基数を指定する引数を追加し、 xtra フラグは
16進数として読むようにする。

3 years agoMerge pull request #1118 from shimitei/feature/#1109_reference_macro_buf
shimitei [Wed, 19 May 2021 03:54:25 +0000 (12:54 +0900)]
Merge pull request #1118 from shimitei/feature/#1109_reference_macro_buf

[Feature] 最後に確認したマクロを作成時に編集データに用いる

3 years agoMerge pull request #1117 from shimitei/feature/#1087_wchar_filename
shimitei [Tue, 18 May 2021 19:51:41 +0000 (04:51 +0900)]
Merge pull request #1117 from shimitei/feature/#1087_wchar_filename

[Feature] ワイド文字列版APIへ移行(PlaySound, GetFileAttributes, mciSendCommand)

3 years ago[Feature] 最後に確認したマクロを作成時に編集データに用いる
shimitei [Tue, 18 May 2021 12:37:54 +0000 (21:37 +0900)]
[Feature] 最後に確認したマクロを作成時に編集データに用いる

長いマクロで落ちる対策で使えなくなっていた機能を再実装した。

3 years ago[Feature] ワイド文字列版APIへ移行(PlaySound, GetFileAttributes, mciSendCommand)
shimitei [Mon, 17 May 2021 21:52:07 +0000 (06:52 +0900)]
[Feature] ワイド文字列版APIへ移行(PlaySound, GetFileAttributes, mciSendCommand)

システムロケールUTF-8環境で効果音、BGMに日本語を含むファイル名を指定した場合も動作するように。

3 years ago[Refactor] WIN32_LEAN_AND_MEANの廃止
shimitei [Mon, 17 May 2021 21:42:24 +0000 (06:42 +0900)]
[Refactor] WIN32_LEAN_AND_MEANの廃止

一部ファイルのみ使用しているとコンパイルエラーの元になるため、WIN32_LEAN_AND_MEANを使用しないに統一する。

3 years agoMerge pull request #1114 from shimitei/feature/add_comment_music_cfg
shimitei [Mon, 17 May 2021 20:24:52 +0000 (05:24 +0900)]
Merge pull request #1114 from shimitei/feature/add_comment_music_cfg

[MISC] music.cfgに個別BGMのコメント追加

3 years ago[MISC] music.cfgに個別BGMのコメント追加
shimitei [Mon, 17 May 2021 14:23:19 +0000 (23:23 +0900)]
[MISC] music.cfgに個別BGMのコメント追加

Town, Dungeon, Questの個別項目のコメントを追加。

3 years agoMerge pull request #1086 from backwardsEric/linux-unix-sound-files-install
Habu [Mon, 17 May 2021 14:16:35 +0000 (23:16 +0900)]
Merge pull request #1086 from backwardsEric/linux-unix-sound-files-install

[Linux/Unix] remove references to recently removed sound files in lib/xtra/sound/Makefile.am

3 years agoRemoved references to se_maoudamashii_se_footstep01.wav and sword-drawn1-r.wav.
Eric Branlund [Thu, 13 May 2021 14:30:24 +0000 (07:30 -0700)]
Removed references to se_maoudamashii_se_footstep01.wav and sword-drawn1-r.wav.

3 years agoMerge pull request #1110 from shimitei/feature/#1108_fix_english_build
shimitei [Mon, 17 May 2021 11:55:34 +0000 (20:55 +0900)]
Merge pull request #1110 from shimitei/feature/#1108_fix_english_build

[Fix] 英語版ビルドエラー修正

3 years agoMerge pull request #1104 from shimitei/feature/#1100_reform_macro_setting_page
shimitei [Mon, 17 May 2021 05:27:12 +0000 (14:27 +0900)]
Merge pull request #1104 from shimitei/feature/#1100_reform_macro_setting_page

[Fix] キー待ちしないオプション有効時もマクロ設定画面を扱いやすくする

3 years ago[Fix] 英語版ビルドエラー修正
shimitei [Sun, 16 May 2021 21:12:58 +0000 (06:12 +0900)]
[Fix] 英語版ビルドエラー修正

3 years agoMerge pull request #1106 from sikabane-works/release/3.0.0Alpha23
Habu [Sun, 16 May 2021 15:42:29 +0000 (00:42 +0900)]
Merge pull request #1106 from sikabane-works/release/3.0.0Alpha23

[Release] 3.0.0Alpha23

3 years ago[Release] 3.0.0Alpha23
Deskull [Sun, 16 May 2021 12:51:25 +0000 (21:51 +0900)]
[Release] 3.0.0Alpha23

3 years agoMerge pull request #1092 from Hourier/feature/Adjust-Monster-Alpha22
Hourier [Sun, 16 May 2021 12:26:05 +0000 (21:26 +0900)]
Merge pull request #1092 from Hourier/feature/Adjust-Monster-Alpha22

確認ありがとうございました
マージしておきます

3 years agoMerge pull request #1103 from dis-/feature/Cancel-Create-ResAll-InsideQuest
dis- [Sun, 16 May 2021 11:47:40 +0000 (20:47 +0900)]
Merge pull request #1103 from dis-/feature/Cancel-Create-ResAll-InsideQuest

[Feature] 固定クエストにRES_ALL持ちモンスターを生成しない

3 years agoMerge pull request #1096 from backwardsEric/angband_fgets-nonprint-replace
Deskull [Sun, 16 May 2021 11:18:09 +0000 (20:18 +0900)]
Merge pull request #1096 from backwardsEric/angband_fgets-nonprint-replace

[English] In angband_fgets() replace nonprintables with '?' rather than strip them

3 years ago[Fix] キー待ちしないオプション有効時もマクロ設定画面を扱いやすくする
shimitei [Sun, 16 May 2021 06:09:39 +0000 (15:09 +0900)]
[Fix] キー待ちしないオプション有効時もマクロ設定画面を扱いやすくする

メッセージが自動で送られるとマクロの確認等を行えなかった。
画面クリアのタイミングをマクロ設定画面コマンド選択後に移動することで、確認を行えるようにする。

3 years agoMerge pull request #1102 from shimitei/feature/#1073_more_fix
shimitei [Sun, 16 May 2021 01:49:13 +0000 (10:49 +0900)]
Merge pull request #1102 from shimitei/feature/#1073_more_fix

[Fix] 長いマクロが登録されているとマクロ設定画面でスタックが破壊される問題の修正

3 years agoMerge pull request #1101 from shimitei/feature/#1099_fix_mundanify_message
shimitei [Sun, 16 May 2021 01:45:36 +0000 (10:45 +0900)]
Merge pull request #1101 from shimitei/feature/#1099_fix_mundanify_message

[Fix] 凡庸化メッセージの修正

3 years ago[Feature] 固定クエストにRES_ALL持ちモンスターを生成しない
dis- [Sun, 16 May 2021 00:55:48 +0000 (09:55 +0900)]
[Feature] 固定クエストにRES_ALL持ちモンスターを生成しない

#1094で議論している内容。固定クエストにRES_ALL持ちモンスターが生成された場合、対処手段が限定されるため「毒針」を持参するなどしなければ達成が著しく困難となる。
これは単に強力なモンスターが出現するよりも理不尽であるため修正する。

3 years ago[Fix] 長いマクロが登録されているとマクロ設定画面でスタックが破壊される問題の修正
shimitei [Sun, 16 May 2021 00:28:49 +0000 (09:28 +0900)]
[Fix] 長いマクロが登録されているとマクロ設定画面でスタックが破壊される問題の修正

4) マクロの作成、8) キー配置の作成でも登録マクロのバッファをそのまま再利用するため、長いマクロが登録されているとスタックが壊れる。
4,8ではバッファに空文字列を設定してから編集を行うようにした。

3 years ago[Fix] 凡庸化メッセージの修正
shimitei [Sat, 15 May 2021 23:44:57 +0000 (08:44 +0900)]
[Fix] 凡庸化メッセージの修正

対象を選択させる時のメッセージとして違和感があるため修正した。

3 years ago[Implement] #1020 セイレーンと火蜂に召喚酔いフラグを付けた / Added PREVENT_SUDDEN_MAGIC flag to siren...
Hourier [Fri, 14 May 2021 17:36:38 +0000 (02:36 +0900)]
[Implement] #1020 セイレーンと火蜂に召喚酔いフラグを付けた / Added PREVENT_SUDDEN_MAGIC flag to siren and Hibachi

3 years ago[Fix] #1020 あつくもえるてきの英語名称を修正した / Resolved the issue that the name of Soul Consuming...
Hourier [Fri, 14 May 2021 17:32:08 +0000 (02:32 +0900)]
[Fix] #1020 あつくもえるてきの英語名称を修正した / Resolved the issue that the name of Soul Consuming Flame was incorrect

3 years ago[Fix] #1020 『チョコラータ』に人間フラグがない事象を解消した / Resolved the issue that Cioccolata doesn't...
Hourier [Fri, 14 May 2021 17:31:10 +0000 (02:31 +0900)]
[Fix] #1020 『チョコラータ』に人間フラグがない事象を解消した / Resolved the issue that Cioccolata doesn't have HUMAN flag

3 years ago[Fix] #1020 鼠小僧にアイテムドロップが定義されていなかった問題を修正した / Resolved the issue that the possibility...
Hourier [Fri, 14 May 2021 17:19:51 +0000 (02:19 +0900)]
[Fix] #1020 鼠小僧にアイテムドロップが定義されていなかった問題を修正した / Resolved the issue that the possibility of drops wasn't defined

3 years ago[Refactor] #1020 集団版の見習戦士において打撃属性がHITだったのをSLASHに修正した / Changed the type of blows...
Hourier [Fri, 14 May 2021 17:09:58 +0000 (02:09 +0900)]
[Refactor] #1020 集団版の見習戦士において打撃属性がHITだったのをSLASHに修正した / Changed the type of blows in novice warrior from HIT to SLASH

3 years ago[Implement] #1020 OSDN No.41042 にてリクエストされていたモンスター群を実装した / Implemented monster races...
Hourier [Fri, 14 May 2021 17:07:36 +0000 (02:07 +0900)]
[Implement] #1020 OSDN No.41042 にてリクエストされていたモンスター群を実装した / Implemented monster races requested in OSDN Ticket No.41042

3 years ago[Implement] #1020 クド(本物)を実装した / Implemented Kudryavka (genuineness)
Hourier [Fri, 14 May 2021 15:22:42 +0000 (00:22 +0900)]
[Implement] #1020 クド(本物)を実装した / Implemented Kudryavka (genuineness)

3 years ago[Refactor] #1020 抜け雀に集団生成フラグを追加した / Added FRIENDS flag to passing sparrow
Hourier [Fri, 14 May 2021 15:09:47 +0000 (00:09 +0900)]
[Refactor] #1020 抜け雀に集団生成フラグを追加した / Added FRIENDS flag to passing sparrow

3 years ago[Refactor] #1020 クリスタル・キューブのレアリティを調整した / Adjusted the rarity of crystal cube
Hourier [Fri, 14 May 2021 15:08:26 +0000 (00:08 +0900)]
[Refactor] #1020 クリスタル・キューブのレアリティを調整した / Adjusted the rarity of crystal cube

3 years ago[Refactor] #1020 『ヤマト』の出現階層とレアリティを調整した / Adjusted Yamato's floor and rarity
Hourier [Fri, 14 May 2021 15:07:16 +0000 (00:07 +0900)]
[Refactor] #1020 『ヤマト』の出現階層とレアリティを調整した / Adjusted Yamato's floor and rarity

3 years ago[Implement] #1020 電気ネズミ数種を実装した / Added some electric rats
Hourier [Fri, 14 May 2021 14:49:19 +0000 (23:49 +0900)]
[Implement] #1020 電気ネズミ数種を実装した / Added some electric rats

3 years ago[Implement] #1020 『サンダーズ大佐』の特殊召喚を実装した / Implemented the special kin summoning to...
Hourier [Fri, 14 May 2021 14:24:05 +0000 (23:24 +0900)]
[Implement] #1020 『サンダーズ大佐』の特殊召喚を実装した / Implemented the special kin summoning to Colonel Thunders

3 years ago[Implement] #1020 モンスターを3種追加した / Added 3 monster races
Hourier [Fri, 14 May 2021 13:10:05 +0000 (22:10 +0900)]
[Implement] #1020 モンスターを3種追加した / Added 3 monster races

3 years ago[Implement] #1020 新規モンスター群を実装した / Implemented some new monsters
Hourier [Mon, 3 May 2021 01:32:42 +0000 (10:32 +0900)]
[Implement] #1020 新規モンスター群を実装した / Implemented some new monsters

3 years agoMerge pull request #1089 from sikabane-works/feature/fix-shoot-dice
Deskull [Sat, 15 May 2021 09:47:12 +0000 (18:47 +0900)]
Merge pull request #1089 from sikabane-works/feature/fix-shoot-dice

[Fix] モンスターの思い出の射撃ダイス表示がダイス数と目で逆。

3 years agoMerge pull request #1095 from iks3/fix-race-info-spell-flags
iks [Sat, 15 May 2021 02:05:18 +0000 (11:05 +0900)]
Merge pull request #1095 from iks3/fix-race-info-spell-flags

[Fix] r_info.txtのモンスターの呪文フラグで書式によってうまく読めない #1091

3 years agoIn angband_fgets() replace nonprintables with '?' rather than strip them. Without...
Eric Branlund [Fri, 14 May 2021 21:57:22 +0000 (14:57 -0700)]
In angband_fgets() replace nonprintables with '?' rather than strip them.  Without that, the changes to kind-reader.cpp in https://github.com/backwardsEric/hengband/commit/8c1ee0d91accd2d33b46ad0756a832ae71ef4c0d cause the English version to bail out at line 117 of k_info.txt (the Japanese characters in that line were all ignored in angband_fgets() leaving an empty string that triggers a parsing error in kind-reader.cpp).

3 years ago[Fix] r_info.txtのモンスターの呪文フラグで書式によってうまく読めない #1091
iks [Fri, 14 May 2021 21:36:56 +0000 (06:36 +0900)]
[Fix] r_info.txtのモンスターの呪文フラグで書式によってうまく読めない #1091

#909のエンバグ。
これまで呪文確率の1_IN_Xはそれのみで1行に書かれていたため問題なかったが、最新の追加モンスターでは同じ行に呪文種別のフラグも記載されたため顕在化。

3 years agoMerge pull request #1083 from shimitei/feature/#1082_fix_init_sound_when_starting_cmdline
shimitei [Fri, 14 May 2021 20:31:16 +0000 (05:31 +0900)]
Merge pull request #1083 from shimitei/feature/#1082_fix_init_sound_when_starting_cmdline

[Fix] セーブファイル指定起動時も効果音/BGMを初期化する

3 years ago[Fix] モンスターの思い出の射撃ダイス表示がダイス数と目で逆。
deskull [Fri, 14 May 2021 03:45:33 +0000 (12:45 +0900)]
[Fix] モンスターの思い出の射撃ダイス表示がダイス数と目で逆。

3 years ago[Fix] Windows版のゲーム開始関数コールを1か所にまとめることで初期化差異を無くす
shimitei [Wed, 12 May 2021 21:37:48 +0000 (06:37 +0900)]
[Fix] Windows版のゲーム開始関数コールを1か所にまとめることで初期化差異を無くす

コマンドライン引数でセーブファイルを指定した場合に、効果音とBGMの初期化が行われていなかった。
play_game関数呼び出しをWinMainの最後に配置することで初期化の差異が出ないようにする。

3 years agoMerge pull request #1085 from shimitei/feature/add_limits_header
shimitei [Fri, 14 May 2021 11:59:16 +0000 (20:59 +0900)]
Merge pull request #1085 from shimitei/feature/add_limits_header

[Fix] 足りないヘッダーファイル追加

3 years ago[Fix] 足りないヘッダーファイル追加
shimitei [Thu, 13 May 2021 13:56:00 +0000 (22:56 +0900)]
[Fix] 足りないヘッダーファイル追加

3 years agoMerge pull request #1081 from shimitei/feature/#1075_convert_read_cfg_data
shimitei [Thu, 13 May 2021 10:14:10 +0000 (19:14 +0900)]
Merge pull request #1081 from shimitei/feature/#1075_convert_read_cfg_data

[Fix] .cfgファイルの読み込み時に内部の文字コードに合わせる

3 years ago[Fix] .cfgファイル読み取り時に文字コードを合わせる
shimitei [Wed, 12 May 2021 11:12:22 +0000 (20:12 +0900)]
[Fix] .cfgファイル読み取り時に文字コードを合わせる

.cfgはUTF-8のため内部コードのShift-JISに変換する必要があった。

3 years agoMerge pull request #909 from iks3/refactor-parser-to-cpp-like
iks [Wed, 12 May 2021 11:11:40 +0000 (20:11 +0900)]
Merge pull request #909 from iks3/refactor-parser-to-cpp-like

[Refactor] 各パーサをstd::string系の処理を利用して書き直し

3 years ago[MISC] 効果音定義の未使用のものにunusedコメントを追加
shimitei [Wed, 12 May 2021 11:00:20 +0000 (20:00 +0900)]
[MISC] 効果音定義の未使用のものにunusedコメントを追加

3 years ago[MISC] 文字コードを明確にUTF-8にするため、sound.cfgに日本語コメントを追加
shimitei [Tue, 11 May 2021 21:00:32 +0000 (06:00 +0900)]
[MISC] 文字コードを明確にUTF-8にするため、sound.cfgに日本語コメントを追加

[Sound]セクションの未使用項目を削除する。未使用項目の指定ファイルも削除する。

3 years agoMerge pull request #1079 from shimitei/feature/#1076_ver_eng_also_autosave_when_playe...
shimitei [Wed, 12 May 2021 03:23:51 +0000 (12:23 +0900)]
Merge pull request #1079 from shimitei/feature/#1076_ver_eng_also_autosave_when_player_death

[Fix] 英語版もプレイヤー死亡時に強制セーブする

3 years ago[Fix] 英語版もプレイヤー死亡時に強制セーブする
shimitei [Tue, 11 May 2021 21:18:41 +0000 (06:18 +0900)]
[Fix] 英語版もプレイヤー死亡時に強制セーブする

3 years agoMerge pull request #1058 from sikabane-works/feature/enum-virtue
Deskull [Tue, 11 May 2021 12:29:07 +0000 (21:29 +0900)]
Merge pull request #1058 from sikabane-works/feature/enum-virtue

[Refactor] 徳の定義をenum化.

3 years agoMerge pull request #766 from iks3/fix-display-with-utf8-windows-10
iks [Tue, 11 May 2021 11:33:04 +0000 (20:33 +0900)]
Merge pull request #766 from iks3/fix-display-with-utf8-windows-10

[Feature] 内部コードをUTF-8に設定したWindows10でも遊べるようにする

3 years agoMerge pull request #1072 from habu1010/feature/fix-martial-arts-extra-blows
Habu [Tue, 11 May 2021 10:32:36 +0000 (19:32 +0900)]
Merge pull request #1072 from habu1010/feature/fix-martial-arts-extra-blows

[Fix] 両手の空いたマーシャルアーツで利き手でない方の指に追加攻撃の指輪を付けても攻撃回数が増えない #1071

3 years ago[Fix] WindowsのUTF-8ロケールで日本語が正しく表示できない #763
iks [Sun, 11 Apr 2021 09:36:51 +0000 (18:36 +0900)]
[Fix] WindowsのUTF-8ロケールで日本語が正しく表示できない  #763

3 years agoMerge pull request #1062 from shimitei/feature/#1053_unicode_charset
shimitei [Mon, 10 May 2021 19:27:22 +0000 (04:27 +0900)]
Merge pull request #1062 from shimitei/feature/#1053_unicode_charset

[Feature] Windows版をUnicode文字セット(UTF-16)へ移行

3 years agoMerge pull request #1073 from shimitei/feature/#1070_fix_display_too_long_macro
shimitei [Mon, 10 May 2021 19:26:39 +0000 (04:26 +0900)]
Merge pull request #1073 from shimitei/feature/#1070_fix_display_too_long_macro

[Fix] 長いマクロ表示でスタックが破壊される問題の修正

3 years ago[Fix] angband_fgets関数がバッファサイズを超えてNULL終端を書き込む問題の修正
shimitei [Mon, 10 May 2021 12:46:28 +0000 (21:46 +0900)]
[Fix] angband_fgets関数がバッファサイズを超えてNULL終端を書き込む問題の修正

3 years ago[Fix] 長いマクロ表示でスタックが破壊される問題の修正
shimitei [Mon, 10 May 2021 12:44:58 +0000 (21:44 +0900)]
[Fix] 長いマクロ表示でスタックが破壊される問題の修正

長いマクロは画面に表示しきれないため、80バイト分のみ表示する。

3 years ago[Refactor] clang-format適用
shimitei [Mon, 10 May 2021 12:44:01 +0000 (21:44 +0900)]
[Refactor] clang-format適用

3 years ago[Feature] Unicode文字セットでの日本語入力対応
shimitei [Mon, 10 May 2021 11:08:55 +0000 (20:08 +0900)]
[Feature] Unicode文字セットでの日本語入力対応

3 years ago[Feature] Windows版をUnicode文字セット(UTF-16)へ移行
shimitei [Sat, 8 May 2021 22:51:11 +0000 (07:51 +0900)]
[Feature] Windows版をUnicode文字セット(UTF-16)へ移行

文字セットをマルチバイトからUnicodeへ変更する。
次のAPIをワイド文字列版へ移行する。
- CreateWindowEx
- LoadIcon / LoadBitmap
- CreateMutex
- RegisterClass / UnregisterClass

以下のAPIは従来通りマルチバイト版を使用する。
- PlaySound
- GetPrivateProfileString / GetPrivateProfileInt
- ExtTextOut
- GetFileAttributes
- wsprintf ※sprintfが混じっている処理はwsprintfに統一する
- mciSendCommand
- GetModuleFileName

3 years ago[Fix] 両手の空いたマーシャルアーツで利き手でない方の指に追加攻撃の指輪を付けても攻撃回数が増えない #1071
Habu [Mon, 10 May 2021 11:02:57 +0000 (20:02 +0900)]
[Fix] 両手の空いたマーシャルアーツで利き手でない方の指に追加攻撃の指輪を付けても攻撃回数が増えない #1071

extra_blowsの計算で両手持ちだけではなく両手マーシャルアーツの
チェックも行うようにする。

3 years agoMerge pull request #1068 from sikabane-works/release/3.0.0Alpha22
Deskull [Sun, 9 May 2021 13:41:31 +0000 (22:41 +0900)]
Merge pull request #1068 from sikabane-works/release/3.0.0Alpha22

[Release] 3.0.0Alpha22

3 years ago[Release] 3.0.0Alpha22
Deskull [Sun, 9 May 2021 12:28:31 +0000 (21:28 +0900)]
[Release] 3.0.0Alpha22

3 years agoMerge pull request #1066 from habu1010/feature/display-impact-damge
Habu [Sun, 9 May 2021 11:13:15 +0000 (20:13 +0900)]
Merge pull request #1066 from habu1010/feature/display-impact-damge

[Fix] 武器匠での会心ダメージやステータス画面上の平均ダメージに強撃の効果が反映されない #897

3 years agoMerge pull request #1065 from shimitei/feature/fix_open_default_savename
shimitei [Sun, 9 May 2021 11:07:25 +0000 (20:07 +0900)]
Merge pull request #1065 from shimitei/feature/fix_open_default_savename

[Fix] Windows版ファイル選択ダイアログでファイル名初期値が常に未設定

3 years agoMerge pull request #1063 from habu1010/feature/FlagGroup-nodiscard-attributes
Habu [Sun, 9 May 2021 04:53:37 +0000 (13:53 +0900)]
Merge pull request #1063 from habu1010/feature/FlagGroup-nodiscard-attributes

[Feature] FlagGroup のメンバに nodiscard 属性を付与する

3 years ago[Fix] 武器匠での会心ダメージやステータス画面上の平均ダメージに強撃の効果が反映されない #897
Habu [Sun, 9 May 2021 04:14:46 +0000 (13:14 +0900)]
[Fix] 武器匠での会心ダメージやステータス画面上の平均ダメージに強撃の効果が反映されない #897

武器匠でのダメージ表示とステータス画面の平均ダメージに
強撃フラグの効果が反映されるようにする。
これまでのような一次式による期待値計算は難しいので、
実際にd650+d650の全パターンを網羅して期待値を計算する。

3 years ago[Fix] Windows版ファイル選択ダイアログでファイル名初期値が常に未設定
shimitei [Sun, 9 May 2021 03:40:02 +0000 (12:40 +0900)]
[Fix] Windows版ファイル選択ダイアログでファイル名初期値が常に未設定

セーブファイルを開くとき、 #1023 のエンバグでファイル名が設定されなくなっている。
以前と同様にファイル名の初期値を設定するようにした。

3 years agoMerge pull request #1064 from habu1010/feature/Fix-mac-clang-deduction-error
Habu [Sun, 9 May 2021 00:49:51 +0000 (09:49 +0900)]
Merge pull request #1064 from habu1010/feature/Fix-mac-clang-deduction-error

[Fix] Mac版Clangで display-messages.cpp のコンパイルエラー

3 years ago[Fix] Mac版Clangで display-messages.cpp のコンパイルエラー
Habu [Sun, 9 May 2021 00:36:45 +0000 (09:36 +0900)]
[Fix] Mac版Clangで display-messages.cpp のコンパイルエラー

std::weak_ptr のコンストラクタで型推論ができずにコンパイルエラーと
なるようなので、明示的に型を与えるようにする。

3 years ago[Feature] FlagGroup のメンバに nodiscard 属性を付与する
Habu [Sun, 9 May 2021 00:15:14 +0000 (09:15 +0900)]
[Feature] FlagGroup のメンバに nodiscard 属性を付与する

9e83442dc1904a7a70511fbef436ccd7e713ca10 のようなミスを
防止するため、FlagGroup のメンバに nodiscard 属性を付与する。
間違いやすいのは has() と set() だと思われるが、この際なので
戻り値を無視する事はあり得ないであろうメンバにはすべて
nodiscard 属性を付けておく。

3 years agoMerge pull request #1061 from dis-/feature/fix-monster-flow
dis- [Sat, 8 May 2021 23:54:27 +0000 (08:54 +0900)]
Merge pull request #1061 from dis-/feature/fix-monster-flow

[Fix] 壁抜け対策のMFLAG2::NOFLOWが機能していない

3 years ago[Fix] 壁抜け対策のMFLAG2::NOFLOWが機能していない
dis- [Sat, 8 May 2021 21:54:38 +0000 (06:54 +0900)]
[Fix] 壁抜け対策のMFLAG2::NOFLOWが機能していない

該当のフラグをsetするべきところでsetされていない。
そのため、壁抜け@に対する変則ピラーダンス封じが機能していない。
以前と同様にフラグをsetすることで正常な挙動に戻す。

3 years ago[Refactor] 各パーサをstd::string系の処理を利用して書き直し
iks [Sat, 24 Apr 2021 14:04:08 +0000 (23:04 +0900)]
[Refactor] 各パーサをstd::string系の処理を利用して書き直し

同時にエラーコードのenumへ置換。

3 years agoMerge pull request #1057 from iks3/fix-monster-invulner-message
iks [Sat, 8 May 2021 16:23:35 +0000 (01:23 +0900)]
Merge pull request #1057 from iks3/fix-monster-invulner-message

[Fix] 見えないときにモンスターの無敵発動時のメッセージが表示される #1034

3 years ago[Feature] str_split()に事前サイズ予約引数を追加
iks [Sun, 2 May 2021 13:55:06 +0000 (22:55 +0900)]
[Feature] str_split()に事前サイズ予約引数を追加

3 years agoMerge pull request #1052 from habu1010/feature/curse-flags-to-FlagGroup
Habu [Sat, 8 May 2021 16:03:24 +0000 (01:03 +0900)]
Merge pull request #1052 from habu1010/feature/curse-flags-to-FlagGroup

[Refactor] curse_flags の FlagGroup化