Build 10161
GIT-
fix polymost masked wall regression introduced in fd598dfe12c6d0af6c65a96b4ee9450e7c1472ec
SVN handles and Git names are merged into one person.
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.
fix "twitching" of models drawn with rotatesprite when the viewangle changes in polymost and polymer
break glBufferData()/glBufferSubData() stuff out of polymost_drawpoly() and into polymost_startBufferedDrawing()/polymost_bufferVert()/polymost_finishBufferedDrawing() and use for polymost_printtext256() and polymer_drawartskyquad()
set polymer sky according to the first sector drawn per frame instead of predetermining it at map load time
This allows maps that use more than one parallax sky texture to look more correct in polymer, assuming only one type of sky is visible at once.
improve SDL 1.2 support
work around GCC 12.1 issue with RELEASE=0 builds due to xxHash specifying forced inlining after inlining has been disabled via -O0/-Og
this should fix logged messages not displaying in the console in edge cases where an exact multiple of 1024 messages were logged in between actual refreshes of the drawn console
fix mimalloc debug output
slightly less shitty engineVerbosityCallback()
limit block size alignment waste in cache1d a little bit
suppress all 0 counts from bucketlist console command output
add parameter to videoSet2dMode() to control fullscreen, like videoSetGameMode() uses
This allows fullscreen to be toggled in the editor without having to change to 3d mode first.
print display name to console when detecting video modes
only redetect video modes if the window was actually moved to a different display
invalidate stored window position when changing video mode if the combination of origin position and new window size would place the window outside the bounds of the display
add forgotten "PR" loguru verbosity label
block repeated attempts to load a particular hightile in software mode after failure
merge upstream loguru changes
add ImGui (https://github.com/ocornut/imgui/tree/docking)
Everything is hooked up to the engine and functional, but nothing in this branch is utilizing this yet.
add optional throttle parameter to engineFPSLimit() to limit the framerate to the refresh rate in menus, etc
fix bug where the desktop refresh rate was being ignored in windowed mode, always print refresh rate to console on video mode change
cap framerate to 1000 even if r_maxfps is 0
For anyone that really thinks they need more than 1000 fps, "r_maxfps -2" will revert to the previous completely unthrottled behavior.
these uses of EDUKE32_PREDICT_FALSE probably aren't helpful
remove dead OSD_FlushLog() function
q16 wallvisible()
send events to zero rumble after rumble period has elapsed
This shouldn't be necessary, but I got a report of the controller continuing to rumble indefinitely (even after terminating the game process)
templatize bitmap functions and transition direct manipulation of bitmap arrays over to use of the functions
more minor classic hightile cleanup
minor classic hightile cleanup
fix stupid bug causing controller buttons to not show up in the Duke menus
fix "-v" command line parameter
fix certain log messages not echoing to console
change polymer prprogram bit handling around a little bit
don't use strcat_s
fix kzopen() defect introduced in e28b00cec3fb6165783c0b8402f4681e8a19f607
revert part of 5ffe0d7ea85d722ee527c9f559b1e14dd78f9235
add EDUKE32_NORETURN
fix USE_OPENGL=0 builds
only load SDL game controller DB after actually detecting a controller