From: sparky4 Date: Mon, 13 Feb 2017 20:11:51 +0000 (-0600) Subject: ==== bloody! ==== X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=5e3023322a0464a255292592e66bf3ea943a335b;p=16.git ==== bloody! ==== --- diff --git a/src/lib/16_tdef.h b/src/lib/16_tdef.h index abd71bdf..50bc2261 100755 --- a/src/lib/16_tdef.h +++ b/src/lib/16_tdef.h @@ -67,7 +67,7 @@ typedef struct { //TODO: 16_mm and 16_ca must handle this typedef struct { bitmap_t far *data; //old - //planar_buf_t far *pbdata; //old + //planar_buf_t far *data; //old word tileHeight, tileWidth; unsigned int rows, cols; // #ifdef __DEBUG__ @@ -79,14 +79,13 @@ typedef struct { //TODO: 16_mm and 16_ca must handle this //TODO: add variables from 16_ca -#define MAPLAYERS 4 typedef struct { //long planestart[3]; //unsigned planelength[3]; byte *data; //TODO: 16_mm and 16_ca must handle this byte * far *layerdata; //TODO: 16_mm and 16_ca must handle this //tiles_t *tiles; //TODO: 16_mm and 16_ca must handle this - tiles_t far *layertile[MAPLAYERS]; //TODO: 16_mm and 16_ca must handle this + tiles_t *layertile[2]; //TODO: 16_mm and 16_ca must handle this int width, height; //this has to be signed! byte name[16]; } map_t;