#include "defines.h" /* get YES/NO defines */
-/* used to reserve some channels for panning effects */
-#define SOUND_RESERVED_CHANNELS 2
-
/*global variable*/
extern bool use_sound; /* handle sound on/off menu and command-line option */
extern bool use_music; /* handle music on/off menu and command-line */
HERRING_MUSIC
};
-
-/* panning effects: terrible :-) ! */
-enum Sound_Speaker {
- SOUND_LEFT_SPEAKER = 0,
- SOUND_RIGHT_SPEAKER = 1,
- SOUND_CENTER_SPEAKER = -1
-};
-
/* Sound files: */
enum {
SND_JUMP,
Mix_Chunk * load_sound(const std::string& file);
void free_chunk(Mix_Chunk*chunk);
-void play_sound(Mix_Chunk * snd, enum Sound_Speaker whichSpeaker);
#endif /*SUPERTUX_SOUND_H*/