]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_null.c
add stubs for S_SoundLength, S_GetEntChallelPosition, dedicated server should compile now
[xonotic/darkplaces.git] / 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)
 {
 }