X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSounds.cpp;h=365c6d36cb1c3a6d6c693418940a9c2afa8b30d8;hb=85f9eeb8f438d6d542c0c7b7446b31585cc9c23d;hp=9bf927befb0ecb9af377938be83fa279b87753d7;hpb=617a36f729718c59c2f886fd4a1d145388e7c8bc;p=lugaru.git diff --git a/Source/Sounds.cpp b/Source/Sounds.cpp index 9bf927b..365c6d3 100644 --- a/Source/Sounds.cpp +++ b/Source/Sounds.cpp @@ -24,6 +24,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. struct OPENAL_SAMPLE *samp[sounds_count]; +int footstepsound, footstepsound2, footstepsound3, footstepsound4; + static const char *sound_data[sounds_count] = { #define DECLARE_SOUND(id, filename) filename, #include "Sounds.def" @@ -58,6 +60,10 @@ void loadAllSounds() snd_mode(i), 0, 0); } + footstepsound = footstepsn1; + footstepsound2 = footstepsn2; + footstepsound3 = footstepst1; + footstepsound4 = footstepst2; // Huh? // OPENAL_Sample_SetMode(samp[whooshsound], OPENAL_LOOP_NORMAL); }