X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSounds.h;h=eef2b5078f05352bc50705b25bbbc4c0a1fbc897;hb=617a36f729718c59c2f886fd4a1d145388e7c8bc;hp=042afae6f0395d670b81c32a5c78da0fe37f42ae;hpb=db2e2199f99aac924e695799551bf8fdbe164247;p=lugaru.git diff --git a/Source/Sounds.h b/Source/Sounds.h index 042afae..eef2b50 100644 --- a/Source/Sounds.h +++ b/Source/Sounds.h @@ -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