From 99c18d06ab7e096eb897b802359c15b08f5abe00 Mon Sep 17 00:00:00 2001 From: vortex Date: Thu, 15 Apr 2010 10:53:00 +0000 Subject: [PATCH] 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 --- snd_null.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) { } -- 2.39.2