Build 7138
SVN-
General
Fix a big fail in my implementation of CON_DIVR and CON_DIVRU.
SVN handles and Git names are merged into one person.
Fix a big fail in my implementation of CON_DIVR and CON_DIVRU.
Fix -Wformat-overflow warnings
Fix warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct menusave_t'; use assignment or value-initialization instead [-Wclass-memaccess]
Fix warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
Fix variable capitalization in Dependencies.mak files
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.
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
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 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.
Fix build
Fix MSVC build
Fix horizoff with q16. This solve the problem with horiz returning to center after standing on a sloped floor.
Patch from Fox.
Fix smoothness of q16 mouse aiming
xa.cpp: Fix the crackling noise.
Fix save deletion in the load menu not closing the verification prompt appropriately.
While here, also fix the formatting of the save cleanup verification prompt to center vertically since the message was expanded to 3 lines.
Fix "setvarvar: Gv_GetVarX(): invalid player ID -1" message for certain userdef accesses
Fix "too many sprites spawned" check
1. Fix translucency in the mouse cursor.
2. In "EVENT_DISPLAYCROSSHAIR" and "EVENT_DISPLAYCURSOR", make "userdef[].return" 1 and 2 return the coordinates, and 3 the alpha ("EVENT_DISPLAYCURSOR" only). 3. New event "EVENT_DISPLAYPOINTER" Similar to "EVENT_DISPLAYCURSOR", it is used to display the pointer that controls the aiming in Wii. "RETURN" / "userdef[].return" work in the same way as "EVENT_DISPLAYCURSOR". Patch from Fox.
Fix the position of the notch when scaling the slidebar with the mouse.
Patch from Fox.
Fix whitespace issues
Fix the interaction between starttrack and toggling music off.
Fix autoaim getting overwritten on load by whatever it was when the save was created.
Fix typo in collections.h. DONT_BUILD
Some screentext fixes (that don't affect CON scripts)
Fix the definetint def token, broken in r6557.