Build 7941
SVN-
General
sounds.cpp: fix infinite loop caused by removal of "else" in r7939
SVN handles and Git names are merged into one person.
sounds.cpp: fix infinite loop caused by removal of "else" in r7939
Fix sound issue
Oops
Fix skipping to the end of def blocks
M-M-M-MUTEX MADNESS
Remove lockclock from mapstates
Improve frame limiter logic
Run savegame events as myconnectindex instead of screenpeek
This doesn't really matter right now, but it's wrong.
Happier try_facespr_intersect()
I'm prejudiced against 30-line functions with statements nested 5 levels deep.
newgamechoices
Fix issue with indexed colour textures where in the case that tiles entered the texcache while !waloff[picnum] & were later (re)loaded, the earlier pth pointing to the tilesheet containing the blank tile would never be properly replaced with an updated gl texture.
Revert r7908 because it introduces a race on dabuf
Fix build error
Change audiolib's SDL driver's mutex stuff to use our implementation
Tiny error message cleanup
save name in exts
Add fallthrough__ in gameexec
Reverse the order video modes are sorted in
Tweak the fatal engine initialization error and game already running dialog boxes a bit
Fix linking with SDL 2.0.10
SDL 2.0.10
Audiolib housekeeping
Use a LUT instead of a switch to handle choosing which audiolib mixer function to use for a voice
Polymost projection changes to correct the perspective in widescreen and ultrawide resolutions.
Patch from Nuke.YKT and Fox.
Sound cleanups
New feature: combine SF_GLOBAL and SF_DTAG definesound flags to get Duke3D explosion sound behavior
Tweak map start message printed to the log
ext updates
game.cpp: move check for quitevent during start-up so that if start-up is cancelled during definitions parsing, the game won't continue to play in a half-loaded state.
Allow MOUSEINACTIVECONDITIONAL when out of menu. Fixes left clicking screens.
Add CONTROL_ClearAllButtons
Remove RTS names from standalone builds
definecheatdescription
Move cheat descriptions from menus.cpp to cheats.cpp
Add I_GeneralTrigger as a combination of Advance and Return and use it for skipping screens so that Esc works.
gameexec.cpp: allow G_ShowView() to execute regardless of the state of g_screenCapture.
This fixes skyboxes not rendering in TILE_SAVESHOT.
tiles.cpp: backup & restore picsiz, walock, & waloff alongside other per tile arrays in artClearMapArt() and artSetupMapArt()
This fixes an issue with viewscreens as tiles that are setup game-side after a map is loaded could have their sizes reset to 0 while not being properly cleared from walock/waloff
sector.cpp: ensure that if scripts have told us not to render normally to the tile, that we still handle restoring our target & setting up the tile appropriately for what the script may have rendered
engine.cpp: make renderSetTarget() more robust so that passing an xsiz or ysiz <= 0 is not accepted and can't cause a segmentation fault