]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
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 d98cf4b5229d3b4c21c305228a1d0071f0c16f66..0b97ef625810e28802e664a14e26967c79eff3af 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)
 {
 }