Add basic app interface

- Add pool struct for data pools
This commit is contained in:
2026-05-04 15:49:54 +01:00
parent 9e85763f9e
commit 55f4b4d933
9 changed files with 334 additions and 113 deletions
+3 -3
View File
@@ -5,8 +5,8 @@ int main() {
Window w({800, 600}, "Render Test");
ImageID img = w.load_image("./assets/images/arrow.png", true);
FontID font = w.load_font(
int img = w.load_image("./assets/images/arrow.png", true);
int font = w.load_font(
"./assets/fonts/charybdis.ttf",
24,
false,
@@ -15,7 +15,7 @@ int main() {
true
);
TextID text = w.create_text(font, "Hello Engine", 12, {255, 255, 255, 255});
int text = w.create_text(font, "Hello Engine", 12, {255, 255, 255, 255});
float t = 0.0f;