Removed per-platform clients (wgl/glx/agl) - now only SDL2 client exists. Removed dedicated server from VS2017 projects - it's not really needed. Removed cd_sdl.c since SDL1.2 support is not maintained, and the SDL2 code path in it is equivalent to cd_null.c as SDL2 does not support controlling cd audio playback - also removed cd_null.c and the corresponding code in cd_shared.c, which now only uses faketrack mode. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12422 d7cf8633-e32d-0410-b094-e92efae38249
improved include order to fix some compile errors using mingw g++ git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10384 d7cf8633-e32d-0410-b094-e92efae38249
changed r_speeds labels again, less csqc monitoring and more consistent label order from frame to frame git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10027 d7cf8633-e32d-0410-b094-e92efae38249
changed a ton of developer cvar checks into developer_extra/insane checks, or simply Con_DPrintf calls made developer a saved cvar git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9703 d7cf8633-e32d-0410-b094-e92efae38249
an attempt to fix waveOut sound on Vista added snd_wav_partitionsize cvar (default 1024) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9560 d7cf8633-e32d-0410-b094-e92efae38249
snd_alsa: MIDI input support! MIDI events get mapped to MIDINOTE<n> events (n = 0 to 127) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9232 d7cf8633-e32d-0410-b094-e92efae38249
fix more C++ warnings/errors in MSVC git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9204 d7cf8633-e32d-0410-b094-e92efae38249
clean up a couple warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8237 d7cf8633-e32d-0410-b094-e92efae38249
go back to block counting, looks like we now know what's broken with waveOut git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8207 d7cf8633-e32d-0410-b094-e92efae38249
added WAV_BUFFERTIME setting of 0.125 (used to be 0.5) reduced WAV_BUFFERS from 64 to 16 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8201 d7cf8633-e32d-0410-b094-e92efae38249
try using waveOutGetPosition instead of block counting (revert or #ifdef this if it breaks anything) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8200 d7cf8633-e32d-0410-b094-e92efae38249
fix MMSYSERRR_STILLPLAYING handling to not increment snd_sent git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8199 d7cf8633-e32d-0410-b094-e92efae38249
only go ahead if WAVERR_STILLPLAYING is encountered, other errors are fatal to the sound system again. TODO: handle WAVERR_STILLPLAYING in a better way (like, clearing the buffer?) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8198 d7cf8633-e32d-0410-b094-e92efae38249
made waveOutWrite overrun a non-fatal (if spammy) warning, and only with developer 1000 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8197 d7cf8633-e32d-0410-b094-e92efae38249
added #ifdef SUPPORTDIRECTX checks around all the dinput and dsound code - this means that dinput and dsound is not removed but is disabled, making it easier to compile with Dev-C++ and stock MSVS, this may have bad consequences (some people swear by -dinput, and dsound was used by default unless -wavonly was specified, so this is a behavior change) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8118 d7cf8633-e32d-0410-b094-e92efae38249
huge audit of dprints throughout engine, all notices of successfully loading models/sounds/skins/etc are now tied to the cvar developer_loading added developer_loadfile cvar (prints every successful FS_LoadFile) many improvements to consistency of loading notices, and some cleanups to q3 shader handling fixed annoying 'Bad dynamic texture name' spam at load git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8072 d7cf8633-e32d-0410-b094-e92efae38249
patch from div0 that enables printf format warnings in gcc patch from div0 that fixes a lot of printf format warnings (some quite bad) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6694 d7cf8633-e32d-0410-b094-e92efae38249
disabled WAVE_FORMAT_EXTENSIBLE support as it does not seem to be working git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6522 d7cf8633-e32d-0410-b094-e92efae38249
reverting DirectSound buffer position wrapping code to something similar to the old code (except using % instead of &) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6518 d7cf8633-e32d-0410-b094-e92efae38249
changed SECONDARY_BUFFER_SIZE to be a multiple of 32768 so that it is roughly a power of 2... git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6517 d7cf8633-e32d-0410-b094-e92efae38249