X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Flib%2Fplanar.h;h=c4b67307d801c8b7b1b9fd510a3c3206346e8a36;hb=9a1de7bcc2d740e7d1424e7efe86e02e6a9e3bc8;hp=09f07c69a7d51477a6742bc0777896861e94df06;hpb=29050ce6a22ce3d6c47183d6946e81ea25b6b5c7;p=16.git diff --git a/src/lib/planar.h b/src/lib/planar.h index 09f07c69..c4b67307 100755 --- a/src/lib/planar.h +++ b/src/lib/planar.h @@ -26,18 +26,7 @@ #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" - -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; +#include "src/lib/modex16.h" /* creates a planar buffer from the bitmap data. The planar buffer is dynamically allocated, and should @@ -52,5 +41,4 @@ planar_buf_t huge *planar_buf_alloc(word width, word height); /* deallocates a planar buffer */ void planar_buf_free(planar_buf_t *p); - #endif