#ifndef BITMAP_H\r
#define BITMAP_H\r
#include "types.h"\r
+\r
+#ifndef BITMAPT\r
+#define BITMAPT\r
typedef struct {\r
byte *data;\r
word width;\r
byte *palette; // palette for the tile set\r
} tileset_t;\r
*/\r
+#endif\r
\r
bitmap_t bitmapLoadPcx(char *filename);\r
tileset_t bitmapLoadPcxTiles(char *filename, word twidth, word theight);\r