]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Remove the CONFIG_CD macro, and enable faketracks unconditionally.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 19 Oct 2018 06:40:49 +0000 (06:40 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 19 Oct 2018 06:40:49 +0000 (06:40 +0000)
commit19487ef2ebada39fb6a6a372b30ca4f66bb78ada
tree910655227c99fed020fd1cf2859bc4b74c0cf08b
parent786fd991962a03bacba0d8ba8fc3dd7f7dfdc0ef
Remove the CONFIG_CD macro, and enable faketracks unconditionally.

All support for playing back CD-DA has been removed by leaving only the
SDL2 clients, and it is rather unlikely for CD-DA support to come back.
However while doing so, the CONFIG_CD macro was disabled in the makefile
but not the MSVC project, which broke faketracks (i.e. background music
via track003.ogg files) on Linux.

This change removes all #ifdefs for CONFIG_CD as well as its enablement
in the MSVC project, which is basically equivalent to having the feature
always being enabled.

Fixes background music in Quake with ripped music, Nexuiz, Xonotic, and
probably many other DP-based games. Also fixes Xonotic log spam about
gettime(GETTIME_CDTRACK).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12466 d7cf8633-e32d-0410-b094-e92efae38249
cl_parse.c
darkplaces-sdl2-vs2017.vcxproj
host.c
menu.c
prvm_cmds.c
snd_main.c
vid_shared.c