X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbitmap.h;h=fd112658910e64970a4c407faf2e25e1c3ed877d;hb=03dfbd292e714832af64638440f17412baac1722;hp=4b31c4b481f6d15fdd960f4dff17214dba2f01c0;hpb=74929b07c8b45a20eb5079444f4df21c9898e605;p=16.git diff --git a/src/lib/bitmap.h b/src/lib/bitmap.h index 4b31c4b4..fd112658 100755 --- a/src/lib/bitmap.h +++ b/src/lib/bitmap.h @@ -25,27 +25,8 @@ #ifndef BITMAP_H #define BITMAP_H -#include "src/lib/types.h" -#include "src/lib/16_head.h" -#define PALSIZE 768 - -typedef struct { - byte huge *data; - word width; - word height; - byte *palette; - word offset; -// byte far *font; -} bitmap_t; - -typedef struct { - byte **data; - word ntiles; /* the number of tiles */ - word twidth; /* width of the tiles */ - word theight; /* height of the tiles */ - byte *palette; /* palette for the tile set */ -} tileset_t; +#include "src/lib/modex16.h" bitmap_t bitmapLoadPcx(char *filename); tileset_t bitmapLoadPcxTiles(char *filename, word twidth, word theight);