OSDN Git Service

hengbandforosx/hengbandosx.git
3 years ago[update] muta*フラグをflag_groupクラスで置き換え
Habu [Sat, 20 Mar 2021 12:00:47 +0000 (21:00 +0900)]
[update] muta*フラグをflag_groupクラスで置き換え

player_type構造体のメンバ muta1、muta2、muta3を
flag_groupクラスで置き換える。
muta1~3はフラグ集合として論理的に別々というわけでは
ないので、一つのフラグ集合 muta にまとめる。

3 years ago[update] smartフラグをflag_groupクラスで置き換え
Habu [Tue, 23 Mar 2021 10:22:55 +0000 (19:22 +0900)]
[update] smartフラグをflag_groupクラスで置き換え

monster_type 構造体のメンバ smart を flag_group クラスで
置き換える。
同時に、smart_learnの情報とは全く関係がない、
SM_PET・SM_CLONED・SM_FRIENDLYのフラグはSM型ではなく
MFLAG2型へ移動する。

3 years ago[update] mflag・mflag2をflag_groupクラスで置き換え
Habu [Tue, 23 Mar 2021 10:22:54 +0000 (19:22 +0900)]
[update] mflag・mflag2をflag_groupクラスで置き換え

monster_type 構造体のメンバ mflag と mflag2 を flag_group クラスで
置き換える。

3 years agoMerge pull request #605 from backwardsEric/make-dist-libcurl-archive-libs
Habu [Tue, 23 Mar 2021 03:49:30 +0000 (12:49 +0900)]
Merge pull request #605 from backwardsEric/make-dist-libcurl-archive-libs

[Linux/Unix] add the libcurl archive libraries for Windows to the result of "make dist"

3 years agoMerge pull request #604 from backwardsEric/make-dist-stdafx-fix
Habu [Tue, 23 Mar 2021 03:40:45 +0000 (12:40 +0900)]
Merge pull request #604 from backwardsEric/make-dist-stdafx-fix

[Linux/Unix] Allow "make distcheck" to work with precompiled header changes

3 years agoMerge pull request #603 from shimitei/fix_win_main_music
shimitei [Tue, 23 Mar 2021 03:11:17 +0000 (12:11 +0900)]
Merge pull request #603 from shimitei/fix_win_main_music

3 years ago[Fix] MCIコマンドの同期処理
shimitei [Mon, 22 Mar 2021 21:44:12 +0000 (06:44 +0900)]
[Fix] MCIコマンドの同期処理

MCI_STOP、MCI_CLOSEを同期処理に、MCI_OPENの完了後に再生を行うように修正した。
OPEN未完了のままPLAYといった不整合が発生しないようになる。

3 years agoAdd a dist-hook rule to add the libcurl archive libraries to the result of "make...
Eric Branlund [Mon, 22 Mar 2021 19:43:07 +0000 (12:43 -0700)]
Add a dist-hook rule to add the libcurl archive libraries to the result of "make dist".

3 years agoMake changes so "make DISTCHECK_CONFIGURE_FLAGS=--disable-japanese distcheck" works...
Eric Branlund [Mon, 22 Mar 2021 18:56:46 +0000 (11:56 -0700)]
Make changes so "make DISTCHECK_CONFIGURE_FLAGS=--disable-japanese distcheck" works with the precompiled header changes.

3 years agoUpdate since stdafx.{h,cpp} were moved to src.
Eric Branlund [Mon, 22 Mar 2021 15:10:01 +0000 (08:10 -0700)]
Update since stdafx.{h,cpp} were moved to src.

3 years ago[Fix] MCIコマンド処理修正
shimitei [Mon, 22 Mar 2021 13:27:46 +0000 (22:27 +0900)]
[Fix] MCIコマンド処理修正

MCI_OPENとMCI_PLAYでは渡す構造体が異なるため、適切なものを渡すように修正した。
また、main-win.cppに残っていたBGM(MCI)の処理をmain-win-mci.cpp、main-win-music.cppへ移した。

