Build 10396
GIT-
Clean up voxflags[] a little bit
-
Fix voxel visibility rolloff in classic mode to match sprites
Show details
TODO: Polymost
SVN handles and Git names are merged into one person.
Clean up voxflags[] a little bit
Fix voxel visibility rolloff in classic mode to match sprites
TODO: Polymost
Fix logic oversights in 6e6b82d4cc9a0434d1ff7a122ae267c3b0e7b21e
Factor out tspr->clipdist accesses into local variable tsprflags
Enumify uses of CSTAT_SPRITE_ALIGNMENT (cosmetic cleanup)
Fix assertion in get_floorspr_center with regard to sloped sprites
Move alpha==255 check up in dorotatesprite.
Skip screentextRender() if provided zoom smaller or equal zero
This fixes a division by zero crash if zoom == 0.
Fix ordering issues with rotatesprite interpolation that were causing insane jitter and pacing issues.
Bugfix polymost1Frag.glsl
Return from mi_log if msg is null or contains only a newline
Add buildgl_uLookAt to glbuild.h
Add USE_OPENGL guard around fullscreen_tint_gl() declaration
add a few rotatesprite flags for fine control of interpolation.
Initialize mysock in mmulti.cpp with INVALID_SOCKET
Replace all instances of strtok() with Bstrtoken()
Because this function stores state statically, using it in a loop with NULL as argument can result in unexpected behavior when another function in the loop invokes strtok() with a different buffer as argument.
Only poll glGetGraphicsReset() once every 100ms in handleevents()
This call acted as a bottleneck, significantly reducing the framerate on E1L1 of Duke3D as the status was being polled every single time handleevents() was called.
Fix cstat parameter in "classicDrawVoxel()" being int8_t instead of int16_t
Also fix an error log message in engine.cpp logging the wrong variable.
Fix parameter in "polymost_drawtilescreen" being called "wallnum" instead of "tilenum"
Reduce EXTRATILES from 3840 to 1792 (= 32512 - MAXTILES)
Previously, MAXTILES+EXTRATILES went above the highest possible 16 bit integer value of 32767, which is the datatype used to store tilenums.
uspriteptr_t in spriteGetSlope()/spriteGetZOfSlope()
remove unneeded assert
make FATAL and ERROR level log messages purposefully screw up the log formatting a little bit so they stand out more
CONSTEXPR nextPow2
fix warning
odd-numbered SDL patch levels aren't dev snapshots anymore
move tile size check in maskwallscan() to occur after the call to setgotpic() like the rest of the drawing functions
fix bugged hightile skyboxes in polymer when artmapping is enabled
bump MAXSPRITESONSCREEN to 4096, add r_maxspritesonscreen cvar, improve handling of cutoff
update ImGui to 9e30fb0ec1b44dc1b041db6bdd53b130b2a18509
in "draw tsprite before mask?" check, consider tile offsets for sloped sprites.
In 'GetCornerPoints()', fix condition for when to use 'get_floorspr_points()' to include sloped sprites as well.
in "draw tsprite before mask?" check, consider offsets for floor sprites.
If 8-bpp mode couldn't be initialized using GL, retry without GL (sdlayer.cpp).
findfrompath() with empty filename immediately returns -1
Fixes a bug where an empty filename is interpreted as the current directory "./", which of course always exists.
Use AppTechnicalName instead of AppProperName for log filename
fix polymost masked wall regression introduced in fd598dfe12c6d0af6c65a96b4ee9450e7c1472ec
revert more of 8cc49790938f2419c885167cdb6b732d165191fb
bail out of voxcache_fetchvoxmodel() if the offsets found in texturecache.index don't lead to the expected data
disable the rainbow background in the editor in yax_drawrooms()
don't attempt to tear down ImGui in destroy_window_resources() if we didn't even make it far enough through initialization to get it set up
fix vox2poly crash caused by part of 8cc49790938f2419c885167cdb6b732d165191fb
This worked with all of the voxels I tested it with, but caused issues with some in Alien Armageddon.
fix polymost crash
fix warning
fix a couple of Windows API error messages to match the others
enable mimalloc abandoned_page_reset option and call mi_collect() during enginePrepareLoadBoard()
rework win_systemtimermode stuff, enable by default
remove precompiled SDL2 and libvpx for Windows on ARM64
The rationale here is that it's better to provide the build instructions for these libraries (as we already do) with no binary than it is to provide outdated binaries that don't actually match the provided headers anymore.