Build 9253
GIT-
experimental TROR rendering fixes
SVN handles and Git names are merged into one person.
experimental TROR rendering fixes
fix TROR rendering glitch in polymost when camera Z is outside of sector boundaries
Implement tileflags member of picanm, and added support for new flag: TILEFLAGS_TRUENPOT, that allows you to enable true non-power-of-two texture support per-tile.
(Fixes classic's buggy tiling and panning behaviour and bypasses the emulation of it in Polymost)
fixes for including compat.h in a C program built with MSVC
I needed to change the weird VS workaround in order for the EDUKE32_STATIC_ASSERT on line 850 to succeed. Things seemed OK when I tested them, but I'd like more information on the suspected compiler bug in question and why this was necessary in the first place.
Apply pogokeen's fix for hightile texture seams in polymost.
fix microprofile warnings
Some of these fixes aren't optimal, but I'm not exactly looking to make heavy changes here.
add microprofile (https://github.com/zeux/microprofile)
Build with "make MICROPROFILE=1" and browse to http://localhost:1338 to use. A pass over it to fix warnings will probably be in a future commit.
fix function signatures of ksqrtasm_old() and clip_nsqrtasm()
These functions were specified as accepting int32_t values, but wrap functions (or are wrapped by functions) that take uint32_t.
fix sprite rendering order in polymost
fix compiler warnings
potentially improve dealing with corrupt .md2/.md3 models
I didn't test any actual corrupt models, just noticed the lack of any error checking when looking at something else.
fix rev.cpp so it works properly outside of builds on Windows
fix winlayer wm_setapptitle() to deal with being passed a pointer to apptitle[]
change calcFrameDelay() to no longer reduce the frame limit by 1 fps per 60Hz of refresh rate with r_maxfps -1
This worked fine with G-SYNC displays, but I guess it sucked for regular 60Hz setups for some people. This should be tested for regressions...
fix sprite sorting issue that caused broken voxel rendering in polymost
fix poorly written time comparison in vsync handling
This only affected KMT mode, and only on certain system configurations.
Fix -Wunused-parameter warnings