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/missionbonus.c"
12 #include "sounds/fail.c"
13 #include "sounds/success.c"
15 #define WAVSOUND(x, y) [x] = &(y .header)
16 const WAVE_HEADER_COMPLETE
* wavesounds
[] = {
18 WAVSOUND(WS_PISTOL
, pistol
),
19 WAVSOUND(WS_GUN
, gun
),
20 WAVSOUND(WS_MACHINEGUN
, machinegun
),
21 WAVSOUND(WS_FLAMETHROWER
, flamethrower
),
22 WAVSOUND(WS_GRENADE_EXPLOSION
, grenade_sound
),
23 WAVSOUND(WS_SCREAM
, scream
),
24 WAVSOUND(WS_SCREAM2
, scream2
),
25 WAVSOUND(WS_DROPSHOT
, dropshot
),
26 WAVSOUND(WS_COUNTDOWN
, countdown
),
27 WAVSOUND(WS_MISSIONBONUS
, missionbonus
),
28 WAVSOUND(WS_FAIL
, fail
),
29 WAVSOUND(WS_SUCCESS
, success
),