* 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

@ -1080,7 +1080,7 @@ void R_DrawSinglePlane (visplane_t *pl, fixed_t alpha, bool additive, bool maske
}
else
{ // regular flat
FTexture *tex = TexMan(pl->picnum);
FTexture *tex = TexMan(pl->picnum, true);
if (tex->UseType == FTexture::TEX_Null)
{
@ -1368,9 +1368,9 @@ void R_DrawSkyPlane (visplane_t *pl)
if (!(pl->sky & PL_SKYFLAT))
{ // use sky1
sky1:
frontskytex = TexMan(sky1tex);
frontskytex = TexMan(sky1tex, true);
if (level.flags & LEVEL_DOUBLESKY)
backskytex = TexMan(sky2tex);
backskytex = TexMan(sky2tex, true);
else
backskytex = NULL;
skyflip = 0;
@ -1381,7 +1381,7 @@ void R_DrawSkyPlane (visplane_t *pl)
}
else if (pl->sky == PL_SKYFLAT)
{ // use sky2
frontskytex = TexMan(sky2tex);
frontskytex = TexMan(sky2tex, true);
backskytex = NULL;
frontcyl = sky2cyl;
skyflip = 0;
@ -1407,7 +1407,7 @@ void R_DrawSkyPlane (visplane_t *pl)
pos = side_t::top;
}
frontskytex = TexMan(s->GetTexture(pos));
frontskytex = TexMan(s->GetTexture(pos), true);
if (frontskytex == NULL || frontskytex->UseType == FTexture::TEX_Null)
{ // [RH] The blank texture: Use normal sky instead.
goto sky1;