Build 9831
GIT-
fix more stupid errors in b6740a7b32d352e6d71a5be0bc118f381599933e
SVN handles and Git names are merged into one person.
fix more stupid errors in b6740a7b32d352e6d71a5be0bc118f381599933e
fix dumbass GL state oversights
fix stupid copy/paste error in b6740a7b32d352e6d71a5be0bc118f381599933e
fix animvpx
Fix regression causing KV6 voxels to render black.
fix integer overflow in wall sprite x coordinate calculations
oops, this still needs to be called here for Polymer to work in the editor
fix warning
Add linear sampler object, fixes forcefilter DEF token in polymost.
fix integer overflow of globalzd in floor sprite rendering code
This commit also simplifies previous x/y panning fix
fix integer overflow of x/y panning in floor sprite rendering code
improve GL state management, add support for GL sampler objects, add libtess2 and implement in polymer in place of the GLU tesselator, drop dependency on libGLU, improve GL debug output (in debug builds), fix various GL resource leaks
This should prevent a few more state changes, and address issues arising from rendermode changes wiping our state but not any of our accounting data for said state. Because libtess2 seems to be abandoned and because there were a few issues I needed to fix anyway, I went ahead and made a custom single-file header-only version for improved performance.
fix console logging issue on Linux introduced by logging rework
TIL vsnprintf and _vsnprintf are not, in fact, the same thing.
Fix updatesectorz() not checking z height in fallback, and add fallback optimization to updatesectorexclude()
Fix a fuckup where I accidentally removed the color swap from gloadtile_art.
fix tabs in random.h
fix compilation warning with RELEASE=0 builds
fix SDL fullscreen issues
remove r_pr_vbos cvar and the code paths used for values 0 and 1
r_pr_vbos 0 was broken and r_pr_vbos 1 became useless once it was clear r_pr_vbos 2 wasn't causing issues.
manually flush console log file ptr in crash handler
fix double free on exit
fix exported symbols for memory allocation failure handling
fix warning in sqrtable_old[] generation in initkqsrt()
fix calc_smoothratio again
fix uninitialized data use
fix incorrect lower bound for r_anisotropy
fix rotatesprite interpolation issues
fix timer problems, move calc_smoothratio to engine
don't allow clipupdatesector() to move a point into null space
fix copy/paste error in 24e5d5fc15bde29de7d6ced1a919dc76f6a8987e
fix crash in classic mode voxel rendering
Initialize blend to 0 when inserting sprites
This fixes a bug where stale blend values could be transferred over from a previously loaded map.
polymer: 'fix' texture scale on relative floors
Classic relative scaling apparently had some numerical artifacts related to length of firstwall. Cribbing the logic added in 6fc6b7d5 in Polymost along with bumping the precision of the intermediate terms seems to make it line up fully. Rooftop floor in E1L1 and surrounding ledges are good test cases for this.
polymer: fix angle precision with sector relative tile alignment
fix parsing of voxel definition in error cases
fix shading of tall tiles in ASM version of classic renderer
Fix ancient identical branch warning in the Polymer code
Fix problems when changing renderer after having seen a mirror
If the player saw a mirror at some point while playing in Polymer, his view would get messed up on changing renderer. This fixes that. Fixes terminx/eduke32#49 and terminx/eduke32#50