Build 9879
GIT-
fix building against SDL older than 2.0.9
SVN handles and Git names are merged into one person.
fix building against SDL older than 2.0.9
extra const in libtess2
fix use of value before validation in polymer_updatewall()
prevent potential deferencing of null ptr
this sort of type punning isn't necessary anymore
fix copy/paste error in screentextRender()
For some reason, this error didn't propagate into screentextGetSize().
tiny polymost optimization; swap 4 floating point divisions for multiplications in polymost_bindPth()
fix more stupid errors in b6740a7b32d352e6d71a5be0bc118f381599933e
fix dumbass GL state oversights
fix stupid copy/paste error in b6740a7b32d352e6d71a5be0bc118f381599933e
work on controller features
fix animvpx
unify some code duplication between gloadtile_hi() and mdloadskin()
Fix regression causing KV6 voxels to render black.
allow r_pr_shadowdetail 6 (8192x8192)
add missing buildgl_bindSamplerObject() calls
Get forcefilter working with models when sampler objects are enabled. Factored out some related code duplication.
add SAMPLER_NEAREST_NEAREST_CLAMP and SAMPLER_NEAREST_NEAREST_WRAP, samplers which use GL_NEAREST_MIPMAP_NEAREST for the minification filter
It looks like mipmapping actually works with the indexed color texture shader in Polymost as-is, but it doesn't work with Polymer art mapping so we're disabling it there.
eliminate krecipasm in wall sprite rendering code
fix integer overflow in wall sprite x coordinate calculations
bind a sampler object when drawing voxels.
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
add amalgamated version of the vector math library found at https://github.com/glampert/vectormath
clean up r_persistentstreambuffer so you can turn it on and off without having to restart anything
move all the cvars in polymost.cpp so that they're at least in the same spot
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.
detect GL_ARB_sampler_objects, drop detection of GL_ARB_vertex_buffer_object, GL_EXT_texture_edge_clamp, and GL_SGIS_texture_edge_clamp
remove unfinished x86_64 port of the original x86 classic renderer
It never worked.
Add parameter to hictinting_applypixcolor to allow disabling r/b channel swapping. Improved readability of hictinting_applypixcolor as well.
move yax_updown[] reset to yax_update()
don't use SDL_WINDOW_FULLSCREEN_DESKTOP and don't call SDL_SetWindowBordered in fullscreen
ignore SDL_WINDOWEVENT_MOVED and SDL_WINDOWEVENT_RESIZED in fullscreen
I'm not sure if this is going to end up being the correct thing to do here, but it's what we shipped in the Fury 2.0 binary.
better multi-monitor support
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()
Make floor-aligned model z offset behaviour in Polymost consistent with Polymer.
Fix a fuckup where I accidentally removed the color swap from gloadtile_art.
add "notrans" .def token for voxels to disable drawing with translucency in GL modes
address defect in c653ba7fc09257ed3590cd2ce29d155ef6752032
add libasync (async++), https://github.com/Amanieu/asyncplusplus/
update libdivide to b322221677351ebb11f0a42fe9a9a2794da5bfe5, add libdivide_config.h
engine: update libdivide to b322221677351ebb11f0a42fe9a9a2794da5bfe5, add libdivide_config.h
print commit hash from SDL_GetRevision() to log at startup when using SDL dev builds (odd-numbered patch level)
This is admittedly terrible, but it shouldn't break unless the SDL_GetRevision() output format changes, in which case it just won't print the string anymore.
prune SDL_mixer stuff from sdl_inc.h
We will never NEED_SDL_MIXER.
fix tabs in random.h