diff --git a/CHANGELOG.md b/CHANGELOG.md index 085bf04..d526804 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,15 @@ ### Changes ### 変更点 -## Unreleased-1.6.3 (32) +## 20240803-1.6.3 (32) ### Changes +* Fixed incorrect spawn positions for small items used for interior decoration +* Fixed minimap textures not being output +* Trial version support +* Fixed several bugs ### 変更点 +* 内装に使う小物のスポーン位置が不正になる問題を修正 +* ミニマップテクスチャが出力されない問題を修正 * 体験版対応 * いくつかの不具合を修正 diff --git a/Source/DungeonGenerator/Private/Core/Generator.cpp b/Source/DungeonGenerator/Private/Core/Generator.cpp index 1e55889..a62b459 100644 --- a/Source/DungeonGenerator/Private/Core/Generator.cpp +++ b/Source/DungeonGenerator/Private/Core/Generator.cpp @@ -1339,7 +1339,7 @@ namespace dungeon result.reserve(mRooms.size()); if (IsRoutePassable(room)) - result.push_back(room); + result.emplace_back(room); std::unordered_set passableAisles; FindByRoute(result, passableAisles, room); @@ -1373,13 +1373,13 @@ namespace dungeon if (room == room0) { if (IsRoutePassable(room1)) - passableRooms.push_back(room1); + passableRooms.emplace_back(room1); FindByRoute(passableRooms, passableAisles, room1); } else { if (IsRoutePassable(room0)) - passableRooms.push_back(room0); + passableRooms.emplace_back(room0); FindByRoute(passableRooms, passableAisles, room0); } } diff --git a/Source/DungeonGenerator/Private/Core/PathGeneration/MinimumSpanningTree.cpp b/Source/DungeonGenerator/Private/Core/PathGeneration/MinimumSpanningTree.cpp index 59e22dd..648e6c9 100644 --- a/Source/DungeonGenerator/Private/Core/PathGeneration/MinimumSpanningTree.cpp +++ b/Source/DungeonGenerator/Private/Core/PathGeneration/MinimumSpanningTree.cpp @@ -414,7 +414,7 @@ namespace dungeon if (index < 2) { // 追跡するルートを記録 - routes.push_back( + routes.emplace_back( std::pair( edge->GetEdge((index + 1) & 1), // 次の頂点インデックスを取得 cost + edge->GetLength() // 今回のコストを追加 diff --git a/Source/DungeonGenerator/Private/DungeonGeneratorCore.cpp b/Source/DungeonGenerator/Private/DungeonGeneratorCore.cpp index c3677f4..271b4b0 100644 --- a/Source/DungeonGenerator/Private/DungeonGeneratorCore.cpp +++ b/Source/DungeonGenerator/Private/DungeonGeneratorCore.cpp @@ -300,6 +300,7 @@ bool CDungeonGeneratorCore::Create(const UDungeonGenerateParameter* parameter, c CreateImplement_Navigation(origin); } + #if WITH_EDITOR // 通信同期用に現在の乱数の種を出力する if (mGenerator)