bill@newbreedsoftware.com
http://www.newbreedsoftware.com/supertux/
- April 22, 2000 - December 28, 2003
+ April 22, 2000 - March 15, 2004
Current maintainer:
Duong-Khang NGUYEN <neoneurone@users.sf.net>
#ifndef NOSOUND
+#include <string>
#include <SDL_mixer.h>
/* variables for stocking the sound and music */
int open_audio(int frequency, Uint16 format, int channels, int chunksize);
void close_audio( void );
-Mix_Chunk * load_sound(char * file);
+Mix_Chunk * load_sound(const std::string& file);
void play_sound(Mix_Chunk * snd, enum Sound_Speaker whichSpeaker);
-Mix_Music * load_song(char * file);
+Mix_Music * load_song(const std::string& file);
int playing_music(void);
int halt_music(void);
/* fake variables */
extern void* sounds[NUM_SOUNDS];
-extern void* level_song, *herring_song;
+extern void * level_song, * level_song_fast, * herring_song;
/* fake sound handlers */
int open_audio (int frequency, int format, int channels, int chunksize);