projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now loads both normal and fast versions of songs; plays according to time left.
[supertux.git]
/
src
/
sound.h
diff --git
a/src/sound.h
b/src/sound.h
index
aeeb0fd
..
e47d488
100644
(file)
--- a/
src/sound.h
+++ b/
src/sound.h
@@
-7,7
+7,10
@@
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/supertux/
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
*/
#ifndef SUPERTUX_SOUND_H
@@
-20,6
+23,7
@@
/*global variable*/
int use_sound;
/*global variable*/
int use_sound;
+int use_music;
int audio_device; /* != 0: available and initialized */
/* enum of different internal music types */
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 */
#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);
/* functions handling the sound and music */
int open_audio(int frequency, Uint16 format, int channels, int chunksize);