- fix a render glitch with Back to Saturn X MAP06: Do not flood missing upper and lower textures with the backsector's flat if that backsector is malformed (i.e. has no area.)
- route texture binding through the renderstate class for better control. Currently it's just a direct passthrough but this will change.
- changed the handling of alpha textures. The only special case they need is with palette-less textures and this can be handled far more easily and robustly with a predefined translation instead of passing another parameter through all the layers of the texture management code. This also fixes problems with paletted PNGs that get used as an alpha texture because the old method clobbered the image's palette.
- fixed: When applying Boom's Transfer_Heights effect to a sector, gl_FakeFlat needs to remove all portals from the original sector planes that are being replaced in the sector copy.
- Fixed: InInventory didn't work quite right with multiple items.
- Added IfHealth based on Blue Shadow's patch.
-fixed the file validity checks in MapData::GetChecksum.

They need to be done per lump, because MapData::Seek can alter the FileReader being used for a specific lump. Even worse, the FileReader will be NULL when the function as it was is called for a map inside a Zip-file.
Merge branch 'master' of https://github.com/rheit/zdoom
Merge branch 'master' of https://github.com/rheit/zdoom
Merge branch 'master' into v2.x