Build 5495
SVN-
Make voxels take on the current basepalette, like they should.
-
Fix voxels so palette colors are treated as 8-bit, not 6-bit. Overlooked in r5349.
Nickname SVN e nomi Git sono unificati per persona.
Make voxels take on the current basepalette, like they should.
Fix voxels so palette colors are treated as 8-bit, not 6-bit. Overlooked in r5349.
Enumify the lower bits of the method/dameth argument to various functions.
Bookend the recursive call to polymost_drawpoly as part of the fullbright pass with bglDepthFunc(GL_EQUAL) and bglDepthFunc(GL_LEQUAL) to ensure that the fullbright overlay is always visible and never fights with the sprite itself.
Remove "indrawroomsandmasks" variable and its only use in polymost_drawpoly as a condition for the fullbright pass.
Connect spriteext[].x/ypanning to model UVs (range 0-255).
Clean up formatting of parallax sky code and comments, in part so that the floor and ceiling sections are line-for-line consistent. DONT_BUILD.
don't redundantly adjust globalcursectnum in polymost_drawrooms().
See r5024 and the added comment.
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.