X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=16%2Fmodex16%2Fbitmap.h;h=c25474934ab7e05fffd1115371f712a574c5f86d;hb=e8708918d29a425379a2c93ccc4ae0c974741338;hp=5ba53c818e7c83e09e4065024ede4884ccd09ee7;hpb=8c5ce6d6e768ba3dfac7f4e2e95d68152ab42aaa;p=16.git diff --git a/16/modex16/bitmap.h b/16/modex16/bitmap.h index 5ba53c81..c2547493 100755 --- a/16/modex16/bitmap.h +++ b/16/modex16/bitmap.h @@ -4,6 +4,9 @@ #ifndef BITMAP_H #define BITMAP_H #include "types.h" + +#ifndef BITMAPT +#define BITMAPT typedef struct { byte *data; word width; @@ -36,6 +39,7 @@ typedef struct { byte *palette; // palette for the tile set } tileset_t; */ +#endif bitmap_t bitmapLoadPcx(char *filename); tileset_t bitmapLoadPcxTiles(char *filename, word twidth, word theight);