From bb31184f8214ad2c0647e440a159c4bc4716a520 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 13 Feb 2017 14:21:04 -0600 Subject: [PATCH] ==== bloody! ==== --- src/lib/16_tdef.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5