- Converted the stealth monsters to DECORATE.
- Added string replacement option to obituary strings. - Changed lock and pickup message handling so that it is either a real string or a LANGUAGE identifier. The only reason I did the mixed format in the first place were Hexen's lock messages but they have been replaced by unique strings in the mean time so the feature isn't needed any more. - Added a flags parameter to TranslucentLine. - Extended the second arg of Line_SetIdentification to set not only ML_ZONEBOUNDARY but all 8 bits of the third byte in the flag word. This allows a relatively simple means of setting all the new flags directly. - Moved ML_ZONEBOUNDARY to doomdata.h so that it is in the same place as the other line flags. - Fixed: Strife's teleport swirl didn't loop its animation. - Fixed: Strife's rat is not supposed to be shootable. SVN r110 (trunk)
This commit is contained in:
parent
e89867489c
commit
01441cd4f0
22 changed files with 173 additions and 217 deletions
|
|
@ -1290,21 +1290,22 @@ void P_AdjustLine (line_t *ld)
|
|||
}
|
||||
|
||||
// [RH] Set line id (as appropriate) here
|
||||
// for Doom format maps this must be done in P_TranslateLinedef because
|
||||
// the tag doesn't always go into the first arg!
|
||||
// for Doom format maps this must be done in P_TranslateLineDef because
|
||||
// the tag doesn't always go into the first arg.
|
||||
if (HasBehavior)
|
||||
{
|
||||
if (ld->special == Line_SetIdentification)
|
||||
{
|
||||
ld->id = ld->args[0];
|
||||
if (ld->args[1] == 1)
|
||||
{
|
||||
ld->flags |= ML_ZONEBOUNDARY;
|
||||
}
|
||||
ld->flags |= ld->args[1]<<16;
|
||||
}
|
||||
else if (ld->special == TranslucentLine)
|
||||
{
|
||||
ld->id = ld->args[0];
|
||||
ld->flags |= ld->args[3]<<16;
|
||||
}
|
||||
else if (
|
||||
ld->special == Teleport_Line ||
|
||||
ld->special == TranslucentLine ||
|
||||
ld->special == Scroll_Texture_Model)
|
||||
{
|
||||
ld->id = ld->args[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue