Build 8097
SVN-
General
polymost.cpp: fix buffer overflow issue in uploadpalswap() & correct the code to initialize an extra row of black pixels
SVN handles and Git names are merged into one person.
polymost.cpp: fix buffer overflow issue in uploadpalswap() & correct the code to initialize an extra row of black pixels
Fix warning in clip.cpp
Fix dumbass problem with A_RadiusDamage()
Fix qradarang calculation
Fix relative aligned floor/ceiling texture wiggling
Patch from Nuke.YKT.
Fix USE_OPENGL=0 builds
Fix obscure animlib bug
Fix npot sky rendering in Polymost
Patch from Nuke.YKT.
clockticks.hpp: Fix issue where higher precision comparisons would cause unexpected behaviour with game loop code due to ototalclock being incremented rather than set to totalclock (causing a lack of subtick precision and potential doubled up/dropped game updates).
Provide compareHighPrecision() for any code that needs higher precision comparisons.
Fix critical TROR map corruption bug in the editor
Patch from Nuke.YKT.
Fix SDL borderless windowed mode for real this time
Introduces r_borderless cvar. 0: never borderless, 1: always borderless, 2: borderless if resolution matches desktop resolution (default).
clockticks header fix
Fix MSVC build
Fix synthesis
kenbuild/src/game.cpp: Fix compilation issue due to removal of sqr() from pragmas.h in r7597
Change some clocks to support sub-tick precision using a new class, ClockTicks.
Using that higher precision, interpolate at a higher granularity. Further, truncate the target interpolation time to vertical blank boundaries to avoid producing temporal artifacts. Fix issues caused by interpolation calculations being handled differently in multiple places (and fix cases where smoothratios were being thrown away only to be redone without checking all proper conditions). Ensure ClockTicks changes do not break other targets (EKenBuild, VoidSW), but note any interpolation there is not similarly updated.
Fix W_GCC_9 in Common.mak
Fix mouse buttons 4 and 5 on Linux with SDL2, at least for 2.0.9 and up
VS project fixes from Striker.
Fix "bind showkeys" crash
Reduce stencil buffer size
Revert if it causes issues in anything.
Revert r8024
Fix borderless windowed fullscreen mode
timer.cpp: fix order of operations issue with timerUpdate()
Fix Y/N options with three lines
Fix the Sound and Music Volume options in a way that works for Duke too, using indentation
Fix use of wrong macros for game controller buttons in game-side input.cpp
Revert "This should be enough for SDL controller hotplug support but I haven't tested it"
This timing stuff actually works
It doesn't help when it turns out the compiler is broken and implementing std::chrono::high_resolution_clock as something that only counts in ms instead of properly aliasing it to std::chrono::steady_clock!