Build 7326
SVN-
fix use of uninitialized values
-
General
Fix a couple minor issues with 90 degree wall texture rotation
SVN handles and Git names are merged into one person.
fix use of uninitialized values
Fix a couple minor issues with 90 degree wall texture rotation
Add mousebits gamevar to m32script for querying mouse button states
Fix issue where a useless error would be printed to the log and bad memory reads could occur when compiling a CON script with an invalid structure member passed as gamevar structure access shortcut shorthand
screentext alignment patch from Fox
rotatesprite hack from Fox
CON access to raw q16 values for player horiz and ang etc
Work around weird issue with Bgetsysmemsize() that occurs on exactly one system we've tested
Revert "SDL 2.0.9"
Fix issue with definegamefuncname and undefinegamefunc
Add error message for SDL_SetGammaRamp() failures in videoSetGamma()
Add C as a secondary binding for crouch and remove the mouse look and crosshair toggles from the default key bindings--they can still be bound manually if desired.
add wall point delete hotkey. Press shift+delete or the d key in 2d mode to delete a wall point without dragging it.
Add mutex to protect against S_Callback() being called from more than one thread at the same time
I honestly can't remember why I wrote this like this, but it's problematic so I'm changing it.
Make the time period between averaging the min and max values shown with r_showfps 2+ user configurable with r_showfpsperiod
Create new MV_CleanupVoice() function to handle most of what was in MV_StopVoice() plus the MV_CallBackFunc() functionality
Slightly revise multivoc locking logic
Fix an infinite loop in S_StopEnvSound() that could occur if the audio thread happened to finish playing a voice in between checking if g_sounds[].voices[].id > FX_Ok and calling FX_StopSound(), exacerbated by improper std::atomic usage
Re-add something I didn't intend to remove with r7297
Remove 'none' as an option for the frame limiter in the menu and fix a bug with the slider for the offset
Re-enable -fno-strict-aliasing because apparently many versions of GCC across many platforms are still producing warning spew without it
MSVC build fix
Fix NETCODE_DISABLED builds. We should probably rename Net_GetPackets() to something else, because it does other required things.
Fix loading screen tile
Fix issue where the option to enable or disable Polymer wasn't being saved properly
Fix issue where the player's pistol isn't removed when they spawn on HURTRAIL/FLOORSLIME/FLOORPLASMA
macOS build fix. DONT_BUILD.
Revert "engine.cpp/.h: clean up & fix lintersect(). Additionally, add support for finding intersections of collinear line segments."
This reverts r6886.
Fix issue with editor not allowing wall and floor aligned sprites to be resized in 2d mode without textured view mode enabled
This should fix the too many sprites spawned issue in single player
Expand the list of options available for the framerate limiter, and add a separate option that controls an offset added to the limiter. This should allow the menu to cover all of the important use cases involving G-SYNC, FreeSync, and "Fast Sync".
Fix net.cpp line endings
Slight cleanup to MV_GetVorbisCommentLoops(). The biggest change here is swapping calls to atol to our Batol macro, which is actually backed by strtol instead of atol.
Hendricks and I discussed "auto *" and we've come to the conclusion that it's bad form, so this corrects that.
Reduce vorbis read block size from 32k to MV_MIXBUFFERSIZE. Despite requiring more calls into libvorbis, this should be faster on slower CPUs in cases where more copies of the same .ogg sound are attempting to be played at once than are allowed, e.g large explosion scenes in Ion Maiden.
I don't see a reason for these operations to be separated
Fix function that some sadist formatted with 3 spaces
macOS build fix
Fix oversight with wall texture rotation on tile 0
Fix issue with a couple symbols from cmdline.h sometimes picking up different linkage due to accidental double definition in game.h
CON syntax extension: the empty "[]" shortcut for accessing a struct at index THISACTOR can now be omitted.
This allows cleaner syntax such as "geta .x temp", "ife sprite.x temp", etc.
Add unsigned access to actor .htmovflag through actor .htumovflag
Misc CON fixups
Further clean up C_SetScriptSize(). This also fixes a bug in the function where when expanding the buffer size, most of the extra space was left uninitialized due to bad parameters passed to memset().
Clean up A_InsertSprite() and the beginning of A_Spawn()