default values

This commit is contained in:
Asuro
2025-03-10 03:12:35 +01:00
parent 29bb1d0208
commit e2b94b826d
4 changed files with 55 additions and 20 deletions

View File

@@ -52,16 +52,20 @@ namespace Generated
};
struct PuzzleNode
{
PuzzleElementType PlacedTypes = {};
PuzzleElementType PlacedTypes[4] = {};
};
struct StaticPuzzleCard
{
PuzzleNode Nodes[8] = {};
PuzzleNode Nodes[4] = {};
uint16_t ModelHandle = {};
};
struct StaticPuzzleCardHandle
{
uint16_t Idx = {};
uint16_t Idx = UINT16_MAX;
};
struct StaticPuzzleData
{
StaticPuzzleCard Cards[64] = {};
};
struct PuzzleCardStack
{
@@ -81,11 +85,11 @@ namespace Generated
uint8_t WidthTiles = {};
uint8_t HeightTiles = {};
uint32_t AvailableCardCount = {};
PuzzleCardStack AvailableCards[8] = {};
PuzzleCardStack AvailableCards[16] = {};
uint32_t PlacedCardCount = {};
PlacedPuzzleCard PlacedCards[8] = {};
PuzzleNode PlacedNodes[8] = {};
PlacedPuzzleCard PlacedCards[256] = {};
PuzzleNode PlacedNodes[1024] = {};
uint32_t GoalPositionCount = {};
ElemPos GoalPositions = {};
ElemPos GoalPositions[16] = {};
};
}