Build 6916
SVN-
General
astub.cpp: fix issue where globalpal was not declared if polymost.h was not included
SVN handles and Git names are merged into one person.
astub.cpp: fix issue where globalpal was not declared if polymost.h was not included
Fix conveyor belt speed in IM, but not Duke because it breaks gameplay
Fix issues with running the game fullscreen on Windows 10 with high DPI setups
Fix SFLAG_WAKEUPBADGUYS
engine.cpp: fix issue introduced in r6905 where voxels with fractional scaling would not be handled correctly in Polymost
tiles.cpp: fix texcache.cpp:CLEAR_GL_ERRORS() hang on some drivers when trying to create GL textures for tiles when we have no GL context.
This could occur when returning to 2D mode from 3D mode in Mapster32 as videoSet2DMode() does not affect the result of videoGetRenderMode() despite destroying the GL context.
engine.cpp: fix issue with voxmodel_t voxels not having their scale set properly due to defs being processed before PolymostProcessVoxels()
engine.cpp: fix classicDrawVoxel() positioning bugs by:
+avoid adding the pivot's z offset again after it was already added in classicDrawSprite() +offset the voxel object by half of the voxel object's z size
Fix two regressions completely breaking the correctness of the copy command, introduced in r6343.
Fix the vertical position of the level stats when using the original mini-HUD.
Patch from Fox.
make setting a sector's .wallptr call setfirstwall() instead of setting it directly and corrupting the map
Revert r6526 and r6527. This restores the longstanding behavior of the killit command, and setting sprites' xrepeat to zero, to not actually delete sprites unless their statnum is STAT_ACTOR or STAT_MISC. Be sure to set a sprite's statnum to one of these statnums if you want it to be deleted.
This should fix the broken E1L1 sector warp in the existing release of the Duke 64 mod, and the Polymer light culling used in HHR.
Fix MIDI playback on non-Windows platforms
polymost_drawpoly(): fix issue where mirrors wouldn't update the depth buffer
engine.cpp/.h: clean up & fix lintersect(). Additionally, add support for finding intersections of collinear line segments.
polymost_bindPth(): Fix issue where non-indexed colour, non-hightile textures (including those with polytintflags HICTINT_USEONART or HICTINT_ALWAYSUSEART) would not render correctly while r_useindexedcolortextures is set.
Revert r6870
Disable S_ClearSoundLocks, preventing sounds from being marking purgable, and causing them to get prematurely evicted.
This fixes the absent sound issues in WWII GI.
WWII GI: Remove the hack/approximation for the bazooka display code because one of the general weapon system fixes made it work incorrectly, and also made a direct port of the original code work correctly. Accuracy FTW!
Fix some printf warnings.
WWII GI: Fix the chaingun replacement to always reload even if you continue holding down fire.
WWII GI: Fix the chaingun replacement to not fire in bursts of 3 per fire button press.
WWII GI: Fix mistakes in our version of the weapon display code.
Fix some inaccuracies to the released versions of NAM and WWII GI.
*Both: Reload frame display for weapon 1 *WW2GI: Some effect bits for changes in ammo amount of weapon 11 in the status bar Thanks to NY00123 for detailed comparisons of the released source code to the original binaries!
Fix Mapster32 bug where sometimes you'd get two points instead of one when pressing enter to insert points where the lines intersect with the wall drawing tool
macOS build fix
Fix warning
Fix a couple of warnings in the new versions of LZ4 and Miniz
Oops, I made a fuck
MSVC warning fix
Fix a bunch of off-by-one errors in the sound system, made apparent by a change to some related code.
Fix NORM_(SPRITE|WALL|SECTOR) macros to use MAX$1 instead of ARRAY_SIZE, which would fail due to the structs not being statically allocated.
Patch prepared by Striker.