include cleanup

This commit is contained in:
Asuro
2025-03-30 20:17:32 +02:00
parent 052fc2cc07
commit 6d170be57a
28 changed files with 173 additions and 379 deletions

View File

@@ -1,7 +1,7 @@
#pragma once
#include "Def.h"
namespace Generated
namespace Gen
{
struct PuzzleElementType
{
@@ -18,8 +18,7 @@ namespace Generated
Blocked,
Bridge,
};
static constexpr char EntryNames[EntryCount][64]
{
static constexpr char EntryNames[EntryCount][64]{
"None",
"WaterIn",
"WaterGoal",
@@ -29,8 +28,7 @@ namespace Generated
"Blocked",
"Bridge",
};
static constexpr char GameName[EntryCount][64]
{
static constexpr char GameName[EntryCount][64]{
"Empty",
"Water Source",
"Water Goal",
@@ -40,8 +38,7 @@ namespace Generated
"Blocked",
"Bridge",
};
static constexpr char ShortName[EntryCount][64]
{
static constexpr char ShortName[EntryCount][64]{
" ",
"~+",
"~!",
@@ -76,21 +73,12 @@ namespace Generated
struct Mat3
{
static constexpr uint32_t Hash = 3364737048;
float M[9] = {
1.0f, 0.0f, 0.0f,
0.0f, 1.0f, 0.0f,
0.0f, 0.0f, 1.0f
};
float M[9] = {1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f};
};
struct Mat4
{
static constexpr uint32_t Hash = 1650094019;
float M[16] = {
1.0f, 0.0f, 0.0f, 0.0f,
0.0f, 1.0f, 0.0f, 0.0f,
0.0f, 0.0f, 1.0f, 0.0f,
0.0f, 0.0f, 0.0f, 1.0f
};
float M[16] = {1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f};
};
struct AssetHandle
{
@@ -203,4 +191,4 @@ namespace Generated
bool Load(PlacedPuzzleCard* obj, uint32_t count, Deserializer& serializer);
bool Save(const PuzzleData* obj, uint32_t count, Serializer& serializer);
bool Load(PuzzleData* obj, uint32_t count, Deserializer& serializer);
}
} // namespace Gen