summaryrefslogtreecommitdiff
path: root/include/engine/engine.h
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2023-08-22 06:11:33 +0000
committer0scar <qgt268@alumni.ku.dk>2023-08-22 06:11:33 +0000
commit36689ac93e7442ae3a00b61ef4dc719db1b9b78b (patch)
tree612a88733a8855f44e802dc3ed5c2426080ca39e /include/engine/engine.h
parent28258368a868e8e97c9bade5253945cee20e8c73 (diff)
Update resource allocation macros
Diffstat (limited to 'include/engine/engine.h')
-rw-r--r--include/engine/engine.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/engine/engine.h b/include/engine/engine.h
index 02b5703..4d92645 100644
--- a/include/engine/engine.h
+++ b/include/engine/engine.h
@@ -10,6 +10,7 @@
#include <engine/memory.h>
#include <engine/input.h>
#include <engine/state.h>
+#include <engine/resources.h>
typedef struct {
u32 texture_id;
@@ -17,17 +18,6 @@ typedef struct {
w, h;
} RenderUnit;
-typedef struct {
- const char *font_path;
- i32 ptsize;
-} FontSpec;
-
-typedef struct {
- i32 width;
- i32 height;
- const char *path;
-} TextureSpec;
-
typedef struct Window Window;
#define NUM_GLOBAL_BINDINGS 1