Build 9449
GIT-
fix warnings introduced by e0ee1bfe
SVN handles and Git names are merged into one person.
fix warnings introduced by e0ee1bfe
fix Polymer rotatesprite texture clamping
fix Discord streaming issue
add missing check for r_useindexedcolortextures cvar in polymost_usetileshades()
fix usage of GrowArray for osdstrings
fix allocator mismatch in GrowArray
fix sloped sprite drawing error
bump MAXYDIM to 4320 and fix two marginally related assertions in dorotatesprite()
Note that MAXXDIM and MAXYDIM only really control which video modes will be added to the list of available modes found in the startup window and in-game menu, and that the engine itself hasn't had an arbitrary limit imposed on which resolutions are actually supported for a while now.
fix backwards EDUKE32_NO_XINPUT getenv check...
fix clipping issue where the player could get squished between a 2-sided blocking wall sprite and a wall in rare instances
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
fix unbalanced begindrawing()/enddrawing() pair in printext16().
stricter map load time checking for sprites with oob sectnums.
Sprites are now considered to have out of bounds sector numbers if it is < 0 or >= numsectors (not merely >= MAXSECTORS). If such a sprite is now encountered during post-load, an attempt is made first to assign it a sector number (using updatesector()). If that fails, the sprite is removed from the map. The background is that a dozen of maps do come with such sprites and could previously corrupt the sprite list when loaded.