]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
Added optional CSQC function CSQC_Event_Sound with the following parameters : float...
authordresk <dresk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 16 Sep 2007 23:20:50 +0000 (23:20 +0000)
committerdresk <dresk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 16 Sep 2007 23:20:50 +0000 (23:20 +0000)
commit280eaa59ec9f7f813d00b6311f251ee397311074
tree416b78ba5209c4d12fe302c064ec6a33984050c9
parentfa8c676e225398a6157e591248a12d6847cef9a4
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).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7565 d7cf8633-e32d-0410-b094-e92efae38249
cl_parse.c
csprogs.c
progsvm.h
prvm_edict.c