Back to shtanton's homepage
summaryrefslogtreecommitdiff
path: root/src/all.h
diff options
context:
space:
mode:
authorCharlie Stanton <charlie@shtanton.xyz>2025-04-04 23:47:30 +0100
committerCharlie Stanton <charlie@shtanton.xyz>2025-04-04 23:47:30 +0100
commitf0bf72a54477fb18b1666293a652b52f53320a1d (patch)
tree1806d9e55d51dad871a3b2eaf369f417ec28be11 /src/all.h
downloadldjam57-f0bf72a54477fb18b1666293a652b52f53320a1d.tar
Initial commit
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;