mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 05:41:42 +00:00
Merge branch 'more-slope-copying' into 'next'
Add more actions for slope copying See merge request STJr/SRB2!1406
This commit is contained in:
commit
c25ecfc35f
2 changed files with 100 additions and 0 deletions
|
@ -3077,6 +3077,78 @@ linedeftypes
|
||||||
slopeargs = 3;
|
slopeargs = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
723
|
||||||
|
{
|
||||||
|
title = "Copy Backside Floor Slope from Line Tag";
|
||||||
|
prefix = "(720)";
|
||||||
|
slope = "copy";
|
||||||
|
slopeargs = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
724
|
||||||
|
{
|
||||||
|
title = "Copy Backside Ceiling Slope from Line Tag";
|
||||||
|
prefix = "(721)";
|
||||||
|
slope = "copy";
|
||||||
|
slopeargs = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
725
|
||||||
|
{
|
||||||
|
title = "Copy Backside Floor and Ceiling Slope from Line Tag";
|
||||||
|
prefix = "(722)";
|
||||||
|
slope = "copy";
|
||||||
|
slopeargs = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
730
|
||||||
|
{
|
||||||
|
title = "Copy Frontside Floor Slope to Backside";
|
||||||
|
prefix = "(730)";
|
||||||
|
slope = "copy";
|
||||||
|
copyslopeargs = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
731
|
||||||
|
{
|
||||||
|
title = "Copy Frontside Ceiling Slope to Backside";
|
||||||
|
prefix = "(731)";
|
||||||
|
slope = "copy";
|
||||||
|
copyslopeargs = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
732
|
||||||
|
{
|
||||||
|
title = "Copy Frontside Floor and Ceiling Slope to Backside";
|
||||||
|
prefix = "(732)";
|
||||||
|
slope = "copy";
|
||||||
|
copyslopeargs = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
733
|
||||||
|
{
|
||||||
|
title = "Copy Backside Floor Slope to Frontside";
|
||||||
|
prefix = "(733)";
|
||||||
|
slope = "copy";
|
||||||
|
copyslopeargs = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
734
|
||||||
|
{
|
||||||
|
title = "Copy Backside Ceiling Slope to Frontside";
|
||||||
|
prefix = "(734)";
|
||||||
|
slope = "copy";
|
||||||
|
copyslopeargs = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
735
|
||||||
|
{
|
||||||
|
title = "Copy Backside Floor and Ceiling Slope to Frontside";
|
||||||
|
prefix = "(735)";
|
||||||
|
slope = "copy";
|
||||||
|
copyslopeargs = 10;
|
||||||
|
}
|
||||||
|
|
||||||
799
|
799
|
||||||
{
|
{
|
||||||
title = "Set Tagged Dynamic Slope Vertex to Front Sector Height";
|
title = "Set Tagged Dynamic Slope Vertex to Front Sector Height";
|
||||||
|
|
|
@ -3159,6 +3159,34 @@ static void P_ConvertBinaryMap(void)
|
||||||
lines[i].args[1] = tag;
|
lines[i].args[1] = tag;
|
||||||
lines[i].special = 720;
|
lines[i].special = 720;
|
||||||
break;
|
break;
|
||||||
|
case 723: //Copy back side floor slope
|
||||||
|
case 724: //Copy back side ceiling slope
|
||||||
|
case 725: //Copy back side floor and ceiling slope
|
||||||
|
if (lines[i].special != 724)
|
||||||
|
lines[i].args[2] = tag;
|
||||||
|
if (lines[i].special != 723)
|
||||||
|
lines[i].args[3] = tag;
|
||||||
|
lines[i].special = 720;
|
||||||
|
break;
|
||||||
|
case 730: //Copy front side floor slope to back side
|
||||||
|
case 731: //Copy front side ceiling slope to back side
|
||||||
|
case 732: //Copy front side floor and ceiling slope to back side
|
||||||
|
if (lines[i].special != 731)
|
||||||
|
lines[i].args[4] |= TMSC_FRONTTOBACKFLOOR;
|
||||||
|
if (lines[i].special != 730)
|
||||||
|
lines[i].args[4] |= TMSC_FRONTTOBACKCEILING;
|
||||||
|
lines[i].special = 720;
|
||||||
|
break;
|
||||||
|
case 733: //Copy back side floor slope to front side
|
||||||
|
case 734: //Copy back side ceiling slope to front side
|
||||||
|
case 735: //Copy back side floor and ceiling slope to front side
|
||||||
|
if (lines[i].special != 734)
|
||||||
|
lines[i].args[4] |= TMSC_BACKTOFRONTFLOOR;
|
||||||
|
if (lines[i].special != 733)
|
||||||
|
lines[i].args[4] |= TMSC_BACKTOFRONTCEILING;
|
||||||
|
lines[i].special = 720;
|
||||||
|
break;
|
||||||
|
|
||||||
case 900: //Translucent wall (10%)
|
case 900: //Translucent wall (10%)
|
||||||
case 901: //Translucent wall (20%)
|
case 901: //Translucent wall (20%)
|
||||||
case 902: //Translucent wall (30%)
|
case 902: //Translucent wall (30%)
|
||||||
|
|
Loading…
Reference in a new issue