Adapt linedef type 63 to UDMF

This commit is contained in:
MascaraSnake 2021-12-29 11:03:00 +01:00
parent 63548fe235
commit 49c1645b5f
3 changed files with 15 additions and 1 deletions

View file

@ -1640,6 +1640,17 @@ udmf
title = "Horizon Effect";
prefix = "(41)";
}
63
{
title = "Fake Floor/Ceiling Planes";
prefix = "(63)";
arg0
{
title = "Target sector tag";
type = 13;
}
}
}
parameters

View file

@ -3340,6 +3340,9 @@ static void P_ConvertBinaryMap(void)
}
lines[i].special = 61;
break;
case 63: //Fake floor/ceiling planes
lines[i].args[0] = tag;
break;
case 66: //Move floor by displacement
case 67: //Move ceiling by displacement
case 68: //Move floor and ceiling by displacement

View file

@ -6206,7 +6206,7 @@ void P_SpawnSpecials(boolean fromnetsave)
case 63: // support for drawn heights coming from different sector
sec = sides[*lines[i].sidenum].sector-sectors;
TAG_ITER_SECTORS(tag, s)
TAG_ITER_SECTORS(lines[i].args[0], s)
sectors[s].heightsec = (INT32)sec;
break;