OSDN Git Service
Habu [Fri, 7 May 2021 09:27:11 +0000 (18:27 +0900)]
Merge pull request #1045 from habu1010/feature/fix-recursive-affect-item
[Fix] 轟音のブレスにより魔力復活の薬が割れた際にクラッシュ #1041
Habu [Thu, 6 May 2021 22:18:59 +0000 (07:18 +0900)]
Merge pull request #1048 from habu1010/feature/fix-blessed-blade-saving-throw
[Fix] 祝福による魔法防御上昇の誤り #1047
shimitei [Thu, 6 May 2021 14:41:35 +0000 (23:41 +0900)]
Merge pull request #1046 from shimitei/feature/#1040_dont_ask_when_already_there
[Feature] 目的地に居る場合にトラベル継続確認を行わない
shimitei [Thu, 6 May 2021 12:50:07 +0000 (21:50 +0900)]
Merge pull request #1049 from shimitei/feature/#1036_fix_unpaint_background
[Fix] Windows版でウインドウサイズ変更時に端の描画が残らないように修正
shimitei [Thu, 6 May 2021 03:12:53 +0000 (12:12 +0900)]
[Fix] Windows版でウインドウサイズ変更時に端の描画が残らないように修正
背景ブラシと同様の範囲(クライアント領域全体)をクリアするように修正した。
また、ウインドウサイズ変更時の行/列サイズ算出を修正した。TOP, LEFTのマージンだけでなくRIGHT, BOTTOMのマージンも考慮するように修正した。
Habu [Wed, 5 May 2021 13:51:42 +0000 (22:51 +0900)]
[Fix] 祝福による魔法防御上昇の誤り #1047
参照するメンバ名がbless_bladeではなくblessedになっており
祝福された装備をしている時でなく一時的効果の祝福時に
魔法防御が上昇している。
本来の効果であるbless_bladeに修正する。
shimitei [Wed, 5 May 2021 09:24:53 +0000 (18:24 +0900)]
[Feature] 目的地に居る場合にトラベル継続確認を行わない
トラベルコマンドの中断後に手動で移動し、目的地で再度トラベルコマンドを実行した場合に「トラベルを継続しますか?」の確認を出さないようにする。
shimitei [Wed, 5 May 2021 09:17:48 +0000 (18:17 +0900)]
[Refactor] clang-format適用
Habu [Wed, 5 May 2021 08:57:00 +0000 (17:57 +0900)]
[Fix] 轟音のブレスにより魔力復活の薬が割れた際にクラッシュ #1041
affect_item()の処理で魔力復活の薬が破壊された時に、再帰的な
affect_item()の呼び出しによりリストの次のアイテムが破壊され、
次のアイテムを指すイテレータが無効になってしまっているのが
原因。
破壊されなかった次のアイテムを得る妥当な方法が無いため、
リストの最初から処理をやり直すようにする。
処理が重複しなよう、一度処理したアイテムは登録しておき
処理をスキップするようにする。
Habu [Wed, 5 May 2021 06:17:34 +0000 (15:17 +0900)]
Merge pull request #1028 from habu1010/feature/refactor-message-history
message_add 関数をC++機能でリファクタリングする #1026
shimitei [Wed, 5 May 2021 04:53:54 +0000 (13:53 +0900)]
Merge pull request #1017 from shimitei/feature/#1010_active_main_window
[Fix] タスク切り替え時にメインウインドウをアクティブにする
Habu [Tue, 4 May 2021 02:28:45 +0000 (11:28 +0900)]
[Feature] メッセージ履歴内の同一メッセージを共有する
std::shared_ptr を用いて、同一のメッセージの場合はメッセージ領域を共有する。
メッセージの検索には std::map を使用し、O(log(N))で検索できるようにする。
Habu [Wed, 5 May 2021 04:46:05 +0000 (13:46 +0900)]
Merge pull request #1039 from habu1010/feature/fix-mutation-flag-types-include
[Fix] mutation-flag-types.h のインクルード関係
Habu [Wed, 5 May 2021 04:31:49 +0000 (13:31 +0900)]
[Fix] mutation-flag-types.h のインクルード関係
e3d1038fa79f9c612575e800db357f1d8f11d482 でインクルード
関係の修正が行われているが、flag-group.h で
mutation-flag-types.h をインクルードするのは明らかに変なので
player-type-definition.h へ移動する。
Habu [Wed, 5 May 2021 04:26:46 +0000 (13:26 +0900)]
Merge pull request #1038 from habu1010/feature/dungeon-flags-to-flag-group
[Refactor] ダンジョンフラグをFlagGroup化
Habu [Wed, 5 May 2021 03:52:00 +0000 (12:52 +0900)]
[Refactor] ダンジョンフラグをFlagGroup化
32ビット分のダンジョンフラグを使い切ったので、今後の拡張に備えて
ダンジョンフラグをFlagGroup化する。
Deskull [Wed, 5 May 2021 02:37:01 +0000 (11:37 +0900)]
Merge pull request #1032 from sikabane-works/feature/no-room-dungeon
[Implement] NO_ROOM ダンジョンフラグ実装。
Deskull [Wed, 28 Apr 2021 13:21:27 +0000 (22:21 +0900)]
[Implement] NO_ROOM ダンジョンフラグ実装。
shimitei [Tue, 4 May 2021 08:17:31 +0000 (17:17 +0900)]
Merge pull request #1025 from shimitei/feature/#1021_fix_wiz_tweak_wand_pval
[Fix] ウィザードモードでのpval99999入力ハングの修正
shimitei [Tue, 4 May 2021 07:53:15 +0000 (16:53 +0900)]
[Fix] 魔法棒の回数等に用いられる文字列生成処理修正
sprintf風にuintの値を文字列に変換するobject_desc_num関数で、値によっては無限ループ?に陥ることがあった。
処理をsprintfに置き換えることで修正した。
shimitei [Mon, 3 May 2021 23:39:20 +0000 (08:39 +0900)]
[Feature] ウイザードモードのアイテムtweak入力値を制限する
符号付16ビットの範囲を超える入力で、最大値より大きい値は最大値、最小値より小さい値は最小値に制限する。
iks [Tue, 4 May 2021 07:35:57 +0000 (16:35 +0900)]
Merge pull request #1019 from iks3/fix-vault-floor-definition
[Fix] 固定部屋で床が . ではなく空白になっているのを修正
shimitei [Tue, 4 May 2021 07:32:13 +0000 (16:32 +0900)]
Merge pull request #1029 from shimitei/feature/#1024_fix_confused_floor_item_list
[Fix] 幻覚状態時に足元のアイテムサブウィンドウでモンスターを判別できる問題の修正
Habu [Tue, 4 May 2021 05:58:53 +0000 (14:58 +0900)]
Merge pull request #1027 from habu1010/feature/fix-message-history-save
[Fix] メッセージ履歴が正しく保存されない
Habu [Mon, 3 May 2021 23:52:41 +0000 (08:52 +0900)]
[Refactor] メッセージ履歴の処理をC++機能で書き直す
現在のメッセージ履歴の処理は自前でメッセージ保存用リングバッファと
メッセージを指すポインタのリングバッファを管理しており、およそ
人間の読めるコードではない。
dequeとstringを使用して分かりやすく書き直す。
shimitei [Tue, 4 May 2021 05:23:38 +0000 (14:23 +0900)]
[Fix] 幻覚状態時に足元のアイテムサブウィンドウでモンスターを判別できる問題の修正
「足元/床上のアイテム一覧」サブウィンドウの表示が幻覚状態でも「~の足元の発見済みアイテム一覧」とモンスターを判別できる表示になっていた。
幻覚時には「何か奇妙な物の足元の発見済みアイテム一覧」と表示するように修正した。
Habu [Tue, 4 May 2021 03:06:14 +0000 (12:06 +0900)]
[Fix] メッセージ履歴が正しく保存されない
不要なキャストにより32768件目以降のメッセージ履歴にアクセス
できておらず、結果として32767件までしかメッセージ履歴が保存
されない。
(MESSAGE_MAX が 81920件なので、65536件目以降は再び保存
されるようになるが、現状のメッセージ履歴処理関数の仕様では
この件数を超えることはまずあり得ない)
意図したものとは思えないのでキャストを取り除く。
Hourier [Mon, 3 May 2021 03:44:23 +0000 (12:44 +0900)]
Merge pull request #1016 from Hourier/feature/Unify-Object-Generator
確認ありがとうございました!
Hourier [Mon, 3 May 2021 01:40:53 +0000 (10:40 +0900)]
[Refactor] #1003 GitHubのコメント対処:分かりにくい変数名をforgeからdummyに変更した / Changed variable forge to dummy because it's difficult to understand
iks [Sun, 2 May 2021 23:19:19 +0000 (08:19 +0900)]
Merge pull request #1018 from iks3/fix-char-dump-print-self-lite-flag
[Fix] Cコマンドで永久光源欄の@列に . を表示し忘れている
iks [Sun, 2 May 2021 16:16:48 +0000 (01:16 +0900)]
[Fix] 固定部屋で床が . ではなく空白になっているのを修正
だいたい壁になるが保証がないので。
iks [Sun, 2 May 2021 16:12:06 +0000 (01:12 +0900)]
[Fix] Cコマンドで永久光源欄の@列に . を表示し忘れている
Hourier [Sun, 2 May 2021 14:10:54 +0000 (23:10 +0900)]
[Refactor] #1003 不要になったDoxygenコメントを削除し、必要なコメントを追加した / Removed unnecessary Doxygen comments and added necessary comments in object-type-definition.cpp
Hourier [Sun, 2 May 2021 14:08:48 +0000 (23:08 +0900)]
[Refactor] #1003 object_wipe() をwipe() に、object_prep() をprep() に、object_copy() をcopy_from() にそれぞれリネームした / Renamed object_wipe() to wipe(), object_prep() to prep() and object_copy() to copy_from() in object-type-definition.cpp/h
shimitei [Sun, 2 May 2021 14:02:22 +0000 (23:02 +0900)]
[Fix] タスク切り替え時にメインウインドウをアクティブにする
タスクバーやAlt+Tabでのタスク切り替えで変愚蛮怒をアクティブにしたとき、これまではサブウインドウがアクティブになっていた。
サブウインドウをアクティブにせず、メインウインドウがアクティブになるように修正した。
Hourier [Sun, 2 May 2021 13:50:28 +0000 (22:50 +0900)]
[Refactor] #1003 object-generator.cpp/h をobject-type-definition.cpp/h に統合した / Unified object-generator.cpp/h to object-type-definition.cpp/h
Deskull [Sun, 2 May 2021 12:58:42 +0000 (21:58 +0900)]
Merge pull request #1014 from sikabane-works/release/3.0.0Alpha21
[Release] 3.0.0Alpha21
Deskull [Sun, 2 May 2021 12:35:04 +0000 (21:35 +0900)]
[Release] 3.0.0Alpha21
Hourier [Sun, 2 May 2021 12:24:19 +0000 (21:24 +0900)]
Merge pull request #1012 from Hourier/feature/Refactor-Score-Related-Files
確認ありがとうございました!
Habu [Sun, 2 May 2021 12:23:21 +0000 (21:23 +0900)]
Merge pull request #999 from habu1010/feature/update-floor-item-list-when-pickup
[Fix] 【バグ】 足元のアイテムを複数拾おうとした時にサブウィンドウ:あなたの足元のアイテム一覧が更新されない #995
Hourier [Sun, 2 May 2021 12:13:22 +0000 (21:13 +0900)]
Merge branch 'develop' into feature/Refactor-Score-Related-Files
Hourier [Sun, 2 May 2021 12:09:27 +0000 (21:09 +0900)]
[Refactor] #1008 Discordでの議論により、per_screenの型が分かりづらいということで右辺で明示的にキャストした / Added cast to TERM_LEN type explicitly for per_screen by the discussion of Discord on the ground that the type of per_screen is difficult to understand
Hourier [Sun, 2 May 2021 12:06:39 +0000 (21:06 +0900)]
Merge pull request #988 from Hourier/feature/Adjust-Monsters-Alpha21
確認ありがとうございました!
Hourier [Sun, 2 May 2021 10:26:37 +0000 (19:26 +0900)]
[Refactor] #1008 変数名とスコープを変更した / Changed the name of variables and their scope
Hourier [Sun, 2 May 2021 10:11:17 +0000 (19:11 +0900)]
[Refactor] #1008 Renamed display_scores_aux() to display_scores()
Hourier [Sun, 2 May 2021 10:03:14 +0000 (19:03 +0900)]
[Refactor] #1008 Adjusted the position of variables decleration in display_scores_aux()
Hourier [Sun, 2 May 2021 09:54:54 +0000 (18:54 +0900)]
[Refactor] #1008 Reshaped display-scores.cpp
Hourier [Sun, 2 May 2021 09:48:21 +0000 (18:48 +0900)]
[Refactor] #1008 Separated display-scores.cpp/h from scores.cpp/h
Hourier [Sun, 2 May 2021 09:25:22 +0000 (18:25 +0900)]
[Refactor] #1008 Reparated score-util.cpp/h from scores.cpp/h
Deskull [Sun, 2 May 2021 10:41:02 +0000 (19:41 +0900)]
Merge pull request #1011 from sikabane-works/feature/doxygen-main-win
[Add] main-win.cにDoxygenフォーマット追加. doxyfileのデフォルトに 必要なPREDEFINED追加
Deskull [Sun, 2 May 2021 10:30:19 +0000 (19:30 +0900)]
Merge branch 'develop' into feature/doxygen-main-win
Deskull [Sat, 1 May 2021 13:07:12 +0000 (22:07 +0900)]
[Add] main-win.cにDoxygenフォーマット追加. doxyfileのデフォルトに PREDEFINED = WINDOWS JP を追加.
Hourier [Sun, 2 May 2021 08:43:31 +0000 (17:43 +0900)]
[Refactor] #1008 Reshaped send_world_score()
Hourier [Sun, 2 May 2021 08:21:48 +0000 (17:21 +0900)]
[Refactor] #1008 不要なコメント削除と必要なコメント追加 / Removed unnecessary comments and added necessary comments
Hourier [Sun, 2 May 2021 08:16:51 +0000 (17:16 +0900)]
[Refactor] #1008 Moved kingly() from scores.cpp/h to game-closer.cpp
Hourier [Sun, 2 May 2021 08:14:00 +0000 (17:14 +0900)]
[Refactor] #1008 Reshaped scores.cpp automatically
Hourier [Sun, 2 May 2021 07:35:13 +0000 (16:35 +0900)]
Merge pull request #1006 from Hourier/feature/Extend-Monster-Spoiler
確認&コメントありがとうございました!
Hourier [Sun, 2 May 2021 05:41:16 +0000 (14:41 +0900)]
[Fix] #1004 思い出において上質または高級品をドロップする場合は財宝を落とさない旨の記述になるよう修正した (ドロップ品は既に財宝を外すよう実装済) / Fixed the lore so that no treasure is dropped when a monster drops good or great items (Note: Monster drops no treasure already when it drops good/great items actually)
Hourier [Sun, 2 May 2021 04:40:39 +0000 (13:40 +0900)]
[Implement] #1004 ナズグルフラグを持つモンスターのスポイラーに[N] を追加した / Added description '[N]' to monsters who have NAZGUL flag when outputing monster spoiler
Hourier [Sun, 2 May 2021 04:34:42 +0000 (13:34 +0900)]
[Refactor] #1004 Made spoiler_output_status enum class from normal enum
Hourier [Sun, 2 May 2021 04:26:49 +0000 (13:26 +0900)]
[Refactor] #1004 Reshaped monster-info-spoiler.cpp
iks [Sun, 2 May 2021 05:33:33 +0000 (14:33 +0900)]
Merge pull request #993 from iks3/fix-imp-food
[Fix/Feature] 種族の食料タイプを設定 #820
iks [Sun, 2 May 2021 05:26:36 +0000 (14:26 +0900)]
Merge pull request #1005 from iks3/fix-k-info-rarity-a21
[Fix] 力の杖のレアリティ設定のtypoを修正
Hourier [Sat, 1 May 2021 01:43:33 +0000 (10:43 +0900)]
[Implement] #960 ユニークモンスターの死亡時メッセージを微調整した / Adjusted dialogs of monsters' death
Hourier [Fri, 30 Apr 2021 14:26:31 +0000 (23:26 +0900)]
[Refactor] #933 リクエストに従い、百足龍虫の出現頻度を上げた / Increased the possibility of appearance for Dragon centipede
Hourier [Fri, 30 Apr 2021 12:12:26 +0000 (21:12 +0900)]
[Implement] #933 投稿頂いたモンスター群+αのセリフを追加した / Added dialogs for posted monsters
Hourier [Fri, 30 Apr 2021 11:36:58 +0000 (20:36 +0900)]
[Implement] #960 投稿頂いたモンスター群
(プレーヤー種族と同一のハーフ)を実装した / Implemented posted monsters (Half races same as player)
Hourier [Fri, 30 Apr 2021 11:03:55 +0000 (20:03 +0900)]
[Implement] #933 任意の装備について☆を落とすことができるようにon_dead_random_artifact() を拡張した / Extended on_dead_random_artifact() in order to create any kind of random artifact
Hourier [Fri, 30 Apr 2021 10:16:12 +0000 (19:16 +0900)]
[Implement] #933 絶対に★を落とさないユニークを追加した / Added unique monster who never drops fixed artifact
Hourier [Fri, 30 Apr 2021 10:13:14 +0000 (19:13 +0900)]
[Implement] #933 『イェンダーの魔法使い』の☆限定ドロップを実装した / Implemented that Wizard of Yendor always drops the amulet as random artifact
iks [Sun, 2 May 2021 04:33:44 +0000 (13:33 +0900)]
[Fix] 力の杖のレアリティ設定のtypoを修正
合わせて魔法を防ぐクロークのアイテムレベルを修正。
Hourier [Fri, 30 Apr 2021 08:43:01 +0000 (17:43 +0900)]
[Refactor] #933 Renamed accessory-enchanter-base.h to enchanter-base.h
Hourier [Fri, 30 Apr 2021 07:55:37 +0000 (16:55 +0900)]
[Refactor] #933 Renamed apply-magic-accessory.* to accessory-enchanter-base.*
Hourier [Fri, 30 Apr 2021 07:49:52 +0000 (16:49 +0900)]
[Refactor] #933 Reshaped apply-magic-accessory.cpp
Hourier [Fri, 30 Apr 2021 07:49:03 +0000 (16:49 +0900)]
[Refactor] #933 Separated give_amulet_cursed() from apply_magic_accessary()
Hourier [Fri, 30 Apr 2021 07:44:32 +0000 (16:44 +0900)]
[Refactor] #933 Reshaped apply-magic-accessory.cpp
Hourier [Fri, 30 Apr 2021 07:41:35 +0000 (16:41 +0900)]
[Refactor] #933 Separated give_amulet_high_ego_index() from apply_magic_accessary()
Hourier [Fri, 30 Apr 2021 07:40:01 +0000 (16:40 +0900)]
[Refactor] #933 Separated give_amulet_ego_index() from apply_magic_accessary()
Hourier [Fri, 30 Apr 2021 07:34:50 +0000 (16:34 +0900)]
[Refactor] #933 Separated enchant_amulet() from apply_magic_accessary()
Hourier [Fri, 30 Apr 2021 07:30:24 +0000 (16:30 +0900)]
[Refactor] #933 Separated give_ring_cursed() from apply_magic_accessary()
Hourier [Fri, 30 Apr 2021 07:26:54 +0000 (16:26 +0900)]
[Refactor] #933 Separated give_ring_high_ego_index() from apply_magic_accessary()
Hourier [Fri, 30 Apr 2021 07:18:47 +0000 (16:18 +0900)]
[Refactor] #933 Separated give_ring_ego_index() from apply_magic_accessary()
Hourier [Fri, 30 Apr 2021 07:15:10 +0000 (16:15 +0900)]
[Refactor] #933 Separated enahcnt_ring() from apply_magic_accessary()
Hourier [Fri, 30 Apr 2021 07:06:29 +0000 (16:06 +0900)]
[Refactor] #933 Made apply-magic-accessory.h to class AccessoryEnchanter
Hourier [Thu, 29 Apr 2021 14:29:41 +0000 (23:29 +0900)]
[Refactor] #933 GEDのフレーバーテキストを無駄に追加した / Added flavor text for Great Eclipse Drake wastefully
Hourier [Thu, 29 Apr 2021 11:16:57 +0000 (20:16 +0900)]
[Implement] #933 勇者に仇なす魔族を追加した / Added demon against a brave man
Hourier [Wed, 28 Apr 2021 12:22:49 +0000 (21:22 +0900)]
[Implement] #498-593434 一部のモンスターに量子生物フラグを追加した / Added QUANTUM flag to some monsters which are quantum
Hourier [Wed, 28 Apr 2021 11:35:31 +0000 (20:35 +0900)]
[Implement] #933 (理論上)『アルドゥイン』が『ミルムルニル』も召喚できるようにした / Made Alduin have the ability to summon Mirmulnir theoretically
Hourier [Wed, 28 Apr 2021 11:03:29 +0000 (20:03 +0900)]
[Refactor] #933 戦士類の打撃属性をHITからSLASHに変えた / Changed the type of blows from HIT to SLASH in warriors
Hourier [Wed, 28 Apr 2021 10:56:38 +0000 (19:56 +0900)]
[Fix] #933 『ヤマト』の斬撃が2回あったのを1回に変更した / Changed the number of blows for Yamato from 2 to 1
Hourier [Wed, 28 Apr 2021 10:54:53 +0000 (19:54 +0900)]
[Fix] #933 ハヤブサが喋らなかったのを修正した / Resolved the issue that Oscar could't speak
Hourier [Wed, 28 Apr 2021 10:53:42 +0000 (19:53 +0900)]
[Implement] #933 『ミルムルニル』の死亡時特殊メッセージを追加した / Added special message for Mirmulnir when he dies
Hourier [Tue, 27 Apr 2021 14:18:26 +0000 (23:18 +0900)]
[Fix] #933 『ハルコン』に使えない弱者を踏み潰すフラグがなかったので修正した / Added KILL_BODY flag to Harkon to show his ruthlessness
Hourier [Tue, 27 Apr 2021 10:06:18 +0000 (19:06 +0900)]
[Refactor] #933 ドラウグル類に冷血フラグが付いていなかったミスを解消した / Resolved the issue that draugrs don't have COLD_BLOOD flag
Hourier [Mon, 26 Apr 2021 13:20:59 +0000 (22:20 +0900)]
[Fix] #933 『ヴィネガー・ドッピオ』の感知範囲を修正した / Resolved the issue that seacrching area of Vinegar Doppio was 0
Hourier [Sun, 25 Apr 2021 15:06:13 +0000 (00:06 +0900)]
[Refactor] #933 バーゲストのHPと出現確率を減らした / Decreased HP and possibility of barghest
Habu [Sun, 2 May 2021 00:40:42 +0000 (09:40 +0900)]
Merge pull request #1000 from habu1010/feature/build-test-without-using-precompiled-header
[Feature] clangでのビルドテストではプリコンパイルヘッダを使用しない
shimitei [Sat, 1 May 2021 19:42:54 +0000 (04:42 +0900)]
Merge pull request #994 from shimitei/feature/win32_debug_console
[Feature] Win版にコマンドラインオプション追加(デバッグ用コンソール表示)
Habu [Sat, 1 May 2021 16:25:18 +0000 (01:25 +0900)]
[Feature] clangでのビルドテストではプリコンパイルヘッダを使用しない
普段プリコンパイルヘッダを使用していることで、必要ヘッダのインクルード
忘れによりプリコンパイルヘッダ未使用時にコンパイルエラーが発生するように
なっていることがたまにあるので、clangでのビルドテストではプリコンパイル
ヘッダを使用しないようにする。
Habu [Sat, 1 May 2021 16:14:36 +0000 (01:14 +0900)]
[Fix] 【バグ】 足元のアイテムを複数拾おうとした時にサブウィンドウ:あなたの足元のアイテム一覧が更新されない #995
複数のアイテムを拾った場合、その間にサブウィンドウ描画フラグ
PW_FLOOR_ITEM_LIST が ON にならないために足元のアイテム一覧が
更新されない。
さらに元を辿れば delete_object_idx() でフロアのアイテムが削除された
時は床上のアイテム一覧の更新の可能性があるはずなので、
delete_object_idx() で PW_FLOOR_ITEM_LIST を ON にするようにする。