3 years agoMerge pull request #602 from sikabane-works/feature/doxygen-todo
Deskull [Mon, 22 Mar 2021 13:57:13 +0000 (22:57 +0900)]
Merge pull request #602 from sikabane-works/feature/doxygen-todo

[Refactor] @todoの整理. / Clarify @todo.

3 years ago[Refactor] @todoの整理. / Clarify @todo.
deskull [Mon, 22 Mar 2021 11:32:02 +0000 (20:32 +0900)]
[Refactor] @todoの整理. / Clarify @todo.

3 years agoMerge pull request #600 from habu1010/feature/precompiled-header-for-build-on-linux
Habu [Mon, 22 Mar 2021 11:00:47 +0000 (20:00 +0900)]
Merge pull request #600 from habu1010/feature/precompiled-header-for-build-on-linux

[feature] Linux/UNIX環境でのビルドにプリコンパイルヘッダを導入

3 years ago[update] ccache用にプリコンパイルヘッダのchecksumを生成
Habu [Mon, 22 Mar 2021 10:54:58 +0000 (19:54 +0900)]
[update] ccache用にプリコンパイルヘッダのchecksumを生成

ccacheのオプション pch_external_checksum が使えるように、
プリコンパイルヘッダのmd5sum情報のファイルを生成する。
pch_external_checksum については、ccacheのマニュアルを参照。

3 years ago[update] VSで使用するプリコンパイル済みヘッダのパス
Habu [Mon, 22 Mar 2021 09:16:23 +0000 (18:16 +0900)]
[update] VSで使用するプリコンパイル済みヘッダのパス

VSで使用するプリコンパイル済みヘッダのパスを、Linux/UNIX環境用と
共通にするため、srcディレクトリのものにする。
内容は既存のものと同じ。

3 years ago[feature] Linux/UNIX環境でのビルドにプリコンパイルヘッダを導入
Habu [Mon, 22 Mar 2021 09:01:54 +0000 (18:01 +0900)]
[feature] Linux/UNIX環境でのビルドにプリコンパイルヘッダを導入

VSでのビルドに導入したプリコンパイルヘッダをLinux/UNIX環境に
おけるgcc/clangでのビルドにおいても採用する。

3 years agoMerge pull request #599 from shimitei/feature/gdi_plus
shimitei [Mon, 22 Mar 2021 03:36:43 +0000 (12:36 +0900)]
Merge pull request #599 from shimitei/feature/gdi_plus

3 years agoMerge pull request #597 from dis-/feature/Fix-Fresh-Once
dis- [Sun, 21 Mar 2021 15:09:28 +0000 (00:09 +0900)]
Merge pull request #597 from dis-/feature/Fix-Fresh-Once

[Fix] fresh_onceオプション使用時、マクロ使用直後にサブウィンドウが更新されない

3 years ago[Fix] fresh_onceオプション使用時、マクロ使用直後にサブウィンドウが更新されない
dis- [Sun, 21 Mar 2021 13:05:59 +0000 (22:05 +0900)]
[Fix] fresh_onceオプション使用時、マクロ使用直後にサブウィンドウが更新されない

macro_running()の判定に一部漏れがあった。
判定関数をinput-key-acceptor.cppに移して修正した。

3 years ago[Feature] 壁紙の対応画像形式追加 #596
shimitei [Sun, 21 Mar 2021 08:05:38 +0000 (17:05 +0900)]
[Feature] 壁紙の対応画像形式追加 #596

壁紙の選択ダイアログでBMPの他に、PNGとJPEGを読み込めるようにした。
また、効果音、BGMの初期化フラグのスコープをローカル変数にした。

画像の読み込みをGDI+で行うように変更した。
Windows XP以降は標準でGDI+に対応している。

3 years agoMerge pull request #594 from sikabane-works/release/3.0.0Alpha13
Deskull [Sun, 21 Mar 2021 10:02:44 +0000 (19:02 +0900)]
Merge pull request #594 from sikabane-works/release/3.0.0Alpha13

[Version] 3.0.0Alpha13

3 years ago[Version] 3.0.0Alpha13
deskull [Sun, 21 Mar 2021 09:50:10 +0000 (18:50 +0900)]
[Version] 3.0.0Alpha13

