Module darkplaces: Change committed

molivier at icculus.org molivier at icculus.org
Wed Oct 13 03:04:07 EDT 2004


Commiter   : molivier
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2004-10-13 07:04:07 UTC

Log message:

Lots of minor fixes and improvements to the sound engine, plus a few more important changes:
- moved the internal structures and API into a separate file (snd_main.h)
- added a lock mecanism on SFXs to free them as soon as they're no longer used
- simplified the sound API
- minor fixes and comment changes here and there
- independent sound volume for fake CD tracks
- updated MSVC and Dev-C++ project files accordingly
- removed unused functions
- added a SFX flag to make sure the engine complains at most one time for each missing sound file
- made the SFX list a linked list to remove the hardcoded limit for the number of SFX a client can handle
- changed the way ambient sounds are managed to be more consistent with the new API
- factorized some code
- removed the useless IN_Accumulate in the Win32 specific code
- removed the table for 8bit sound mixing (snd_scaletable)

Modified files:
     cd_shared.c cdaudio.h cl_main.c cl_parse.c cl_screen.c
     darkplaces.dev darkplaces.dsp dpvsimpledecode.c menu.c
     prvm_cmds.c quakedef.h snd_alsa.c snd_bsd.c snd_dma.c snd_mem.c
     snd_mix.c snd_null.c snd_ogg.c snd_oss.c snd_sdl.c snd_wav.c
     snd_win.c sound.h todo vid_wgl.c

Added files:
     snd_main.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20041013.070407.molivier.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20041013/629b91e1/attachment.diff>


More information about the twilight-commits mailing list