]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/typdefst.h
OK IT COMPILES!
[16.git] / src / lib / typdefst.h
index 3f53cd7f7b437334f2c28ce6787f604fa58d33df..2e1cd4883a74617ae1afbde2a0e3a37d0e9e52d8 100755 (executable)
 /*\r
  * typedefs of the game variables!\r
  */\r
+typedef struct {\r
+       byte huge *data;\r
+       word width;\r
+       word height;\r
+       byte *palette;\r
+       word offset;\r
+} bitmap_t;\r
+\r
+typedef struct {\r
+       byte **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
+typedef struct {\r
+       byte huge *plane[4];     /* 4 planes of image data */\r
+       word width;         /* width of the image (spread across 4 planes) */\r
+       word height;        /* height of the image (spread across 4 planes) */\r
+       word pwidth;        /* the number of bytes in each plane */\r
+       byte *palette;\r
+} planar_buf_t;\r
+\r
 typedef struct {\r
        word id;        /* the Identification number of the page~ For layering~ */\r
        byte far* data; /* the data for the page */\r