3 years agoMerge pull request #593 from iks3/fix-unused-files
iks [Sun, 21 Mar 2021 09:36:01 +0000 (18:36 +0900)]
Merge pull request #593 from iks3/fix-unused-files

fix: いらないファイルをaddしてしまった

3 years agofix: いらないファイルをaddしてしまった
iks [Sun, 21 Mar 2021 09:15:52 +0000 (18:15 +0900)]
fix: いらないファイルをaddしてしまった

3 years agoMerge pull request #592 from iks3/fix-element-spell-elem
iks [Sun, 21 Mar 2021 09:08:45 +0000 (18:08 +0900)]
Merge pull request #592 from iks3/fix-element-spell-elem

[Fix] 元素魔法の説明と実際の属性の食い違い

3 years ago[Fix] 元素魔法の説明と実際の属性の食い違い
iks [Sun, 21 Mar 2021 09:00:52 +0000 (18:00 +0900)]
[Fix] 元素魔法の説明と実際の属性の食い違い

3 years agoMerge pull request #591 from iks3/fix-element-dump-immunity
iks [Sun, 21 Mar 2021 07:51:48 +0000 (16:51 +0900)]
Merge pull request #591 from iks3/fix-element-dump-immunity

[Fix] 元素使いのダンプで免疫の表示がおかしい(+になる)

3 years ago[Fix] 元素使いのダンプで免疫の表示がおかしい(+になる)
iks [Sun, 21 Mar 2021 06:48:04 +0000 (15:48 +0900)]
[Fix] 元素使いのダンプで免疫の表示がおかしい(+になる)

3 years agoMerge pull request #590 from iks3/fix-element-perma-resist
iks [Sun, 21 Mar 2021 05:19:33 +0000 (14:19 +0900)]
Merge pull request #590 from iks3/fix-element-perma-resist

[Fix] 元素使いのレベルによる耐性のチェックで職業を加味していない

3 years ago[Fix] 元素使いのレベルによる耐性のチェックで職業を加味していない
iks [Sun, 21 Mar 2021 05:13:45 +0000 (14:13 +0900)]
[Fix] 元素使いのレベルによる耐性のチェックで職業を加味していない

3 years agoMerge pull request #570 from taotao54321/refactor-z-virt
taotao54321 [Sun, 21 Mar 2021 05:08:00 +0000 (14:08 +0900)]
Merge pull request #570 from taotao54321/refactor-z-virt

[Refactor] ralloc(), rnfree(), rpanic() の削除

3 years agoMerge pull request #578 from iks3/fix-empty-macro-key-trigger
iks [Sun, 21 Mar 2021 04:34:05 +0000 (13:34 +0900)]
Merge pull request #578 from iks3/fix-empty-macro-key-trigger

[Fix] キー定義のないマクロ定義を読み込んで誤爆登録する #418

3 years agoMerge pull request #583 from backwardsEric/dist-main-win
Deskull [Sun, 21 Mar 2021 03:00:20 +0000 (12:00 +0900)]
Merge pull request #583 from backwardsEric/dist-main-win

