X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbitmap.h;h=f1b126e5f28b9be9f8b67cba978fe3cd270359d6;hb=af875dfcdc2c548fe4e44a68c54d8bf34fd17480;hp=17bb0d94ae189de14e921d60f83792bb2849ba22;hpb=441b49b204a673fca48a4a294d9d90b12df5a02c;p=16.git diff --git a/src/lib/bitmap.h b/src/lib/bitmap.h index 17bb0d94..f1b126e5 100644 --- a/src/lib/bitmap.h +++ b/src/lib/bitmap.h @@ -3,22 +3,23 @@ */ #ifndef BITMAP_H #define BITMAP_H -#include -#include "src/lib/types.h" +#include "src/lib/types.h" +#include "src/lib/lib_head.h" + typedef struct { - byte *data; - word width; - word height; - byte *palette; - word offset; + byte *data; + word width; + word height; + byte *palette; + word offset; } 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 */ + 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; bitmap_t bitmapLoadPcx(char *filename);