summaryrefslogtreecommitdiff
path: root/src/tiledio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tiledio.h')
-rw-r--r--src/tiledio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tiledio.h b/src/tiledio.h
new file mode 100644
index 0000000..9083ede
--- /dev/null
+++ b/src/tiledio.h
@@ -0,0 +1,8 @@
+#include <raylib.h>
+#include <stdio.h>
+
+void textureFromPixels(Texture2D *texOut, Color *pixels, int width, int height);
+
+int readb(char *out, size_t noBytes, FILE *file);
+
+int writeb(char *in, size_t noBytes, FILE *file);