Now loads both normal and fast versions of songs; plays according to time left.
[supertux.git] / src / sound.h
index aeeb0fd..e47d488 100644 (file)
@@ -7,7 +7,10 @@
   bill@newbreedsoftware.com
   http://www.newbreedsoftware.com/supertux/
  
-  April 22, 2000 - July 15, 2002
+  April 22, 2000 - December 28, 2003
+
+  Current maintainer:
+        Duong-Khang NGUYEN <neoneurone@users.sf.net>
 */
 
 #ifndef SUPERTUX_SOUND_H
@@ -20,6 +23,7 @@
 
 /*global variable*/
 int use_sound;
+int use_music;
 int audio_device;        /* != 0: available and initialized */
 
 /* enum of different internal music types */
@@ -36,8 +40,8 @@ enum Music_Type {
 #include <SDL_mixer.h>
 
 /* variables for stocking the sound and music */
-Mix_Chunk* sounds[NUM_SOUNDS];
-Mix_Music* level_song, *herring_song;
+Mix_Chunk * sounds[NUM_SOUNDS];
+Mix_Music * level_song, * level_song_fast, * herring_song;
 
 /* functions handling the sound and music */
 int open_audio(int frequency, Uint16 format, int channels, int chunksize);