Novembre 2019
-
Generale
Disable xxhash's xxh3 because we don't use it and it generates the following annoying warning on 32-bit:
Mostra dettagli
In file included from source/build/src/xxhash.c:1105: source/build/include/xxh3.h:279:41: warning: SSE instruction set disabled, using 387 arithmetics 279 | XXH_mult64to128(xxh_u64 lhs, xxh_u64 rhs) | ^ source/build/include/xxh3.h:393:44: warning: SSE instruction set disabled, using 387 arithmetics 393 | XXH3_mul128_fold64(xxh_u64 lhs, xxh_u64 rhs) | ^
-
Sanitize all uses of wall.nextwall to prevent OOBs
-
Minor cleanup
-
Fix a bug with mouse cursor position in the keyboard keys menu
-
Generale
Sort mutex.cpp by preference of implementation and replace Win32 Mutex with CriticalSection
-
Generale
Add mesa_glthread=true to our automatically enabled threaded optimizations
-
Fix scrollbar tile clipping
Mostra dettagli
Patch from Nuke.YKT.
-
Fix slidebar touch control accuracy
Mostra dettagli
Patch from Nuke.YKT.
-
Generale
Fix buffer overflow in getclosestcol_lim
Mostra dettagli
Patch from Nuke.YKT.
-
Generale
Fix tautological comparison in savegame.cpp
-
Fix Mac and Linux compilation of common.cpp
-
Generale
Templatize the branchless negation method used for GV_FLAG_NEGATIVE
-
Fix "MV_GetVoice(): bad handle" log spam
-
Fix widescreen flickering in end of level screen
-
Allow the Run key to Walk when AutoRun is enabled
-
Fix non-debug builds on Windows
-
Update the port credits
Mostra dettagli
Still far from perfect.
-
Copy the sln==1 GetUpperLowerSector case from the editor to the game
Mostra dettagli
This avoids upper and lower remaining unmodified. Sector 469 in Seppuku Station causes it!
-
Improve the modern key defaults
-
Stop looking for install paths when we find one that works
Mostra dettagli
This is because the OGGs included with the 3D Realms Anthology are terrible quality.
-
Fix keyboard input
-
Avoid an OOB in GetUpperLowerSector
-
Add DBGLEVEL so I can set it to 3 and get macros in my symbols
-
Fix an assertion failure in palette changing code
-
Fix OOB access when viewing a mirror
-
Fix mouse aiming
-
Fix crash if -map is the last parameter
-
Generale
Fix the ifcrc token: 0 is a valid CRC32 result!
-
Fix enough OOBs to get in-game
-
Fix playing track 0 when entering the sound settings
-
Fix input in menus
-
Generale
cpuid.cpp: Apply another fix for Mingw-w64 builds
-
Generale
Use fix16_t instead of float for MV volume control. This is otherwise still doing calculations as brought into r7773 from Nuke.YKT.
-
Generale
Add fix16_fast_trunc_mul and fix16_fast_trunc_mul_int_by_fix16
-
Remove assignment of volume, leave it for MV_SetVoiceVolume
-
Generale
Fix HAVE_FLAC=0 HAVE_VORBIS=0 builds
-
Generale
Fail. Note to self: Use the correct variable.
-
Generale
Add GOG Linux path detection
Mostra dettagli
Thanks to Jan200101 for showing how to do this.
-
Generale
Clean up Linux/Mac Steam path detection
-
Generale
Update .gitignore
-
Generale
SW, KenBuild: Replace strupr with Bstrupr
-
Replace UCHAR with unsigned char
-
Replace MAXLONG with INT32_MAX
-
Generale
Move audiolib's drivers.h from include to src
-
Fix unused global variables
-
Generale
Replace zpl_*fence in RDTSC code
Mostra dettagli
The Windows definitions of zpl_*fence contain an error: _Read/WriteBarrier apply only to the compiler, not the processor. This commit improves the portability and correctness of the serialization taking place before RDTSC.
-
Generale
Replace zpl_yield_thread in DirectSound driver
Mostra dettagli
The PAUSE instruction it issues on x86 tells hyperthreading processors to deprioritize the current instruction stream and is often used for spinlocks. The Apple implementation is erroneous: a compiler-level memory fence that compiles to nothing. Replace it with SwitchToYield, which tells the OS to context switch, as intended.
-
Generale
Remove -Wno-deprecated-declarations
Mostra dettagli
Passing this in for the entire build process is dangerous. If a deprecated declaration can't be fixed, use pragmas to silence it specifically.
-
Generale
Remove manual calls to uninitsystem because it is passed to atexit() and can cause double-frees.
-
Generale
Use exit, not Bexit, if not an error termination
Mostra dettagli
Bexit is ONLY for errors. Otherwise, in debug builds OSD_Printf tries to print Bexit's debug info to a closed osdlog.