JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fix "Building From Git" instructions
[vor.git] / sound.h
1 /* Variations on RockDodger
2  * Copyright (C) 2004 Joshua Grams <josh@qualdan.com>
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License as published by the
6  * Free Software Foundation; either version 2 of the License, or (at your
7  * 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 VOR_SOUND_H
20 #define VOR_SOUND_H
21
22 int init_sound(void);
23 void play_sound(int i);
24 void play_tune(int i);
25 void pause_tune();
26 void resume_tune();
27
28 // Currently there's only one tune (gameplay). Calling play_tune() with the
29 // other tune numbers turns the music off, (and makes it easy to add tunes for
30 // those screens).
31 #define TUNE_GAMEPLAY 0
32 #define TUNE_TITLE_PAGE 1
33 #define TUNE_HIGH_SCORE_ENTRY 2
34 #define NUM_TUNES 1
35
36 #define SOUND_BANG 0
37 #define NUM_SOUNDS 1
38
39 #endif // VOR_SOUND_H