Build 6642
SVN-
General
Fix MSVC build breakage.
SVN handles and Git names are merged into one person.
Fix MSVC build breakage.
Temporarily revert r6633.
Fix a bug in r6587, where "statusbarcustom" was not saved in the cfg file.
Patch from Fox.
Fix overflow issue with tsprite shade of gibs.
Patch from Fox.
Revert changes made to SIDEBOLT1 in r6244.
Fix typos in r6244.
Fix some preprocessor logic errors regrading GL ES on ARM devices with desktop operating systems.
Fix more uses of lotag with values >= 32768 beyond those reported as warnings.
Fix all "truncation of constant value" warnings in MSVC due to restoring hitag/lotag to signedness.
Fix the aspect of save thumbnails in Polymost / Polymer in widescreen.
Patch from Fox.
Fix visibility in Polymer with r_usenewshading 4 and palette emulation off.
Move some visibility-related constants from Polymer "core" code elsewhere. Patch from Fox.
New userdef structure: "statusbarflags", "statusbarrange", "statusbarcustom"
"statusbarflags" is a bitfield. Values are: STATUSBAR_NONONE = 1 STATUSBAR_NOMINI = 2 STATUSBAR_NOFULL = 4 STATUSBAR_NOSHRINK = 8 STATUSBAR_NOFRAGBAR = 16 STATUSBAR_NOOVERLAY = 32 STATUSBAR_NOMODERN = 64 Default value is 8. In case you modify it, you also have to set the other status bar related userdefs in EVENT_SETDEFAULTS. Default values in EDuke32 are: screen_size = 4; statusbarmode = 1; althud = 1; "statusbarrange" is used to add more alternatives for the status bar without breaking the option in the menu. If used, the mini status bar (screen_size = 4) will cycle through "statusbarcustom" when changing the screen size. Also fix the size of the viewport when the screen is shrunk and the scale of the status bar is not 100%. Patch from Fox.
Fix current selection of episode menu when you return from the skill menu.
Revert the parts of r3159 corresponding to redefining lotag and hitag as unsigned, so that they are once again signed.
Any issues in Duke's code relating to misunderstanding these types are now restricted to Duke itself rather than changing the engine and potentially introducing new issues in all Build games.
Revert slight change to fall behavior of pickup sprites in r6500.
Fix friendly fire damage conditions in multiplayer.
Patch from Striker.
Fix breakage I introduced into CON_FOR while fixing breakage in CON_FOR. :(
Fix issues with CON_FOR
Fix corruption in filenames in new savegame system
Fix line spacing tab issue in rev 6570.
Fix a number of cases where files opened with cache1d.cpp's kopen_internal() could be leaked.
Happened to be reading a SDL doc and noticed we were creating our surface with the wrong flags
Revert a tweak made for HTTKC
Fixed file handle leak when loading a save game
Fixed race condition where XMP voices could be played by the audio driver thread before they were fully initialized or fully freed
Fix the position of the "KILLS" header and the number of deaths for each player in the frag screen.
Patch from Fox.
Fix tints with negative shades in r_usenewshading 4.
Patch from Fox.
Fix visibility in Polymer with r_usenewshading 4.
Patch from Fox.
Revert a minor change I made to EVENT_LOGO
Switch MSVC Makefile to target the VS2015.3 toolchain instead of the VS2017 toolchain, to work around a compiler bug
Fix problem where sometimes fullscreen GL modes display incorrectly. I'm not sure why this fixes it and I believe it to be a SDL bug.
Fix undefined behavior in gameexec.cpp
Fix memory leak with .ANM playback in Polymost
Fix small memory leak in OSD
Fix memory leak in MACT scriplib.cpp
Fix events added in recent commits
Fix huge memory leak with savemapstate
Fix crash issue with nested console script execution
Fix issue with non-actor sprites not being deleted at size 0
Revert r6496