r7565 - trunk/darkplaces

dresk at icculus.org dresk at icculus.org
Sun Sep 16 19:20:50 EDT 2007


Author: dresk
Date: 2007-09-16 19:20:50 -0400 (Sun, 16 Sep 2007)
New Revision: 7565

Modified:
   trunk/darkplaces/cl_parse.c
   trunk/darkplaces/csprogs.c
   trunk/darkplaces/progsvm.h
   trunk/darkplaces/prvm_edict.c
Log is attached.
Added optional CSQC function CSQC_Event_Sound with the following parameters : float entitynum, float channel, string soundname, float volume, float attenuation, vector position .  This function, if provided, is called whenever a sound packet arrives from the server.  If the function returns true, the sound call is skipped in the engine, otherwise it is played as normal.  Function intention is to provide additional feedback on sound events (without touching the packet stream).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20070916.232050.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20070916/23549501/attachment.diff>


More information about the twilight-commits mailing list