]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_tdef.h
BROKEN something broke wwww
[16.git] / src / lib / 16_tdef.h
index b5f0ec1db1e8922ee9ae1dd5a7559cdb08562cab..abd71bdf1b8f888737bd5fe563a990d432322148 100755 (executable)
@@ -66,8 +66,8 @@ typedef struct {
 \r
 //TODO: 16_mm and 16_ca must handle this\r
 typedef struct {\r
-       bitmap_t far *btdata;           //old\r
-       planar_buf_t far *data; //old\r
+       bitmap_t far *data;             //old\r
+       //planar_buf_t far *pbdata;     //old\r
        word tileHeight, tileWidth;\r
        unsigned int rows, cols;\r
 //     #ifdef __DEBUG__\r
@@ -79,13 +79,14 @@ typedef struct {
 \r
 //TODO: 16_mm and 16_ca must handle this\r
 //TODO: add variables from 16_ca\r
+#define MAPLAYERS 4\r
 typedef struct {\r
        //long          planestart[3];\r
        //unsigned      planelength[3];\r
        byte *data;                     //TODO: 16_mm and 16_ca must handle this\r
        byte * far *layerdata;  //TODO: 16_mm and 16_ca must handle this\r
        //tiles_t *tiles;               //TODO: 16_mm and 16_ca must handle this\r
-       tiles_t *layertile[2];  //TODO: 16_mm and 16_ca must handle this\r
+       tiles_t far *layertile[MAPLAYERS];      //TODO: 16_mm and 16_ca must handle this\r
        int width, height;              //this has to be signed!\r
        byte name[16];\r
 } map_t;\r