Now loads both normal and fast versions of songs; plays according to time left.
[supertux.git] / src / sound.h
index 0de07e4..e47d488 100644 (file)
@@ -7,7 +7,7 @@
   bill@newbreedsoftware.com
   http://www.newbreedsoftware.com/supertux/
  
-  April 22, 2000 - December 27, 2003
+  April 22, 2000 - December 28, 2003
 
   Current maintainer:
         Duong-Khang NGUYEN <neoneurone@users.sf.net>
@@ -40,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);
@@ -53,7 +53,6 @@ Mix_Music * load_song(char * file);
 int playing_music(void);
 int halt_music(void);
 int play_music(Mix_Music*music, int loops);
-void set_music_position(int pos);
 void free_music(Mix_Music*music);
 void free_chunk(Mix_Chunk*chunk);