quakespasm/Quake
Ozkan Sezer 21915e956c snd_sdl.c: pass NULL as the 'obtained' spec to SDL_OpenAudio():
this way, SDL will convert to hardware format for us if needed.
most of the times we do get what we want. however, for example,
the WASAPI backend of SDL2 returns AUDIO_F32LSB as the obtained
format (which is not an SDL thing but a WASAPI thing) and we do
not support that. the SDL2.dll we ship with has WASAPI disabled,
but if the user replaces our dll with a one with WASAPI enabled
(official libsdl.org build or his own build) then we refuse the
obtained AUDIO_F32LSB format and run without sound.  after this
patch, such a thing is transparent to us.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1639 af15c1b1-3010-417e-b628-4374ebc0bcbd
2019-09-20 18:40:00 +00:00
..
anorm_dots.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
anorms.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
arch_def.h added _WINSOCK_DEPRECATED_NO_WARNINGS among the preprocessor definitions 2017-02-14 11:00:29 +00:00
bgmusic.c bgmusic.c: mark *.opus files as cdrip types. 2018-04-27 17:30:38 +00:00
bgmusic.h some codec stuff syncing with uhexen2 2013-02-27 16:50:25 +00:00
bspfile.h move LMBLOCK_WIDTH/HEIGHT from bspfile.h to glquake.h 2019-09-12 12:34:12 +00:00
build_cross_osx-sdl2.sh Makefile.darwin: target 10.5 when building for x86 against SDL2. 2014-09-17 11:00:28 +00:00
build_cross_osx.sh - Makefile.darwin: -mmacosx-version-min also needs to be among 2012-09-03 21:21:04 +00:00
build_cross_win32-sdl2.sh fix the cross-build scripts after r1180. 2015-03-02 22:01:12 +00:00
build_cross_win32.sh fix the cross-build scripts after r1180. 2015-03-02 22:01:12 +00:00
build_cross_win64-sdl2.sh fix the cross-build scripts after r1180. 2015-03-02 22:01:12 +00:00
build_cross_win64.sh fix the cross-build scripts after r1180. 2015-03-02 22:01:12 +00:00
cd_null.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cd_sdl.c cd_sdl.c: change SDL_CD error return checks from '== -1' back to '< 0' 2018-03-13 08:50:03 +00:00
cdaudio.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cfgfile.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cfgfile.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
chase.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cl_demo.c silence pesky warnings from old compilers 2016-06-24 07:40:08 +00:00
cl_input.c Revert "always run" changes from r797; move the QuakeSpasm customizations to a new "cl_alwaysrun" cvar. 2017-08-23 06:00:20 +00:00
cl_main.c Revert "always run" changes from r797; move the QuakeSpasm customizations to a new "cl_alwaysrun" cvar. 2017-08-23 06:00:20 +00:00
cl_parse.c Adjust "exceeds standard limit of" debug warnings to include the actual QS limit. 2017-03-30 06:26:16 +00:00
cl_tent.c RMQ protocol (999) support, adapted from RMQEngine 2016-06-24 06:15:41 +00:00
client.h Revert "always run" changes from r797; move the QuakeSpasm customizations to a new "cl_alwaysrun" cvar. 2017-08-23 06:00:20 +00:00
cmd.c Add "find" as an alias for "apropos" (for consistency with MarkV) 2017-07-19 05:40:54 +00:00
cmd.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
common.c SZ_GetSpace: change overflow Sys_Error to Host_Error 2017-09-12 23:12:33 +00:00
common.h revise the function attributes usage: do not use the gcc __attribute__ 2017-07-28 12:50:10 +00:00
console.c console.c (Con_TabComplete): don't change the length counter in arg completion. 2018-02-16 05:57:54 +00:00
console.h revise the function attributes usage: do not use the gcc __attribute__ 2017-07-28 12:50:10 +00:00
crc.c CRC_Block: make input pointer const. From QS-Spike 2017-04-02 07:14:53 +00:00
crc.h CRC_Block: make input pointer const. From QS-Spike 2017-04-02 07:14:53 +00:00
cvar.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cvar.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
detect.sh Updated support for building the OSX versions using Makefile.darwin. Do 2012-08-16 04:51:41 +00:00
draw.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
filenames.h sync'ed arch_defs.h and filenames.h with uhexen2 tree (for sake of symmetry.) 2016-12-07 06:55:04 +00:00
gl_draw.c "W007: '&array' may not produce intended result" Watcom warning fixes. 2017-09-17 08:00:32 +00:00
gl_fog.c minor simplification 2019-09-12 12:33:02 +00:00
gl_mesh.c Alias model VBO renderer: restructure so each model is stored in a separate VBO and load them in Mod_LoadAliasModel, rather than R_NewMap. 2015-09-20 20:10:49 +00:00
gl_model.c Mod_LoadAliasModel: don't corrupt memory if MAXALIASTRIS exceeded 2019-09-12 04:06:55 +00:00
gl_model.h raise MAXALIASTRIS from 2048 to 4096 so SlayerTest mdl's load. 2019-09-12 04:06:57 +00:00
gl_refrag.c gl_refrag.c: Hunk-allocate efrags and trim out unused functionality 2017-04-02 19:39:18 +00:00
gl_rlight.c world.c: use DoublePrecisionDotProduct to fix items falling out of the world 2016-02-01 22:41:15 +00:00
gl_rmain.c new r_scale cvar, for rendering the 3D view at 1/2, 1/3, or 1/4 res. 2017-05-26 20:37:48 +00:00
gl_rmisc.c minor simplification 2019-09-12 12:33:02 +00:00
gl_screen.c SCR_ScreenShot_f: change default format to png, using stb_image_write 2017-08-08 05:07:56 +00:00
gl_sky.c minor simplification 2019-09-12 12:33:02 +00:00
gl_texmgr.c TexMgr_Imagedump_f: fix buffer overflow by setting GL_PACK_ALIGNMENT 2017-12-28 18:51:40 +00:00
gl_texmgr.h gl_texmgr.h (struct gltexture_s): change 'pants' and 'shirt' to signed char 2018-06-18 07:15:58 +00:00
gl_vidsdl.c r_world.c: rewrite R_DrawTextureChains_Multitexture_VBO to use GLSL 2017-11-01 04:01:02 +00:00
gl_warp.c BoundPoly: fix infinite recursion when loading e1-4.bsp from https://github.com/plankatron/quakemash 2017-04-01 21:31:00 +00:00
gl_warp_sin.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
glquake.h move LMBLOCK_WIDTH/HEIGHT from bspfile.h to glquake.h 2019-09-12 12:34:12 +00:00
host.c host.c (Host_WriteConfiguration): don't VID_SyncCvars() 2018-02-21 16:25:04 +00:00
host_cmd.c kill annoying warnings. remove commented pakfile/progs.dat testing code from Modlist_Init(). 2017-08-04 20:36:59 +00:00
image.c update lodepng to 20190814 version from mainstream. 2019-08-15 12:01:54 +00:00
image.h - stb_image_write.h: keep only the jpg writer, the only thing we use 2017-08-09 11:33:44 +00:00
in_sdl.c in_sdl: Change controller movement to use cubic easing by default; added 2018-02-05 06:37:50 +00:00
input.h SDL2 Game Controller support 2016-03-01 21:58:08 +00:00
keys.c keys.c: increase CMDLINES (history.txt lines) from 32 to 64 2018-01-10 04:40:31 +00:00
keys.h keys.c: increase CMDLINES (history.txt lines) from 32 to 64 2018-01-10 04:40:31 +00:00
lodepng.c update lodepng to 20190824 version from mainstream. 2019-08-28 00:10:02 +00:00
lodepng.h update lodepng to 20190824 version from mainstream. 2019-08-28 00:10:02 +00:00
main_sdl.c don't write the config file if we are Sys_Error()ing 2018-02-21 07:33:07 +00:00
Makefile Makefiles: replace '$^' with '$<' in build rules. add dependency list for image.o. 2017-08-09 12:10:13 +00:00
Makefile.darwin Makefiles: replace '$^' with '$<' in build rules. add dependency list for image.o. 2017-08-09 12:10:13 +00:00
Makefile.w32 Makefiles: replace '$^' with '$<' in build rules. add dependency list for image.o. 2017-08-09 12:10:13 +00:00
Makefile.w64 Makefiles: replace '$^' with '$<' in build rules. add dependency list for image.o. 2017-08-09 12:10:13 +00:00
mathlib.c revise the function attributes usage: do not use the gcc __attribute__ 2017-07-28 12:50:10 +00:00
mathlib.h world.c: use DoublePrecisionDotProduct to fix items falling out of the world 2016-02-01 22:41:15 +00:00
menu.c remove Steve's name from quit menu message too, per his request. 2019-09-18 09:39:00 +00:00
menu.h Rename some (recently added) functions. 2014-10-08 18:30:17 +00:00
modelgen.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
net.h constify NET_QSocketGetTime() and NET_QSocketGetAddressString() 2015-04-01 09:30:10 +00:00
net_bsd.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_defs.h net_defs.h: add a preprocessor assertion that NET_MAXMESSAGE is sane 2017-04-02 00:45:00 +00:00
net_dgrm.c revise the function attributes usage: do not use the gcc __attribute__ 2017-07-28 12:50:10 +00:00
net_dgrm.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_loop.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_loop.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_main.c constify NET_QSocketGetTime() and NET_QSocketGetAddressString() 2015-04-01 09:30:10 +00:00
net_sys.h minor updates to some files from uhexen2 (for sake of symmetry between the two trees.) 2016-08-23 11:24:24 +00:00
net_udp.c net_udp.c (UDP_Init): lose the goto in OSX workaround, restrict the workaround to OSX builds only. 2018-04-20 14:35:32 +00:00
net_udp.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_win.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_wins.c net_wins.c: disable WSA*BlockingHook() stuff for winsock2 builds 2017-07-29 00:35:03 +00:00
net_wins.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_wipx.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_wipx.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
OWMakefile.win32 watcom makefiles: make wlink quiet 2019-08-28 00:01:04 +00:00
pl_linux.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
pl_osx.m PL_ErrorDialog: fix clang warning about format string not a literal 2017-07-28 20:50:18 +00:00
pl_win.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
platform.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
pr_cmds.c apply the same double precision change to PF_normalize() as was done to PF_vlen() in r1554. 2018-04-23 09:20:31 +00:00
pr_comp.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
pr_edict.c PR_UglyValueString: increase line[512] to 1024, use q_snprintf 2018-12-30 05:24:36 +00:00
pr_exec.c pr_exec.c, MAX_STACK_DEPTH: increase from 32 to 64 2017-06-23 15:47:01 +00:00
progdefs.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
progdefs.q1 initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
progs.h move the watcom 'aborts' pragma after function declarations. 2017-09-16 19:50:12 +00:00
protocol.h RMQ protocol (999) support, adapted from RMQEngine 2016-06-24 06:15:41 +00:00
q_ctype.h minor updates to some files from uhexen2 (for sake of symmetry between the two trees.) 2016-08-23 11:24:24 +00:00
q_sound.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
q_stdinc.h handle ssize_t issues with MSVC better 2018-11-03 09:50:53 +00:00
qs_bmp.h Simplify the linux icon transparency setting. 2012-09-25 03:07:33 +00:00
quakedef.h bump version to 0.93.2, update changelog. 2019-09-12 12:36:59 +00:00
quakespasm.pak SDL2 Game Controller support 2016-03-01 21:58:08 +00:00
r_alias.c world shader: avoid matrix multiplication in the fragment shader 2017-12-24 18:59:44 +00:00
r_brush.c GL_BuildLightmaps: minor warning fixes. more accurate developer warning. 2019-09-18 09:17:24 +00:00
r_part.c r_part.c (R_ReadPointFile_f): silence pesky compiler warnings 2017-07-28 20:00:32 +00:00
r_sprite.c r_alias.c, r_sprite.c: print the model name in the "no such skin" (r_alias.c) and "no such frame" (r_sprite.c) developer messages 2015-08-31 18:36:38 +00:00
r_world.c r_brush.c: dynamically allocate lightmaps, from QuakeSpasm-Spike 2019-09-12 06:49:35 +00:00
render.h gl_refrag.c: Hunk-allocate efrags and trim out unused functionality 2017-04-02 19:39:18 +00:00
resource.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
sbar.c Fixed -Wformat-length warning from experimental gcc-7: 2016-10-07 20:00:27 +00:00
sbar.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
screen.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
server.h revise the function attributes usage: do not use the gcc __attribute__ 2017-07-28 12:50:10 +00:00
snd_codec.c remove all libmodplug code 2017-07-27 12:50:17 +00:00
snd_codec.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_codeci.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_dma.c snd_dma.c: raise MAX_SFX to 1024, for the upcoming arcadim mod. 2015-12-22 06:22:29 +00:00
snd_flac.c tiny tidy-ups to snd_flac 2017-04-30 08:51:34 +00:00
snd_flac.h added flac music support. 2013-07-21 14:02:06 +00:00
snd_mem.c Move more spammy message from "developer 1" to "developer 2", continued: 2015-05-25 18:38:37 +00:00
snd_mikmod.c snd_mikmod.c: we don't truly need the high-quality mixer. (and it's slow too...) 2016-08-08 04:04:14 +00:00
snd_mikmod.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_mix.c snd_mix.c: Fix clang warnings about bit-shifting negative numbers 2017-07-28 20:50:03 +00:00
snd_mp3.c snd_mp3.c: better skipping of tags: 2019-07-23 14:11:30 +00:00
snd_mp3.h * snd_mpg123.c: added new codec for mp3 playback using libmpg123 as 2011-02-14 20:02:52 +00:00
snd_mpg123.c handle ssize_t issues with MSVC better 2018-11-03 09:50:53 +00:00
snd_opus.c Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_opus.h merged the opus codec support patch 2013-07-18 07:03:11 +00:00
snd_sdl.c snd_sdl.c: pass NULL as the 'obtained' spec to SDL_OpenAudio(): 2019-09-20 18:40:00 +00:00
snd_umx.c snd_umx: minor update from umr. minor correction to fshandle offset. 2014-02-11 20:00:35 +00:00
snd_umx.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_vorbis.c snd_vorbis.c: remove leftovers, tidyup. 2018-03-26 21:10:07 +00:00
snd_vorbis.h some codec stuff syncing with uhexen2 2013-02-27 16:50:25 +00:00
snd_wave.c Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_wave.h Backported external music files support using decoder libraries and the 2011-01-05 19:50:43 +00:00
snd_xmp.c snd_xmp.c: fix windows static linkage to libxmp. 2017-03-09 22:41:17 +00:00
snd_xmp.h added tracker music support using libxmp >= v4.2.0 (off by default.) 2016-12-07 09:24:49 +00:00
spritegn.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
stb_image_write.h Some more image.c / lodepng / stb_image_write clean-ups: 2017-08-09 20:00:08 +00:00
strl_fn.h added strlcat.c and strlcpy.c: will use them later. 2011-12-27 11:03:39 +00:00
strlcat.c added strlcat.c and strlcpy.c: will use them later. 2011-12-27 11:03:39 +00:00
strlcpy.c added strlcat.c and strlcpy.c: will use them later. 2011-12-27 11:03:39 +00:00
sv_main.c sv_main.c (SV_Init): use a return instead of a dummy assignment after Sys_Error to silence compiler 2017-07-28 20:00:56 +00:00
sv_move.c sv_move.c: add explicit int cast to a float argument to abs(). 2017-07-28 20:50:25 +00:00
sv_phys.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
sv_user.c RMQ protocol (999) support, adapted from RMQEngine 2016-06-24 06:15:41 +00:00
sys.h noreturn functions: use the 'aborts' aux pragma with Watcom 2017-07-28 20:11:03 +00:00
sys_sdl_unix.c don't write the config file if we are Sys_Error()ing 2018-02-21 07:33:07 +00:00
sys_sdl_win.c don't write the config file if we are Sys_Error()ing 2018-02-21 07:33:07 +00:00
vid.h Com_game_f: try execing quake.rc automatically.. 2017-06-23 22:02:49 +00:00
view.c view.c: New "gl_cshiftpercent_contents", "gl_cshiftpercent_damage", "gl_cshiftpercent_bonus", "gl_cshiftpercent_powerup" cvars for tuning the strength of specic view blends. 2017-10-03 19:49:04 +00:00
view.h Contrast support with a "contrast" cvar, behaving the same as MarkV's. 2016-02-12 23:26:36 +00:00
wad.c W_LoadWadFile, COM_CheckRegistered: more helpful error messages 2017-08-14 04:10:32 +00:00
wad.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
world.c SV_TouchLinks: new workaround for touch functions that modify the 2017-08-28 02:15:04 +00:00
world.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
wsaerror.h * arch_def.h, net_sys.h, wsaerror.h: New headers, adapted from uhexen2. 2010-06-21 10:55:21 +00:00
zone.c Raise default heapsize to 256MB and zone to 4MB (matching Fitz MarkV) 2016-01-09 20:29:22 +00:00
zone.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00