mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
Adapt linedef type 63 to UDMF
This commit is contained in:
parent
63548fe235
commit
49c1645b5f
3 changed files with 15 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue