mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 12:31:32 +00:00
Forgot some stuff regarding FOF type 170
This commit is contained in:
parent
f815597219
commit
2e9dc59ca7
2 changed files with 36 additions and 0 deletions
|
@ -1583,6 +1583,36 @@ udmf
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
170
|
||||||
|
{
|
||||||
|
title = "Crumbling";
|
||||||
|
prefix = "(170)";
|
||||||
|
arg0
|
||||||
|
{
|
||||||
|
title = "Target sector tag";
|
||||||
|
type = 13;
|
||||||
|
}
|
||||||
|
arg1
|
||||||
|
{
|
||||||
|
title = "Tangibility";
|
||||||
|
type = 12;
|
||||||
|
enum = "tangibility";
|
||||||
|
}
|
||||||
|
arg2
|
||||||
|
{
|
||||||
|
title = "Flags";
|
||||||
|
type = 12;
|
||||||
|
enum
|
||||||
|
{
|
||||||
|
1 = "Translucent";
|
||||||
|
2 = "No shadow";
|
||||||
|
4 = "No respawn";
|
||||||
|
8 = "Air bobbing";
|
||||||
|
16 = "Float on water";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
200
|
200
|
||||||
{
|
{
|
||||||
title = "Light Block";
|
title = "Light Block";
|
||||||
|
|
|
@ -2939,7 +2939,13 @@ static void P_ConvertBinaryMap(void)
|
||||||
lines[i].args[2] |= 2; //Don't cast shadow
|
lines[i].args[2] |= 2; //Don't cast shadow
|
||||||
}
|
}
|
||||||
if (lines[i].special >= 174 && lines[i].special <= 175)
|
if (lines[i].special >= 174 && lines[i].special <= 175)
|
||||||
|
{
|
||||||
lines[i].args[2] |= 1; //Translucent
|
lines[i].args[2] |= 1; //Translucent
|
||||||
|
if (sides[lines[i].sidenum[0]].toptexture > 0)
|
||||||
|
lines[i].alpha = (sides[lines[i].sidenum[0]].toptexture << FRACBITS)/255;
|
||||||
|
else
|
||||||
|
lines[i].alpha = FRACUNIT/2;
|
||||||
|
}
|
||||||
if (lines[i].special % 2 == 1)
|
if (lines[i].special % 2 == 1)
|
||||||
lines[i].args[2] |= 4; //Don't respawn
|
lines[i].args[2] |= 4; //Don't respawn
|
||||||
if (lines[i].special == 176 || lines[i].special == 177 || lines[i].special == 180)
|
if (lines[i].special == 176 || lines[i].special == 177 || lines[i].special == 180)
|
||||||
|
|
Loading…
Reference in a new issue