From: sparky4 Date: Mon, 13 Feb 2017 20:21:04 +0000 (-0600) Subject: ==== bloody! ==== X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=bb31184f8214ad2c0647e440a159c4bc4716a520;p=16.git ==== bloody! ==== --- diff --git a/src/lib/16_tdef.h b/src/lib/16_tdef.h index 50bc2261..b638071c 100755 --- a/src/lib/16_tdef.h +++ b/src/lib/16_tdef.h @@ -79,13 +79,14 @@ typedef struct { //TODO: 16_mm and 16_ca must handle this //TODO: add variables from 16_ca +#define MAPLAYERS 2 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 *layertile[2]; //TODO: 16_mm and 16_ca must handle this + tiles_t far *layertile[MAPLAYERS]; //TODO: 16_mm and 16_ca must handle this int width, height; //this has to be signed! byte name[16]; } map_t;