Build 8659
SVN-
Fix flipped HUD model rendering
Show details
Patch from Nuke.YKT.
SVN handles and Git names are merged into one person.
Fix flipped HUD model rendering
Patch from Nuke.YKT.
fix NPOT tile rendering when hightile option is disabled
workaround for texcache expecting all mipmap levels to be available
fix typo causing bug where persistentStreamBuffer was being reset to the config value when it should be disabled
fix bug where polymost2_drawVBO() wouldn't reset the bound buffer state properly for polymost1
Fix yoffset bouncing of face sprites with cstat 128.
fix texture panning floatiness on slight slopes
Fix shading on ART tiles with fullbrights displayed without masking, such as on a whitewall.
Fix voxels so palette colors are treated as 8-bit, not 6-bit. Overlooked in r5349.
fix wall and floor sprites clipping into or z-fighting with surfaces (replaces glDepthRange() hacks for sprites), add r_nofog cvar for debugging, reduce the total number of OpenGL calls by only calling glFogi() to set the fog mode when initializing the renderer or changing r_usenewshading.
make spriteext[].{x,y,z}off independent of xdimen/viewingrange/aspect.
The offsets (that will translate the axes for .pitch/.roll rotation) were calculated improperly with screen sizes other than 1280 x 1024 and were dependent on other related variables. The fix proceeded empirically, i.e. mostly trial, error, and some educated guesswork. (It's telling that the magic constant 1280 is needed.) A test for Lunatic is added to test.lua that will rotate SEENINES. Bug pointed out by Mblackwell.
fix my r_usetileshades==2 sub-method.
Don't touch TerminX's r_usetileshades==1 or it being the default.
fix 'zadd' DEF token handling. (Polymer has it right.)
Fix ART offset and face sprite flipping interaction.
fix mirror-related oob access analogous to r1872's fix for classic.
When drawing from inside the mirror, there may be no 'bunches' (BUILD lingo, not TROR ones) collected, but following code used the first one unconditionally.
crash prevention for bad pal sprites (and warning in Mapster 3D mode)