* Updated to ZDoom r3311:

- Added support for PALVERS lump. (See ZDoom wiki.)
- Fixed: 2048 should be a valid height for a Doom patch.
- Add compat_badangles to the menu.
- Added compat_badangles to simulate Doom's incorrect sine table: Player spawning and teleporting will be offset by one fineangle so they cannot face directly in one of the cardinal directions.
- Fixed: restart ccmd did not reset the palette.
- Fix incorrect line arg count for Ceiling_Waggle.
- Added a fourth paremeter to Floor_LowerToHighest. Set it to 1 to always apply the offset to the target height. (This is Heretic's behavior.)
- Fixed: Strife line type 11 has the same Teleport_NewMap/Exit_Normal semantics as line type 52.
- Fixed floor crushers in Strife.


git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@1262 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2011-11-05 15:48:30 +00:00
parent 2ab4cc01cd
commit 676c0833b7
26 changed files with 279 additions and 137 deletions

View file

@ -272,11 +272,12 @@ DFloor::DFloor (sector_t *sec)
//
// HANDLE FLOOR TYPES
// [RH] Added tag, speed, height, crush, change params.
// This functions starts too many different things.
//
//==========================================================================
bool EV_DoFloor (DFloor::EFloor floortype, line_t *line, int tag,
fixed_t speed, fixed_t height, int crush, int change, bool hexencrush)
fixed_t speed, fixed_t height, int crush, int change, bool hexencrush, bool hereticlower)
{
int secnum;
bool rtn;
@ -332,7 +333,7 @@ manual_floor:
floor->m_FloorDestDist = sec->floorplane.PointToDist (spot, newheight);
// [RH] DOOM's turboLower type did this. I've just extended it
// to be applicable to all LowerToHighest types.
if (floor->m_FloorDestDist != sec->floorplane.d)
if (hereticlower || floor->m_FloorDestDist != sec->floorplane.d)
floor->m_FloorDestDist = sec->floorplane.PointToDist (spot, newheight+height);
break;