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