]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/planar.h
OK IT COMPILES!
[16.git] / src / lib / planar.h
index 09f07c69a7d51477a6742bc0777896861e94df06..821f476305bb420147514d072bbbfffe47fb6460 100755 (executable)
 #ifndef PLANAR_H
 #define PLANAR_H
 
-#include "src/lib/types.h"
-#include "src/lib/16_head.h"
-#include "src/lib/bitmap.h"
-//#include "src/lib/modex16.h"
+#include "src/lib/modex16.h"
 
-typedef struct {
-       byte huge *plane[4];     /* 4 planes of image data */
-       word width;         /* width of the image (spread across 4 planes) */
-       word height;        /* height of the image (spread across 4 planes) */
-       word pwidth;        /* the number of bytes in each plane */
-       byte *palette;
-} planar_buf_t;
+extern byte *modexNewPal();
 
 /* creates a planar buffer from the bitmap data.
    The planar buffer is dynamically allocated, and should