]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Sounds.h
Cleanup sound loading
[lugaru.git] / Source / Sounds.h
index 042afae6f0395d670b81c32a5c78da0fe37f42ae..eef2b5078f05352bc50705b25bbbc4c0a1fbc897 100644 (file)
@@ -23,9 +23,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #define SOUNDS_H
 
 enum sound_types {
-#define DECLARE_SOUND(id) id,
+#define DECLARE_SOUND(id, filename) id,
 #include "Sounds.def"
 #undef DECLARE_SOUND
+sounds_count
 };
 
+extern struct OPENAL_SAMPLE *samp[sounds_count];
+
+extern void loadAllSounds();
 #endif