Build 7317
SVN-
Generale
Fix issue with definegamefuncname and undefinegamefunc
Nickname SVN e nomi Git sono unificati per persona.
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.
Fix missing/invalid palswaps and shades in automap with Polymost
Patch from Nuke.YKT.
Add EVENT_DISPLAYROOMSCAMERATILE
Make the gamma slider move in increments of 0.05 instead of 0.1
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