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"
12 #define WAVSOUND(x, y) [x] = &(y .header)
13 const WAVE_HEADER_COMPLETE
* wavesounds
[] = {
15 WAVSOUND(WS_PISTOL
, pistol
),
16 WAVSOUND(WS_GUN
, gun
),
17 WAVSOUND(WS_MACHINEGUN
, machinegun
),
18 WAVSOUND(WS_FLAMETHROWER
, flamethrower
),
19 WAVSOUND(WS_GRENADE_EXPLOSION
, grenade_sound
),
20 WAVSOUND(WS_SCREAM
, scream
),
21 WAVSOUND(WS_SCREAM2
, scream2
),
22 WAVSOUND(WS_DROPSHOT
, dropshot
),
23 WAVSOUND(WS_COUNTDOWN
, countdown
),