* Merged in non-PolyObjects related changes from ZDoom r2481, 2486 and 2487:

- Changed the four-byte fillers in asm_x86_64/tmap3.s from 0x88888888 to 0x44444444 because   newer version of gas complained about it.
- Made SBARINFO more tolerant of certain error conditions. (Why is there so much duplication of code? It felt like I was changing the same lines over and over and over.)
- Changed xtoviewangle[] calculation so that when it mirrors the array to the left half, it does not include xtoviewangle[centerx] in the mirroring so that the two columns at the center of the screen do not map to the same angle. (BTW, this array is only used for the sky drawing.)
* The PolyObjects changes from r2480, 2482, 2483 and 2485 are NOT ported! For this reason, the svnrevision.h file is left untouched at the moment.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@865 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2010-08-02 11:09:46 +00:00
parent 4fba5b27af
commit d321c7012a
4 changed files with 116 additions and 69 deletions

View file

@ -476,7 +476,7 @@ void R_InitTextureMapping ()
}
for (i = 0; i < centerx; i++)
{
xtoviewangle[i] = (angle_t)(-(signed)xtoviewangle[viewwidth-i-1]);
xtoviewangle[i] = (angle_t)(-(signed)xtoviewangle[viewwidth-i]);
}
}