]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_tdef.h
pcxtest.exe and pcxtest2.exe compiles but we are unable to test because of compiling...
[16.git] / src / lib / 16_tdef.h
index e6806a36f195ffb443a659ecebba29107116734d..fb905910af6e3aa7ab23386a3c405f73f91c48a6 100755 (executable)
@@ -54,6 +54,22 @@ typedef struct {
        byte *palette;\r
 } planar_buf_t;\r
 \r
+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
 //from 16_sprit.h\r
 #ifdef __WATCOMC__\r
 #include <hw/vga/vrl.h>\r
@@ -316,8 +332,8 @@ typedef     struct
        //struct sprite *spri;  //supposively the sprite sheet data\r
        //memptr                gr;\r
 #endif\r
-//     bitmap_t        *data;          //supposively the sprite sheet data//old format\r
-//     bitmap_t        bmp;\r
+       bitmap_t        *data;          //supposively the sprite sheet data//old format\r
+       bitmap_t        bmp;\r
 \r
        //input\r
        byte near               pdir;   //previous direction~ used in IN_16 in IN_ReadControl()\r