add stubs for S_SoundLength, S_GetEntChallelPosition, dedicated server should compile now
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Apr 2010 10:53:00 +0000 (10:53 +0000)
committervortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Apr 2010 10:53:00 +0000 (10:53 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10088 d7cf8633-e32d-0410-b094-e92efae38249

snd_null.c

index d98cf4b..0b97ef6 100755 (executable)
@@ -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)
 {
 }