summaryrefslogtreecommitdiff
path: root/bmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'bmp.h')
-rw-r--r--bmp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bmp.h b/bmp.h
new file mode 100644
index 0000000..e9b2821
--- /dev/null
+++ b/bmp.h
@@ -0,0 +1,12 @@
+#ifndef _nebula2_bmp_h_
+#define _nebula2_bmp_h_
+
+#include <stdio.h>
+#include <stdint.h>
+
+#include "color.h"
+
+extern int bmp_write_header(FILE* fh, int32_t width, int32_t height);
+extern int bmp_write_pixel(FILE* fh, color_t col);
+
+#endif \ No newline at end of file