- Changed: Line_SetIdentification will ignore extended parameters when

used in maps defined Hexen style in MAPINFO.


SVN r1042 (trunk)
This commit is contained in:
Christoph Oelckers 2008-06-16 22:38:23 +00:00
parent e3a6507381
commit a86774fcdd
5 changed files with 15 additions and 3 deletions

View file

@ -1,4 +1,6 @@
June 16, 2008 (Changes by Graf Zahl) June 16, 2008 (Changes by Graf Zahl)
- Changed: Line_SetIdentification will ignore extended parameters when
used in maps defined Hexen style in MAPINFO.
- Fixed: Ambient sounds didn't pass their point of origin to S_StartSound. - Fixed: Ambient sounds didn't pass their point of origin to S_StartSound.
- Fixed: UseType was not properly set for textures defined in TEXTURES. - Fixed: UseType was not properly set for textures defined in TEXTURES.
- Fixed: You couldn't set an offset for sprites defined in TEXTURES. - Fixed: You couldn't set an offset for sprites defined in TEXTURES.

View file

@ -721,7 +721,8 @@ static void G_DoParseMapInfo (int lump)
| LEVEL_ACTOWNSPECIAL | LEVEL_ACTOWNSPECIAL
| LEVEL_MISSILESACTIVATEIMPACT | LEVEL_MISSILESACTIVATEIMPACT
| LEVEL_INFINITE_FLIGHT | LEVEL_INFINITE_FLIGHT
| LEVEL_MONSTERFALLINGDAMAGE; | LEVEL_MONSTERFALLINGDAMAGE
| LEVEL_HEXENHACK;
} }
levelindex = FindWadLevelInfo (sc.String); levelindex = FindWadLevelInfo (sc.String);
if (levelindex == -1) if (levelindex == -1)

View file

@ -120,6 +120,7 @@
#define LEVEL_CONV_SINGLE_UNFREEZE UCONST64(0x10000000000000) #define LEVEL_CONV_SINGLE_UNFREEZE UCONST64(0x10000000000000)
#define LEVEL_RAILINGHACK UCONST64(0x20000000000000) // but UDMF requires them to be separate to have more control #define LEVEL_RAILINGHACK UCONST64(0x20000000000000) // but UDMF requires them to be separate to have more control
#define LEVEL_DUMMYSWITCHES UCONST64(0x40000000000000) #define LEVEL_DUMMYSWITCHES UCONST64(0x40000000000000)
#define LEVEL_HEXENHACK UCONST64(0x80000000000000) // Level was defined in a Hexen style MAPINFO
struct acsdefered_s; struct acsdefered_s;

View file

@ -456,6 +456,7 @@ int FMugShot::UpdateState(player_t *player, bool xdeath, bool animated_god_mode)
} }
full_state_name += player->LastDamageType; full_state_name += player->LastDamageType;
SetState(full_state_name); SetState(full_state_name);
bNormal = true; //Allow the face to return to alive states when the player respawns.
} }
return 0; return 0;
} }

View file

@ -1559,8 +1559,15 @@ void P_SetLineID (line_t *ld)
switch (ld->special) switch (ld->special)
{ {
case Line_SetIdentification: case Line_SetIdentification:
ld->id = ld->args[0] + 256 * ld->args[4]; if (!(level.flags & LEVEL_HEXENHACK))
ld->flags |= ld->args[1]<<16; {
ld->id = ld->args[0] + 256 * ld->args[4];
ld->flags |= ld->args[1]<<16;
}
else
{
ld->id = ld->args[0];
}
break; break;
case TranslucentLine: case TranslucentLine: