#include "snd_main.h"
#include "snd_ogg.h"
#include "snd_wav.h"
+#ifdef USEXMP
+#include "snd_xmp.h"
+#endif
/*
if (OGG_LoadVorbisFile (namebuffer, sfx))
goto loaded;
}
+#ifdef USEXMP
+ else if (len >= 1)
+ {
+ if (XMP_LoadModFile (namebuffer, sfx))
+ goto loaded;
+ }
+#endif
}
// LadyHavoc: then try without the added sound/ as wav and ogg
if (OGG_LoadVorbisFile (namebuffer, sfx))
goto loaded;
}
+#ifdef USEXMP
+ else if (len >= 1)
+ {
+ if (XMP_LoadModFile (namebuffer, sfx))
+ goto loaded;
+ }
+#endif
// Can't load the sound!
sfx->flags |= SFXFLAG_FILEMISSING;