1 /* Tower Toppler - Nebulus 2 * Copyright (C) 2000-2012 Andreas R�ver 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 */ 18 19 #ifndef SOUND_H 20 #define SOUND_H 21 22 #include <config.h> 23 #include "soundsys.h" 24 25 #ifdef HAVE_LIBSDL_MIXER 26 #include <SDL_mixer.h> 27 #endif 28 29 /* this module handles all the soundoutput necessary for the game */ 30 31 enum { 32 SND_WATER, 33 SND_TAP, 34 SND_BOINK, 35 SND_HIT, 36 SND_CROSS, 37 SND_TICK, 38 SND_DROWN, 39 SND_SPLASH, 40 SND_SHOOT, 41 SND_ALARM, 42 SND_SCORE, 43 SND_CRUMBLE, 44 SND_FANFARE, 45 SND_SONAR, 46 SND_TORPEDO, 47 SND_DOORTAP = SND_TAP 48 }; 49 50 void snd_init(void); 51 void snd_done(void); 52 53 void snd_playTitle(void); 54 void snd_stopTitle(void); 55 void snd_musicVolume(int vol); 56 57 #endif 58 59