Still largely works surprisingly

This commit is contained in:
Lani Aung
2026-07-08 21:55:42 -07:00
parent 094f3abbff
commit c0e15d60b9
11 changed files with 81 additions and 94 deletions
@@ -11,10 +11,6 @@
<ProjectReference Include="..\fxl.codes.kisekae.data\fxl.codes.kisekae.data.csproj"/>
</ItemGroup>
<ItemGroup>
<Folder Include="temp\"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="10.0.9"/>
</ItemGroup>
+2 -3
View File
@@ -1,8 +1,7 @@
namespace fxl.codes.kisekae.data.Entities
{
namespace fxl.codes.kisekae.data.Entities;
public class Action
{
public int Id { get; set; }
public string Name { get; set; }
}
}
+2 -3
View File
@@ -1,5 +1,5 @@
namespace fxl.codes.kisekae.data.Entities
{
namespace fxl.codes.kisekae.data.Entities;
public class Cel
{
public int Id { get; set; }
@@ -11,4 +11,3 @@ namespace fxl.codes.kisekae.data.Entities
public int Width { get; set; }
public Kisekae Kisekae { get; set; }
}
}
+3 -4
View File
@@ -1,5 +1,5 @@
namespace fxl.codes.kisekae.data.Entities
{
namespace fxl.codes.kisekae.data.Entities;
public class CelConfig
{
public int Id { get; set; }
@@ -9,10 +9,9 @@ namespace fxl.codes.kisekae.data.Entities
public int Fix { get; set; }
public Palette Palette { get; set; }
public int PaletteGroup { get; set; }
public string Comment { get; set; }
public string? Comment { get; set; }
public int Transparency { get; set; }
public Render Render { get; set; }
public List<CelPosition> Positions { get; set; } = new();
public bool[] Sets { get; set; } = new bool[10];
}
}
@@ -1,5 +1,5 @@
namespace fxl.codes.kisekae.data.Entities
{
namespace fxl.codes.kisekae.data.Entities;
public class CelPosition
{
public int Id { get; set; }
@@ -7,4 +7,3 @@ namespace fxl.codes.kisekae.data.Entities
public int X { get; set; }
public int Y { get; set; }
}
}
@@ -1,5 +1,5 @@
namespace fxl.codes.kisekae.data.Entities
{
namespace fxl.codes.kisekae.data.Entities;
public class Configuration
{
public int Id { get; set; }
@@ -13,4 +13,3 @@ namespace fxl.codes.kisekae.data.Entities
public int Width { get; set; }
public string BackgroundColorHex { get; set; }
}
}
+2 -3
View File
@@ -1,5 +1,5 @@
namespace fxl.codes.kisekae.data.Entities
{
namespace fxl.codes.kisekae.data.Entities;
public class Kisekae
{
public int Id { get; set; }
@@ -9,4 +9,3 @@ namespace fxl.codes.kisekae.data.Entities
public List<Cel> Cels { get; set; } = new();
public List<Palette> Palettes { get; set; } = new();
}
}
+2 -3
View File
@@ -1,5 +1,5 @@
namespace fxl.codes.kisekae.data.Entities
{
namespace fxl.codes.kisekae.data.Entities;
public class Palette
{
public int Id { get; set; }
@@ -8,4 +8,3 @@ namespace fxl.codes.kisekae.data.Entities
public List<PaletteColor> Colors { get; set; } = new();
public byte[] Data { get; set; }
}
}
@@ -1,5 +1,5 @@
namespace fxl.codes.kisekae.data.Entities
{
namespace fxl.codes.kisekae.data.Entities;
public class PaletteColor
{
public int Id { get; set; }
@@ -7,4 +7,3 @@ namespace fxl.codes.kisekae.data.Entities
public int Group { get; set; }
public string Hex { get; set; }
}
}
+2 -3
View File
@@ -1,8 +1,7 @@
namespace fxl.codes.kisekae.data.Entities
{
namespace fxl.codes.kisekae.data.Entities;
public class Render
{
public int Id { get; set; }
public byte[] Image { get; set; }
}
}
@@ -19,7 +19,7 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
"applicationUrl": "http://localhost:5000",
"applicationUrl": "http://localhost:5001",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}