diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-01 23:01:53 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-01 23:01:53 +0200 |
commit | 96919bf34222c0c3f37e1085342b81c63da386c8 (patch) | |
tree | a4e37d4a267dea3a8f2dee077533bc3fd6d8d222 /bmp.h | |
parent | 8e128e5afd495c46ab54eaff2c602e420eb59c0d (diff) | |
download | nebula2-96919bf34222c0c3f37e1085342b81c63da386c8.tar.gz nebula2-96919bf34222c0c3f37e1085342b81c63da386c8.tar.bz2 nebula2-96919bf34222c0c3f37e1085342b81c63da386c8.zip |
Moved BMP code to own file.
Diffstat (limited to 'bmp.h')
-rw-r--r-- | bmp.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |