October 2019
-
General
Add mus_adlibstereo cvar to enable and disable AdLib stereo mode
-
General
Add a cvar array for audiolib
-
General
Further small midi cleanup changes--nothing functional
-
General
Further AdLib cleanup... leaving this in a separate commit in case I fucked something up
-
General
Further audiolib work... I think this is almost done!
-
General
More audiolib work
-
General
Sort lists of things in the makefile
Show details
I'm not gonna lie, I got some kind of weird OCD pleasure out of this.
-
General
Audiolib rework WIP
Show details
This attempts to rectify the differences between versions of JFAudiolib created after we forked the code, and the extra features contained in Nuke.YKT's fork of our version.
-
General
New files for audiolib
Show details
This is in a separate commit just to make the changes to existing files easier to go through.
-
General
Use SDL audiolib driver on Windows
Show details
This shitcans the SDL_mixer requirement but leaves platforms other than Windows without built-in MIDI playback capability until Nuke.YKT's OPL3 emulator is merged. This also reworks sdlmusic.cpp into music_external.cpp, including an untested port of the code to Windows.
-
General
Misc audiolib cleanups
-
General
Add snd_tryformats cvar to disable automatic loading of .ogg and .flac versions of sound and music
-
General
With MinGW GCC, you get a different __cpuid() depending on whether or not you include cpuid.h. That is strange.
Show details
This fixes sysReadCPUID() to work on more than just Windows.
-
General
Add -Wno-deprecated-declarations to the warnings for GCC 9 and up
-
General
Remove Android.mk
-
General
Fix tiny header issue
-
General
Don't try videoSetGameMode() if there aren't any valid modes
-
General
Patch from Nuke.YKT to fix polygon leakage issue with NPOT skies in Polymost
-
General
Bump default cache1d size to 128MB in the editor and add support for the cachesize def token
-
General
cache1d rework
Show details
This turns cache1d into a reusable class that can be used to implement multiple caches for different types of data. Also adds a "cacheinfo" console command that prints out some statistics about the cache.
-
General
Move DEBUG_ALLOCACHE_AS_MALLOC crap to the bottom of cache1d.cpp instead of having preprocessor garbage in every function
-
General
This seems like it should be allocated permanently (value 255) instead of merely marked as locked (value 200)
Show details
There doesn't seem to be any functionality implemented to re-load voxels if they're removed from the cache, and blocks marked as locked can still be pushed out of the cache if the cache is full and a large allocation won't fit anywhere else.
-
General
Better cache1d enums plus some general cache1d maintenance
Show details
Renamed variables, added usage of said enums, etc.
-
General
Speed up G_ReadGLFrame() by just grabbing a chunk of memory from cache1d instead of doing a huge malloc()
-
General
Separate the filesystem portion of cache1d.cpp and move it into vfs.cpp
Show details
Yes, the engine tools (kextract, etc) still compile.
-
General
Fix misplaced files in VS solution filters
-
pull memory for vorbis_data struct from cache1d
Show details
This gets rid of one calloc() and free() per vorbis voice playback, and most of the time allows reuse of the block from cache1d across multiple uses of the VoiceNode.
-
General
Add CACHE1D_ENTRY_FREE and CACHE1D_ENTRY_PERMANENT enums
-
General
Wait to run G_MoveLoop() until a frame has just been rendered
Show details
This should give G_MoveLoop() a better chance to not run past the time when another frame is to be drawn.
-
General
Silence a warning
-
General
Replace usages of deprecated LZ4_decompress_fast() API with LZ4_decompress_safe() as recommended by current LZ4 documentation
-
General
Add #pragma once to debugbreak.h and remove it from separate inclusion in a couple of translation units as we're including it directly in compat.h now
-
General
Add fatal_exit(), a slightly different method of terminating the process upon error
Show details
On Windows, this writes an event to the system event log for later retrieval.
-
General
Use EXIT_FAILURE and EXIT_SUCCESS from stdlib.h when calling exit()
-
General
Use zpl_virtual_memory_page_size() to implement our Bgetpagesize()
-
General
Make Bgetsysmemsize() return size_t
-
General
Use zpl_vm (backed by VirtualAlloc or mmap) for larger memory chunks
-
General
Update LZ4 to e8baeca51ef2003d6c9ec21c32f1563fef1065b9
-
General
Update xxHash to 1ea98d6a38300f7224869de856a876a2050cdf78
-
General
Add const to dest parameter of MV_Reverb()
-
General
Use templates for audiolib mixing functions
Show details
Patch from NY00123.
-
General
This lets sys_timer mode 4 (rdtsc) work on ARM
Show details
...probably
-
General
Fix issue with crouch toggle and jetpack
-
General
Explicitly yield audio data fill thread when work is finished
-
General
Add portions of the ZPL library, a public domain collection of useful helper functions and structures
Show details
See https://github.com/zpl-c/zpl I'm not including all of it, but I have plans for some of what is there.
-
General
Remove limit of MAXCACHEOBJECTS in favor of dynamic allocation/expansion of the cache index
Show details
Somewhat based on a patch from Doom64hunter.
-
General
Make the lock ptr the first member of the cactype struct as it's the most accessed
-
General
These changes are on top of the enet.h from the previous commit and are what I needed to build under MSYS2 without warnings or errors
-
General
Swap out our old deprecated version of ENet for a single-file header-based fork, including features like IPv6 support
-
General
Significant reworks to everything in winbits.cpp
Show details
Important cvars after this commit: sys_timer win_systemtimermode win_priorityclass