Fix delete and loading lua config dynamically

This commit is contained in:
Krzosa Karol
2024-07-27 16:47:28 +02:00
parent d5e392c3bc
commit 60f26ca40e
10 changed files with 152 additions and 23 deletions

View File

@@ -8,11 +8,14 @@ struct Rect2I {
Vec2I max;
};
struct Color {
uint8_t r;
uint8_t g;
uint8_t b;
uint8_t a;
union Color {
struct {
uint8_t r;
uint8_t g;
uint8_t b;
uint8_t a;
};
uint32_t value;
};
Vec2I GetSize(Rect2I r) {