summaryrefslogtreecommitdiff
path: root/game.h
diff options
context:
space:
mode:
authororangerot <orangerot@orangerot.dev>2025-10-13 21:18:09 +0200
committerorangerot <orangerot@orangerot.dev>2025-10-13 21:18:09 +0200
commitaa2be58cd30d5b9f1eb274454a9cca7a9739d62d (patch)
tree3e02bab84cba382a1b99c8e05e02b7fd70b72b78 /game.h
parent78b29d66ebb049cc46aef8244e702ed7729b85cd (diff)
feat: factor out game code
Diffstat (limited to 'game.h')
-rw-r--r--game.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/game.h b/game.h
new file mode 100644
index 0000000..b016ede
--- /dev/null
+++ b/game.h
@@ -0,0 +1,10 @@
+
+#include <stddef.h>
+#include <stdint.h>
+
+typedef struct decoded_image {
+ size_t width;
+ size_t height;
+ uint32_t *buf;
+ size_t buf_size;
+} decoded_image;