Skip to content

Commit

Permalink
version 1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
shun126 committed Aug 2, 2024
1 parent ae840db commit f458550
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
### 変更点
* 内装に使う小物のスポーン位置が不正になる問題を修正
* ミニマップテクスチャが出力されない問題を修正
* 体験版対応
* いくつかの不具合を修正

Expand Down
6 changes: 3 additions & 3 deletions Source/DungeonGenerator/Private/Core/Generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ namespace dungeon
result.reserve(mRooms.size());

if (IsRoutePassable(room))
result.push_back(room);
result.emplace_back(room);

std::unordered_set<const Aisle*> passableAisles;
FindByRoute(result, passableAisles, room);
Expand Down Expand Up @@ -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);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ namespace dungeon
if (index < 2)
{
// 追跡するルートを記録
routes.push_back(
routes.emplace_back(
std::pair<size_t, float>(
edge->GetEdge((index + 1) & 1), // 次の頂点インデックスを取得
cost + edge->GetLength() // 今回のコストを追加
Expand Down
1 change: 1 addition & 0 deletions Source/DungeonGenerator/Private/DungeonGeneratorCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ bool CDungeonGeneratorCore::Create(const UDungeonGenerateParameter* parameter, c
CreateImplement_Navigation(origin);
}


#if WITH_EDITOR
// 通信同期用に現在の乱数の種を出力する
if (mGenerator)
Expand Down

0 comments on commit f458550

Please sign in to comment.