-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/0.0.0.41 alpha #3539
Merged
Merged
Release/0.0.0.41 alpha #3539
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Release] 0.0.0.40(Alpha)
(Monster)チンポバトル兄貴と飢えたホビット追加、森を憎むものと木を殺すもの下方調整
(Rumor) クッソ汚い噂定期。
ダンジョンで生成されるモンスターのシンボル制限のデータを std::vector にし、現在4つ までとなっている指定数の上限を撤廃する。
[Fix] ダンジョンのモンスターシンボル制限の指定数の上限をなくす
変愚「SwordEnchanter を分離してPolearmEnchanter とHaftedEnchanter を定義した」のマージ
(Monster)[Add] グレーター・ヤクザ「ハシバ」
引数で与えられたイテレータ範囲の要素をシャッフルする関数 rand_shuffle() を追加する。 標準ライブラリに同様の機能を提供する std::shuffle() があるが、基本的にゲームの RNG オブジェクトはカプセル化しておきたいので、イテレータ範囲のみの引数でシャッフルできる 関数として別途実装しておく。 また、イテレータの指す要素が std::reference_wrapper の場合は、要素が保持している 参照先の値をシャッフルする。 シャッフルしたい要素そのものが配列ではない場合に、それぞれの要素を指す std::reference_wrapper 配列を作ってシャッフルする用途を想定する。
アイテムのフレーバーのシャッフル処理を前コミットで実装した rand_shuffule 関数で置き 換える。
変愚「イテレータ範囲の要素をシャッフルする関数 rand_shuffle を実装 #2447」のマージ
基本的に cur_store_num は現在プレイヤーが居る店舗を持つグローバル変数のようだが、 すべて引数で渡せばグローバル変数にする必要が見当たらない。 例外としてプレイヤーが店舗に居ない時に呼ばれる store_shuffle() で cur_store_num に店主入れ替えを行った店舗の番号を入れているようだが、これにしても次にプレイヤーが店舗に 入った時に更新されるので意味がなさそう。 したがってグローバル変数 cur_store_num を完全に削除する。 副作用として、グローバル変数とローカル変数の取り違いが原因で発生しているバグ #2442 も 修正される。
[Refactor] グローバル変数 cur_store_num を削除する
…ler errors when compiled without precompiled headers. Resolves hengband/hengband#2465 .
clang: include <unordered_map> in mspell/mspell-data.h to avoid compi…
…sagreement and be more idiomatic.
変愚「English: change some messages, mostly related to the elementalists #2467」のマージ
[Fix] monster-eating.cpp で出ていたナローキャスティング警告を解消した
ードした時に強制的に残りターン数0にするようにしたが、ObjectType::is_fuel() のみを 見ているため油つぼも対象になっており、油つぼの補給ターン数も0になってしまっている。 ObjectType::is_fuel() に加えて ItemKindType::LITE であるかどうかもチェックする ようにする。
[Fix] 油つぼからランタンの燃料補給ができなくなる
(Rumor)[Add] クッソ汚い噂定期。
(Monster)[Add] 環境活動家
(Rumor) クッソ汚い噂定期。
(Rumor)[Add] クッソ汚い噂定期。
Closed
sikabane-works
pushed a commit
that referenced
this pull request
May 14, 2024
sikabane-works
pushed a commit
that referenced
this pull request
May 14, 2024
sikabane-works
pushed a commit
that referenced
this pull request
May 14, 2024
sikabane-works
added a commit
that referenced
this pull request
May 14, 2024
[Refactor] #3539 input_stock() の引数からcom_val をなくし、戻り値をoptional<short> に変えた
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.