1 /*
2  * XPilot NG, a multiplayer space war game.
3  *
4  * Copyright (C) 1991-2001 by
5  *
6  *      Bj�rn Stabell        <bjoern@xpilot.org>
7  *      Ken Ronny Schouten   <ken@xpilot.org>
8  *      Bert Gijsbers        <bert@xpilot.org>
9  *      Dick Balaska         <dick@xpilot.org>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24  */
25 
26 #ifndef AUDIO_H
27 #define AUDIO_H
28 
29 enum {
30     START_SOUND,
31     FIRE_SHOT_SOUND,
32     FIRE_TORPEDO_SOUND,
33     FIRE_HEAT_SHOT_SOUND,
34     FIRE_SMART_SHOT_SOUND,
35     PLAYER_EXPLOSION_SOUND,
36     PLAYER_HIT_PLAYER_SOUND,
37     PLAYER_HIT_CANNON_SOUND,
38     PLAYER_HIT_MINE_SOUND,
39     PLAYER_EAT_TORPEDO_SHOT_SOUND,
40     PLAYER_EAT_HEAT_SHOT_SOUND,
41     PLAYER_EAT_SMART_SHOT_SOUND,
42     DROP_MINE_SOUND,
43     PLAYER_HIT_WALL_SOUND,
44     WORM_HOLE_SOUND,
45     WIDEANGLE_SHOT_PICKUP_SOUND,
46     SENSOR_PACK_PICKUP_SOUND,
47     BACK_SHOT_PICKUP_SOUND,
48     ROCKET_PACK_PICKUP_SOUND,
49     CLOAKING_DEVICE_PICKUP_SOUND,
50     ENERGY_PACK_PICKUP_SOUND,
51     MINE_PACK_PICKUP_SOUND,
52     REFUEL_SOUND,
53     THRUST_SOUND,
54     CLOAK_SOUND,
55     CHANGE_HOME_SOUND,
56     ECM_PICKUP_SOUND,
57     AFTERBURNER_PICKUP_SOUND,
58     TANK_PICKUP_SOUND,
59     DROP_MOVING_MINE_SOUND,
60     MINE_EXPLOSION_SOUND,
61     ECM_SOUND,
62     TANK_DETACH_SOUND,
63     CANNON_FIRE_SOUND,
64     PLAYER_SHOT_THEMSELF_SOUND,
65     DECLARE_WAR_SOUND,
66     PLAYER_HIT_CANNONFIRE_SOUND,
67     OBJECT_EXPLOSION_SOUND,
68     PLAYER_EAT_SHOT_SOUND,
69     TRANSPORTER_PICKUP_SOUND,
70     TRANSPORTER_SUCCESS_SOUND,
71     TRANSPORTER_FAIL_SOUND,
72     DEFLECTOR_PICKUP_SOUND,
73     DEFLECTOR_SOUND,
74     HYPERJUMP_PICKUP_SOUND,
75     HYPERJUMP_SOUND,
76     PHASING_DEVICE_PICKUP_SOUND,
77     PHASING_ON_SOUND,
78     PHASING_OFF_SOUND,
79     MIRROR_PICKUP_SOUND,
80     ARMOR_PICKUP_SOUND,
81     NUKE_LAUNCH_SOUND,
82     NUKE_EXPLOSION_SOUND,
83     PLAYER_RAN_OVER_PLAYER_SOUND,
84     LASER_PICKUP_SOUND,
85     EMERGENCY_THRUST_PICKUP_SOUND,
86     AUTOPILOT_PICKUP_SOUND,
87     TRACTOR_BEAM_PICKUP_SOUND,
88     PLAYER_BOUNCED_SOUND,
89     FIRE_LASER_SOUND,
90     AUTOPILOT_ON_SOUND,
91     AUTOPILOT_OFF_SOUND,
92     EMERGENCY_THRUST_ON_SOUND,
93     EMERGENCY_THRUST_OFF_SOUND,
94     TRACTOR_BEAM_SOUND,
95     PRESSOR_BEAM_SOUND,
96     CONNECT_BALL_SOUND,
97     DROP_BALL_SOUND,
98     EXPLODE_BALL_SOUND,
99     DESTROY_BALL_SOUND,
100     DESTROY_TARGET_SOUND,
101     TEAM_WIN_SOUND,
102     TEAM_DRAW_SOUND,
103     PLAYER_WIN_SOUND,
104     PLAYER_DRAW_SOUND,
105     PLAYER_ROASTED_SOUND,
106     PLAYER_EAT_LASER_SOUND,
107     EMERGENCY_SHIELD_PICKUP_SOUND,
108     EMERGENCY_SHIELD_ON_SOUND,
109     EMERGENCY_SHIELD_OFF_SOUND,
110     CANNON_EXPLOSION_SOUND,
111     ASTEROID_HIT_SOUND,
112     ASTEROID_BREAK_SOUND,
113     MAX_SOUNDS
114 };
115 
116 #ifdef _CAUDIO_C_
117 
118 static const char    *soundNames[] =
119 {
120     "start",
121     "fire_shot",
122     "fire_torpedo",
123     "fire_heat_shot",
124     "fire_smart_shot",
125     "player_explosion",
126     "player_hit_player",
127     "player_hit_cannon",
128     "player_hit_mine",
129     "player_eat_torpedo_shot",
130     "player_eat_heat_shot",
131     "player_eat_smart_shot",
132     "drop_mine",
133     "player_hit_wall",
134     "worm_hole",
135     "wideangle_shot_pickup",
136     "sensor_pack_pickup",
137     "back_shot_pickup",
138     "rocket_pack_pickup",
139     "cloaking_device_pickup",
140     "energy_pack_pickup",
141     "mine_pack_pickup",
142     "refuel",
143     "thrust",
144     "cloak",
145     "change_home",
146     "ecm_pickup",
147     "afterburner_pickup",
148     "tank_pickup",
149     "drop_moving_mine",
150     "mine_explosion",
151     "ecm",
152     "tank_detach",
153     "cannon_fire",
154     "player_shot_themself",
155     "declare_war",
156     "player_hit_cannonfire",
157     "object_explosion",
158     "player_eat_shot",
159     "transporter_pickup",
160     "transporter_success",
161     "transporter_fail",
162     "deflector_pickup",
163     "deflector",
164     "hyperjump_pickup",
165     "hyperjump",
166     "phasing_device_pickup",
167     "phasing_on",
168     "phasing_off",
169     "mirror_pickup",
170     "armor_pickup",
171     "nuke_launch",
172     "nuke_explosion",
173     "player_ran_over_player",
174     "laser_pickup",
175     "emergency_thrust_pickup",
176     "autopilot_pickup",
177     "tractor_beam_pickup",
178     "player_bounced",
179     "fire_laser",
180     "autopilot_on",
181     "autopilot_off",
182     "emergency_thrust_on",
183     "emergency_thrust_off",
184     "tractor_beam",
185     "pressor_beam",
186     "connect_ball",
187     "drop_ball",
188     "explode_ball",
189     "destroy_ball",
190     "destroy_target",
191     "team_win",
192     "team_draw",
193     "player_win",
194     "player_draw",
195     "player_roasted",
196     "player_eat_laser",
197     "emergency_shield_pickup",
198     "emergency_shield_on",
199     "emergency_shield_off",
200     "cannon_explosion",
201     "asteroid_hit",
202     "asteroid_break",
203 };
204 
205 #endif						/* _CAUDIO_C_ */
206 
207 #endif						/* AUDIO_H */
208