]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_tdef.h
hmmm layers in map_t ....
[16.git] / src / lib / 16_tdef.h
index d1220d54c67826e1af1020a116b95e934f10ab2a..4c33811194611fd21df66a65048d4da5a7385eaa 100755 (executable)
@@ -93,11 +93,11 @@ typedef struct {
 typedef struct {\r
        //long          planestart[3];\r
        //unsigned      planelength[3];\r
-#ifndef __NEWMAPTILEDATAVARS__\r
        byte *data;                     //TODO: 16_mm and 16_ca must handle this\r
+       byte far *layerdata[MAPLAYERS]; // mapdata for multilayer (map index values for rendering which image on the tile)\r
+#ifndef __NEWMAPTILEDATAVARS__\r
        tiles_t *tiles;         //TODO: 16_mm and 16_ca must handle this\r
 #else\r
-       byte far *layerdata[MAPLAYERS]; // mapdata for multilayer (map index values for rendering which image on the tile)\r
        tiles_t far *layertile[MAPLAYERS];      // tilesets for layers (currently ony 4 can be loaded wwww)\r
 #endif\r
        int width, height;              //this has to be signed!\r