Module darkplaces: Change committed

molivier at icculus.org molivier at icculus.org
Mon Apr 5 03:00:30 EDT 2004


Commiter   : molivier
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2004-04-05 07:00:30 UTC

Log message:

Fake CD tracks support; DP now tries to play "sound/cdtracks/trackXX.wav" instead of CD track XX. If it fails, it tries "trackXX.ogg", and then the real CD track if any. CD console commands should work as expected.
"cd_shared.c" is now part of the common files so it allows people to compile DP without real CD support, but with fake CD tracks support. "cd_null.c" is now a null driver, at the same level as "cd_linux.c" or "cd_win.c".
Fixed the broken return value of S_StartSound and a potential memory leak in S_StopAllSounds in the process.

Modified files:
     cd_bsd.c cd_linux.c cd_null.c cd_shared.c makefile.inc snd_dma.c
     snd_mix.c snd_null.c sound.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20040405.070030.molivier.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20040405/45ec1f42/attachment.diff>


More information about the twilight-commits mailing list