X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbitmap.h;h=802313d98f1051d6f2060028ccecc5e1339b99e9;hb=f02096268cea5a79cc6a32d2f67831ec50aabdbd;hp=e0e93c383fcfe5326979644a108823a85fdcfe95;hpb=cc5df35b6ba3d7871eac6734822464c7e176f4b7;p=16.git diff --git a/src/lib/bitmap.h b/src/lib/bitmap.h index e0e93c38..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);