X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbitmap.h;h=802313d98f1051d6f2060028ccecc5e1339b99e9;hb=04099992453279d1870b4d209da4ee2eda4259a3;hp=40ec9627a9c29f4eddd54ccf8bf2c0f879c28664;hpb=b5c46f5e85d6be9895fa484766867907a885439c;p=16.git diff --git a/src/lib/bitmap.h b/src/lib/bitmap.h index 40ec9627..802313d9 100644 --- a/src/lib/bitmap.h +++ b/src/lib/bitmap.h @@ -2,22 +2,25 @@ * Functions and types for loading and manipulating bitmaps. */ #ifndef BITMAP_H -#define BITMAP_H -#include "src\lib\types.h" +#define BITMAP_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; +// 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 */ + 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);