From: vortex Date: Thu, 15 Apr 2010 10:53:00 +0000 (+0000) Subject: add stubs for S_SoundLength, S_GetEntChallelPosition, dedicated server should compile now X-Git-Tag: xonotic-v0.1.0preview~230^2~387 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=99c18d06ab7e096eb897b802359c15b08f5abe00;p=xonotic%2Fdarkplaces.git add stubs for S_SoundLength, S_GetEntChallelPosition, dedicated server should compile now git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10088 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_null.c b/snd_null.c index d98cf4b5..0b97ef62 100755 --- a/snd_null.c +++ b/snd_null.c @@ -98,6 +98,11 @@ sfx_t *S_PrecacheSound (const char *sample, qboolean complain, qboolean serverso return NULL; } +float S_SoundLength(const char *name) +{ + return -1; +} + qboolean S_IsSoundPrecached (const sfx_t *sfx) { return false; @@ -152,6 +157,11 @@ float S_GetChannelPosition (unsigned int ch_ind) return -1; } +float S_GetEntChallelPosition(int entnum, int entchannel) +{ + return -1; +} + void SndSys_SendKeyEvents(void) { }