rename LICENSE to COPYING and add a more complete LICENSE file.
[rofl0r-openDOW.git] / wavesounds.c
blob2b83742c28771119a76fb2099d7fb94a88e37b84
1 #include "wavesounds.h"
2 #include "sounds/pistol.c"
3 #include "sounds/gun.c"
4 #include "sounds/machinegun.c"
5 #include "sounds/flamethrower.c"
6 #include "sounds/grenade_sound.c"
7 #include "sounds/scream.c"
8 #include "sounds/scream2.c"
9 #include "sounds/dropshot.c"
10 #include "sounds/countdown.c"
11 #include "sounds/fail.c"
12 #include "sounds/success.c"
14 #define WAVSOUND(x, y) [x] = &(y .header)
15 const WAVE_HEADER_COMPLETE* wavesounds[] = {
16 [WS_NONE] = 0,
17 WAVSOUND(WS_PISTOL, pistol),
18 WAVSOUND(WS_GUN, gun),
19 WAVSOUND(WS_MACHINEGUN, machinegun),
20 WAVSOUND(WS_FLAMETHROWER, flamethrower),
21 WAVSOUND(WS_GRENADE_EXPLOSION, grenade_sound),
22 WAVSOUND(WS_SCREAM, scream),
23 WAVSOUND(WS_SCREAM2, scream2),
24 WAVSOUND(WS_DROPSHOT, dropshot),
25 WAVSOUND(WS_COUNTDOWN, countdown),
26 WAVSOUND(WS_FAIL, fail),
27 WAVSOUND(WS_SUCCESS, success),