Ottobre 2019
-
Generale
Add mus_adlibstereo cvar to enable and disable AdLib stereo mode
-
Generale
Add a cvar array for audiolib
-
Generale
Further small midi cleanup changes--nothing functional
-
Generale
Further AdLib cleanup... leaving this in a separate commit in case I fucked something up
-
Generale
Further audiolib work... I think this is almost done!
-
Generale
More audiolib work
-
Generale
Sort lists of things in the makefile
Mostra dettagli
I'm not gonna lie, I got some kind of weird OCD pleasure out of this.
-
Generale
Audiolib rework WIP
Mostra dettagli
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.
-
Generale
New files for audiolib
Mostra dettagli
This is in a separate commit just to make the changes to existing files easier to go through.
-
Generale
Use SDL audiolib driver on Windows
Mostra dettagli
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.
-
Generale
Misc audiolib cleanups
-
Generale
Add snd_tryformats cvar to disable automatic loading of .ogg and .flac versions of sound and music
-
Generale
With MinGW GCC, you get a different __cpuid() depending on whether or not you include cpuid.h. That is strange.
Mostra dettagli
This fixes sysReadCPUID() to work on more than just Windows.
-
Generale
Add -Wno-deprecated-declarations to the warnings for GCC 9 and up
-
Generale
Remove Android.mk
-
Generale
Fix tiny header issue
-
Generale
Don't try videoSetGameMode() if there aren't any valid modes
-
Generale
Patch from Nuke.YKT to fix polygon leakage issue with NPOT skies in Polymost
-
Generale
Bump default cache1d size to 128MB in the editor and add support for the cachesize def token
-
Generale
cache1d rework
Mostra dettagli
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.
-
Generale
Move DEBUG_ALLOCACHE_AS_MALLOC crap to the bottom of cache1d.cpp instead of having preprocessor garbage in every function
-
Generale
This seems like it should be allocated permanently (value 255) instead of merely marked as locked (value 200)
Mostra dettagli
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.
-
Generale
Better cache1d enums plus some general cache1d maintenance
Mostra dettagli
Renamed variables, added usage of said enums, etc.
-
Generale
Speed up G_ReadGLFrame() by just grabbing a chunk of memory from cache1d instead of doing a huge malloc()
-
Generale
Separate the filesystem portion of cache1d.cpp and move it into vfs.cpp
Mostra dettagli
Yes, the engine tools (kextract, etc) still compile.
-
Generale
Fix misplaced files in VS solution filters
-
pull memory for vorbis_data struct from cache1d
Mostra dettagli
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.
-
Generale
Add CACHE1D_ENTRY_FREE and CACHE1D_ENTRY_PERMANENT enums
-
Generale
Wait to run G_MoveLoop() until a frame has just been rendered
Mostra dettagli
This should give G_MoveLoop() a better chance to not run past the time when another frame is to be drawn.
-
Generale
Silence a warning
-
Generale
Replace usages of deprecated LZ4_decompress_fast() API with LZ4_decompress_safe() as recommended by current LZ4 documentation
-
Generale
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
-
Generale
Add fatal_exit(), a slightly different method of terminating the process upon error
Mostra dettagli
On Windows, this writes an event to the system event log for later retrieval.
-
Generale
Use EXIT_FAILURE and EXIT_SUCCESS from stdlib.h when calling exit()
-
Generale
Use zpl_virtual_memory_page_size() to implement our Bgetpagesize()
-
Generale
Make Bgetsysmemsize() return size_t
-
Generale
Use zpl_vm (backed by VirtualAlloc or mmap) for larger memory chunks
-
Generale
Update LZ4 to e8baeca51ef2003d6c9ec21c32f1563fef1065b9
-
Generale
Update xxHash to 1ea98d6a38300f7224869de856a876a2050cdf78
-
Generale
Add const to dest parameter of MV_Reverb()
-
Generale
Use templates for audiolib mixing functions
Mostra dettagli
Patch from NY00123.
-
Generale
This lets sys_timer mode 4 (rdtsc) work on ARM
Mostra dettagli
...probably
-
Generale
Fix issue with crouch toggle and jetpack
-
Generale
Explicitly yield audio data fill thread when work is finished
-
Generale
Add portions of the ZPL library, a public domain collection of useful helper functions and structures
Mostra dettagli
See https://github.com/zpl-c/zpl I'm not including all of it, but I have plans for some of what is there.
-
Generale
Remove limit of MAXCACHEOBJECTS in favor of dynamic allocation/expansion of the cache index
Mostra dettagli
Somewhat based on a patch from Doom64hunter.
-
Generale
Make the lock ptr the first member of the cactype struct as it's the most accessed
-
Generale
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
-
Generale
Swap out our old deprecated version of ENet for a single-file header-based fork, including features like IPv6 support
-
Generale
Significant reworks to everything in winbits.cpp
Mostra dettagli
Important cvars after this commit: sys_timer win_systemtimermode win_priorityclass