Build 7940
SVN-
General
Fix sound issue
SVN handles and Git names are merged into one person.
Fix sound issue
Oops
Fix skipping to the end of def blocks
Run savegame events as myconnectindex instead of screenpeek
This doesn't really matter right now, but it's wrong.
Attempt to work around odd behavior when attempting to use stuff like wall aligned sprites with the new version of clipmove
The behavior was always "wrong" as clipmove does not handle movement of lines, just movement of clip boxes against lines and face sprite points, but the newer version of clipmove actively bounces sprites away from lines they would otherwise clip into. This was causing wall-aligned sprites that called any functions that ended up calling clipmove to get pushed away from the wall unintentionally.
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
Fix linking with SDL 2.0.10
Fix Mapster32 bug with 2d3d mode ambient sounds
Fix issue clipping against sloped ceilings
Allow MOUSEINACTIVECONDITIONAL when out of menu. Fixes left clicking screens.
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
engine.cpp: make renderSetTarget() more robust so that passing an xsiz or ysiz <= 0 is not accepted and can't cause a segmentation fault
polymer.cpp: fix issue where assert could fail due to HUD model sprites having an owner >= MAXSPRITES
polymost.cpp: Fix issue where tiles whose dimensions had grown would not have their sizes updated in GL and could fail to update their texture data
Oops
Fix crashes when passing invalid variable names to a couple of debugging commands in the console
Fix automapping not working when looking at the textured map mode
Fix warning
Fix issue with sounds being expired from cache
Fix silly branching logic in engineLoadBoard()
Emulate slope overflow in Polymost in order to match the rest of the engine's slope algorithms
Patch from Nuke.YKT.
I'm not aware of any particular issues this change fixes, but I definitely don't intend this hack to ever affect anything while the player is on the ground
Fix issue rendering TROR when the camera's z coordinate is right on the portal
Another clipping fix
Fix mixing offscreenrendering (render targets) and mirrors. Don't allow recursing beyond 1 level of mirroring through multiple levels of render targets.
Fix rendering skyboxes to a tile by altering renderSetTarget() & renderRestoreTarget() to set & reset xdim & ydim so that G_ShowView() can render while a render target is set,
and additionally modifying G_SetupCamTile() to call EVENT_DISPLAYROOMSCAMERATILE after calling renderSetTarget()
Fix bad tilepacker preprocessor definition
Fix for emerging from TROR water