Back to shtanton's homepage
summaryrefslogtreecommitdiff
path: root/src/all.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/all.h')
-rw-r--r--src/all.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/all.h b/src/all.h
new file mode 100644
index 0000000..19cc6e5
--- /dev/null
+++ b/src/all.h
@@ -0,0 +1,13 @@
+#include <SDL3/SDL.h>
+#include <stddef.h>
+#include <stdint.h>
+
+typedef struct {
+ SDL_Rect rect;
+ SDL_Color color;
+} DrawElement;
+
+typedef struct {
+ int len;
+ DrawElement els[256];
+} DrawList;