-typedef struct {\r
- byte *data;\r
- word width;\r
- word height;\r
- byte *palette;\r
- word offset;\r
-} bitmap_t;\r
-\r
-typedef struct {\r
- byte far **data;\r
- word ntiles; // the number of tiles\r
- word twidth; // width of the tiles\r
- word theight; // height of the tiles\r
- byte *palette; // palette for the tile set\r
-} tileset_t;\r
-\r