[Linux/Unix] include src/main-win/* in the files packaged with "make dist"

3 years agoMerge branch 'develop' into dist-main-win
Deskull [Sun, 21 Mar 2021 02:14:41 +0000 (11:14 +0900)]
Merge branch 'develop' into dist-main-win

3 years agoMerge pull request #589 from backwardsEric/dist-other-win
Deskull [Sun, 21 Mar 2021 00:17:58 +0000 (09:17 +0900)]
Merge pull request #589 from backwardsEric/dist-other-win

[Linux/Unix] include ang_jp.rc, libcurl headers, and stdafx.{h,cpp} in the result of "make dist"

3 years agoInclude the libcurl header files and stdafx.{h,cpp} in the result of "make dist".
Eric Branlund [Sun, 21 Mar 2021 00:07:37 +0000 (17:07 -0700)]
Include the libcurl header files and stdafx.{h,cpp} in the result of "make dist".

3 years agoInclude ang_jp.rc in the result of "make dist".
Eric Branlund [Sun, 21 Mar 2021 00:07:04 +0000 (17:07 -0700)]
Include ang_jp.rc in the result of "make dist".

3 years agoMerge pull request #587 from backwardsEric/english-elementalist-description
Deskull [Sat, 20 Mar 2021 23:48:44 +0000 (08:48 +0900)]
Merge pull request #587 from backwardsEric/english-elementalist-description

[English] edits for elementalist messages

3 years agoMake a first pass at editing the English descriptions for the elementalist systems...
Eric Branlund [Sat, 20 Mar 2021 23:18:18 +0000 (16:18 -0700)]
Make a first pass at editing the English descriptions for the elementalist systems/realms.

3 years agoTo be more idiomatic, make slight changes to the brief English descriptions for the...
Eric Branlund [Sat, 20 Mar 2021 20:30:23 +0000 (13:30 -0700)]
To be more idiomatic, make slight changes to the brief English descriptions for the elementalist spells.

3 years agoFor English spelling, replace "Meteo" as an element name with "Meteor".
Eric Branlund [Sat, 20 Mar 2021 20:27:27 +0000 (13:27 -0700)]
For English spelling, replace "Meteo" as an element name with "Meteor".

3 years agoFor the element names in English used for the elementalist spells, prefer nouns to...
Eric Branlund [Sat, 20 Mar 2021 20:17:07 +0000 (13:17 -0700)]
For the element names in English used for the elementalist spells, prefer nouns to adjectives or verbs so use "Inertia", "Disintegration", and "Disenchantment" rather than "Inertial", "Disintegrate", and "Disenchant".  Use "Shards" rather than "Shard" as the element name to be consistent with usage elsewhere.

3 years agoMake a first pass at editing the English description for the elementalist class.
Eric Branlund [Sat, 20 Mar 2021 19:57:28 +0000 (12:57 -0700)]
Make a first pass at editing the English description for the elementalist class.

3 years agoMerge pull request #575 from iks3/fix-win-eng-menubar
iks [Sat, 20 Mar 2021 18:42:38 +0000 (03:42 +0900)]
Merge pull request #575 from iks3/fix-win-eng-menubar

[Fix] Windows英語版でメニューバーが日本語 #573

3 years agoMerge pull request #586 from iks3/fix-windows-precompile-header
iks [Sat, 20 Mar 2021 18:33:00 +0000 (03:33 +0900)]
Merge pull request #586 from iks3/fix-windows-precompile-header

[Fix/Feature] VisualStudioでプリコンパイルヘッダ導入

3 years ago[Fix/Feature] VisualStudioでプリコンパイルヘッダ導入
iks [Sat, 20 Mar 2021 18:25:42 +0000 (03:25 +0900)]
[Fix/Feature] VisualStudioでプリコンパイルヘッダ導入

ビルド時間が大幅に短縮

3 years agoMerge pull request #585 from backwardsEric/english-misc
iks [Sat, 20 Mar 2021 17:37:23 +0000 (02:37 +0900)]
Merge pull request #585 from backwardsEric/english-misc

[English] make two minor changes to messages

3 years agoChanged English wording for header of the monster list selected by matching a substring.
Eric Branlund [Wed, 17 Feb 2021 04:54:25 +0000 (20:54 -0800)]
Changed English wording for header of the monster list selected by matching a substring.

3 years agoChange "glows pale" to "glows palely" for the English message about a restore mana...
Eric Branlund [Wed, 17 Feb 2021 04:47:22 +0000 (20:47 -0800)]
Change "glows pale" to "glows palely" for the English message about a restore mana activation (the same Japanese phrase is used for the mana ball activation, but the English message for that uses "becomes pale").

3 years agoMerge pull request #582 from iks3/fix-remove-pit-nest-kinds-table
iks [Sat, 20 Mar 2021 16:42:55 +0000 (01:42 +0900)]
Merge pull request #582 from iks3/fix-remove-pit-nest-kinds-table

[Fix]  #574のリファクタリングでファイルが消えていなかった

3 years agoInclude src/main-win/* in the files packaged with "make dist".
Eric Branlund [Sat, 20 Mar 2021 16:40:35 +0000 (09:40 -0700)]
Include src/main-win/* in the files packaged with "make dist".

3 years agoMerge pull request #581 from iks3/fix-elementalist-select-realm
iks [Sat, 20 Mar 2021 16:38:19 +0000 (01:38 +0900)]
Merge pull request #581 from iks3/fix-elementalist-select-realm

[Fix] 元素使いの領域選択でシンボルキーで選択した場合の挙動

3 years ago[Fix] #574のリファクタリングでファイルが消えていなかった
iks [Sat, 20 Mar 2021 16:30:11 +0000 (01:30 +0900)]
[Fix]  #574のリファクタリングでファイルが消えていなかった

3 years ago[Fix] 元素使いの領域選択でシンボルキーで選択した場合の挙動
iks [Sat, 20 Mar 2021 16:26:44 +0000 (01:26 +0900)]
[Fix] 元素使いの領域選択でシンボルキーで選択した場合の挙動

3 years agoMerge pull request #579 from iks3/fix-monster-arena-info
iks [Sat, 20 Mar 2021 16:10:53 +0000 (01:10 +0900)]
Merge pull request #579 from iks3/fix-monster-arena-info

[Fix] Wizardモードのモンスター闘技場のHP/MP表示 #577

3 years ago[Refactor] ralloc(), rnfree(), rpanic() を削除
taotao54321 [Sat, 20 Mar 2021 10:22:13 +0000 (19:22 +0900)]
[Refactor] ralloc(), rnfree(), rpanic() を削除

メモリ管理マクロが再実装されたことでほぼ不要になったため。
ごく一部 ralloc(), rnfree() を直接使っている箇所があるが、これらはとりあ
えず std::malloc(), std::free() を使うこととする。

3 years ago[Refactor] string_make(), string_free() を new[]/delete[] で再実装
taotao54321 [Sat, 20 Mar 2021 10:01:22 +0000 (19:01 +0900)]
[Refactor] string_make(), string_free() を new[]/delete[] で再実装

3 years ago[Refactor] clang-format z-virt.cpp
taotao54321 [Sat, 20 Mar 2021 09:40:00 +0000 (18:40 +0900)]
[Refactor] clang-format z-virt.cpp

3 years ago[Fix] Wizardモードのモンスター闘技場のHP/MP表示 #577
iks [Sat, 20 Mar 2021 16:04:02 +0000 (01:04 +0900)]
[Fix] Wizardモードのモンスター闘技場のHP/MP表示 #577

プレイヤーのMP表示とかぶっていた

3 years agoMerge pull request #571 from habu1010/feature/fix-wipe-struct
Habu [Sat, 20 Mar 2021 15:43:07 +0000 (00:43 +0900)]
Merge pull request #571 from habu1010/feature/fix-wipe-struct

[fix] 構造体のゼロクリアの条件

3 years ago[Fix] キー定義のないマクロ定義を読み込んで誤爆登録する #418
iks [Sat, 20 Mar 2021 15:35:08 +0000 (00:35 +0900)]
[Fix] キー定義のないマクロ定義を読み込んで誤爆登録する #418

無限実行されたりなどおかしくなっていた。

3 years agoMerge pull request #576 from iks3/fix-dragon-pit-multi-color
iks [Sat, 20 Mar 2021 15:20:35 +0000 (00:20 +0900)]
Merge pull request #576 from iks3/fix-dragon-pit-multi-color

[Fix] ドラゴンピットの多色化(再修正) #574

3 years ago[Fix] ドラゴンピットの多色化(再修正) #574
iks [Sat, 20 Mar 2021 15:13:22 +0000 (00:13 +0900)]
[Fix] ドラゴンピットの多色化(再修正) #574

3 years ago[Fix] 英語版でメニューバーが日本語 #573
iks [Sat, 20 Mar 2021 14:59:33 +0000 (23:59 +0900)]
[Fix] 英語版でメニューバーが日本語 #573

更新されていなかった分のメニュー項目も追加

3 years agoMerge pull request #534 from sikabane-works/feature/fix_apply_magic_loop
Deskull [Sat, 20 Mar 2021 14:01:46 +0000 (23:01 +0900)]
Merge pull request #534 from sikabane-works/feature/fix_apply_magic_loop

[Fix] apply-magic-armor.cppの無限ループになる可能性のある場所を解消.

3 years ago[Fix] apply-magic-armor.cppの無限ループになる可能性のある場所を解消. / Fix potential infinite loops in...
deskull [Tue, 16 Mar 2021 22:07:18 +0000 (07:07 +0900)]
[Fix] apply-magic-armor.cppの無限ループになる可能性のある場所を解消. / Fix potential infinite loops in apply-magic-armor.cpp.

3 years agoMerge pull request #574 from iks3/fix-dragon-pit
iks [Sat, 20 Mar 2021 13:32:57 +0000 (22:32 +0900)]
Merge pull request #574 from iks3/fix-dragon-pit

[Fix] ドラゴンピットの多色化問題

3 years ago[Fix] ドラゴンピットが多色化いていた #545
iks [Sat, 20 Mar 2021 13:17:06 +0000 (22:17 +0900)]
[Fix] ドラゴンピットが多色化いていた #545

3 years agoMerge pull request #572 from shimitei/refactor/devide_mainwin
shimitei [Sat, 20 Mar 2021 13:16:13 +0000 (22:16 +0900)]
Merge pull request #572 from shimitei/refactor/devide_mainwin

[Refactor] main-win.cppの分割
壁紙、効果音、BGM等の処理を分ける。

3 years ago[Refactor] pit-nest-kinds-table.*を吸収
iks [Sat, 20 Mar 2021 11:59:41 +0000 (20:59 +0900)]
[Refactor] pit-nest-kinds-table.*を吸収

#defineをenumに変更。
サイズの合わない配列定義をvector化。

3 years ago[fix] 構造体のゼロクリアの条件
Habu [Sat, 20 Mar 2021 10:56:26 +0000 (19:56 +0900)]
[fix] 構造体のゼロクリアの条件

std::is_trivial_v が false かつ std::is_trivially_copyable_v
が true の型に memset してゼロクリアしようとするとgccが
警告を発するので、memsetでのクリアを行うのは std::is_trivial_v
が true の型に条件を狭める。

3 years ago[Refactor] win-main.cppから壁紙(背景)、効果音、BGMの処理を分離
shimitei [Sat, 20 Mar 2021 02:49:40 +0000 (11:49 +0900)]
[Refactor] win-main.cppから壁紙(背景)、効果音、BGMの処理を分離

背景、効果音、BGMの各使用フラグはwin-main.cpp側の管轄としている。

3 years agoMerge pull request #557 from iks3/feature-adjust-elementalist
iks [Sat, 20 Mar 2021 08:56:40 +0000 (17:56 +0900)]
Merge pull request #557 from iks3/feature-adjust-elementalist

[Feature] 元素使いの調整

3 years agoMerge pull request #562 from iks3/fix-birth-exp-factor
iks [Sat, 20 Mar 2021 08:56:26 +0000 (17:56 +0900)]
Merge pull request #562 from iks3/fix-birth-exp-factor

[Fix] キャラクタメイク時の経験値修正に職業の修正が入っていない #554

3 years agoMerge pull request #569 from habu1010/feature/handle-non-pod-struct
Habu [Sat, 20 Mar 2021 07:49:31 +0000 (16:49 +0900)]
Merge pull request #569 from habu1010/feature/handle-non-pod-struct

[feature] 各種構造体のPOD型としての扱いをやめる #564

3 years agoMerge pull request #567 from sikabane-works/feature/fix-lighting-ball-mes
Deskull [Sat, 20 Mar 2021 07:27:35 +0000 (16:27 +0900)]
Merge pull request #567 from sikabane-works/feature/fix-lighting-ball-mes

[Fix] モンスターメッセージ中の「サンダー・・ボール」を「サンダー・ボール」に修正. / Fix Japanese lighting …

3 years agoMerge pull request #568 from dis-/feature/Fix-Action-Search-Display
dis- [Sat, 20 Mar 2021 07:10:10 +0000 (16:10 +0900)]
Merge pull request #568 from dis-/feature/Fix-Action-Search-Display

[Fix] 乗馬中探索モードに入ると右下表記がおかしくなる #565

3 years ago[feature] 各種構造体のPOD型としての扱いをやめる #564
Habu [Sat, 20 Mar 2021 06:56:39 +0000 (15:56 +0900)]
[feature] 各種構造体のPOD型としての扱いをやめる #564

コード修正量が少なくて済むよう、z-virt.h で定義されている
メモリ操作系マクロで呼ばれる最終的な実装を修正する。
修正方法は #564 に従う。
但し、全ての構造体の定義で初期値を与えるようにするのは
手間がかかるので、SFINAEによりトリビアルコピーが可能か
どうかで分岐し、トリビアルコピーが可能であれば
memsetでのゼロクリアやmemcpyでのコピーを行う。
したがって、std::vectorやstd::string等、トリビアルコピーが
不可能なクラスオブジェクトを持たせない構造体は
初期値を与える必要はなく現状のままの定義で使用できる。

3 years agoMerge pull request #548 from taotao54321/fix-learn-aoe
taotao54321 [Sat, 20 Mar 2021 06:41:52 +0000 (15:41 +0900)]
Merge pull request #548 from taotao54321/fix-learn-aoe

[Fix] 自分をターゲットとしない範囲魔法に巻き込まれたときラーニングできない #533

3 years ago[Fix] 乗馬中探索モードに入ると右下表記がおかしくなる #565
dis- [Sat, 20 Mar 2021 06:36:29 +0000 (15:36 +0900)]
[Fix] 乗馬中探索モードに入ると右下表記がおかしくなる #565

内部加速値は加速しておらず、表示上のみ数値が+10されていた。
探索モード中の内部数値は-10を右下表記に反映させないための+10が誤爆していた。
乗馬中の探索モードに減速が適用されていなかったことが原因。

修正点は2つ。
・乗馬中の探索モードも通常時と同様に-10加速とする
・探索モード中は右下の加速表記を-10して実数値をプレイヤーが認識できるようにする。

3 years ago[format] clang-formatによる整形
Habu [Sat, 20 Mar 2021 06:14:12 +0000 (15:14 +0900)]
[format] clang-formatによる整形

3 years ago[Fix] モンスターメッセージ中の「サンダー・・ボール」を「サンダー・ボール」に修正. / Fix Japanese lighting ball message.
deskull [Sat, 20 Mar 2021 05:19:04 +0000 (14:19 +0900)]
[Fix] モンスターメッセージ中の「サンダー・・ボール」を「サンダー・ボール」に修正. / Fix Japanese lighting ball message.

3 years ago[Refactor] include整理、不要な定義削除
shimitei [Fri, 19 Mar 2021 22:51:25 +0000 (07:51 +0900)]
[Refactor] include整理、不要な定義削除

ifdef WINDOWSは最初に配置する。
windows.hが2回includeされているので1回にする。
WIN32_LEAN_AND_MEANでwindows.hをincludeするとMCI関連が抜けるためmciapi.hのincludeを追加した。
他、不要なinclude、define、プロトタイプ関数宣言を削除した。

3 years agoMerge pull request #561 from iks3/feature-do-cmd-wishing
iks [Sat, 20 Mar 2021 03:42:51 +0000 (12:42 +0900)]
Merge pull request #561 from iks3/feature-do-cmd-wishing

[Feature] 願いコマンドをwizardモード用に実装

3 years ago[Fix] 第1領域名を扱う部分で元素使いを考慮
iks [Sat, 20 Mar 2021 03:30:40 +0000 (12:30 +0900)]
[Fix] 第1領域名を扱う部分で元素使いを考慮

3 years ago[Feature] 元素使いを調整
iks [Sat, 20 Mar 2021 03:29:22 +0000 (12:29 +0900)]
[Feature] 元素使いを調整

炎系統、混沌系統の属性を変更
氷系統の冷気はレベルが上がると極寒になる
射程2のビームを射程4の第3属性のボールに

3 years agoMerge pull request #559 from sikabane-works/feature/fix-suicide-bgm
Deskull [Sat, 20 Mar 2021 01:21:43 +0000 (10:21 +0900)]
Merge pull request #559 from sikabane-works/feature/fix-suicide-bgm

[Fix] 自殺時もゲームオーバーBGMを鳴らすように修正.

3 years agoMerge pull request #563 from habu1010/feature/fix-player-birth-memory-leak
Habu [Sat, 20 Mar 2021 00:49:33 +0000 (09:49 +0900)]
Merge pull request #563 from habu1010/feature/fix-player-birth-memory-leak

[fix] キャラクタ作成時のメモリリークの可能性

3 years ago[fix] キャラクタ作成時のメモリリークの可能性
Habu [Sat, 20 Mar 2021 00:41:19 +0000 (09:41 +0900)]
[fix] キャラクタ作成時のメモリリークの可能性

キャラクタの作成を途中でやりなおした時、
C_KILLを呼ぶべき箇所で誤ってC_WIPEを呼んでおり、直後に
C_MAKEでポインタを上書きしているため以前に確保した
領域が解放されておらずメモリリークが発生している。
正しくC_KILLを呼ぶようにする。

3 years ago[Fix] キャラクタメイク時の経験値修正に職業の修正が入っていない #554
iks [Fri, 19 Mar 2021 22:39:31 +0000 (07:39 +0900)]
[Fix] キャラクタメイク時の経験値修正に職業の修正が入っていない #554

3 years ago[Feature] 願いコマンドをwizardモード用に実装
iks [Fri, 19 Mar 2021 09:51:30 +0000 (18:51 +0900)]
[Feature] 願いコマンドをwizardモード用に実装

3 years ago[Refactor] VSの警告対策
shimitei [Fri, 19 Mar 2021 14:33:02 +0000 (23:33 +0900)]
[Refactor] VSの警告対策

WM_PALETTECHANGEDとWM_QUERYNEWPALETTEの間はバージョン2.2.1ではFall throughコメントが入っていた。
WM_ENABLE前は「常にサブウインドウを表示」のためFall through。

3 years ago[Fix] 自殺時もゲームオーバーBGMを鳴らすように修正. / Fix change gameover BGM when player suicides.
deskull [Fri, 19 Mar 2021 15:38:18 +0000 (00:38 +0900)]
[Fix] 自殺時もゲームオーバーBGMを鳴らすように修正. / Fix change gameover BGM when player suicides.

3 years ago[Refactor] clang-format適用。
shimitei [Fri, 19 Mar 2021 14:16:28 +0000 (23:16 +0900)]
[Refactor] clang-format適用。

3 years ago[Feature] 元素使いの領域選択時に説明文と確認を出す
iks [Fri, 19 Mar 2021 12:11:27 +0000 (21:11 +0900)]
[Feature] 元素使いの領域選択時に説明文と確認を出す

3 years ago[Feature] 元素使いの初期所持品にマジックミサイルの魔法棒
iks [Fri, 19 Mar 2021 10:22:25 +0000 (19:22 +0900)]
[Feature] 元素使いの初期所持品にマジックミサイルの魔法棒

3 years agoMerge pull request #556 from shimitei/feature/#555_revert_hidpi
shimitei [Fri, 19 Mar 2021 11:17:24 +0000 (20:17 +0900)]
Merge pull request #556 from shimitei/feature/#555_revert_hidpi

Revert "[Feature] Windowsの高DPI環境での表示改善"
描画ゴミ等の問題があるため戻す。

3 years agoRevert "[Feature] 手抜き高DPI対応"
shimitei [Fri, 19 Mar 2021 10:43:48 +0000 (19:43 +0900)]
Revert "[Feature] 手抜き高DPI対応"

This reverts commit 3d2ba515e29c5083d21490a443cc7d66697d91f9.

3 years agoMerge pull request #552 from iks3/feature-elementalist
iks [Fri, 19 Mar 2021 09:53:27 +0000 (18:53 +0900)]
Merge pull request #552 from iks3/feature-elementalist

[Feature] 元素使いをXAngbandから移植実装