X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbitmap.h;h=f1b126e5f28b9be9f8b67cba978fe3cd270359d6;hb=2f4fecee7f595ff717929984ec98b8e5c2efbf2f;hp=21009dcc3f986f78f693881cdbd197714c2d6dec;hpb=fa22c78a917561d4abf178f8c4f51b9526f665cf;p=16.git diff --git a/src/lib/bitmap.h b/src/lib/bitmap.h index 21009dcc..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 far *data; - word width; - word height; - byte *palette; - word offset; + byte *data; + word width; + word height; + byte *palette; + word offset; } bitmap_t; typedef struct { - byte far **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);