make it possible to compile without audio/c-flod
[rofl0r-openDOW.git] / wavesounds.h
blob19d67d286f26085e415422d2b25d1e9332273531
1 #ifndef WAVESOUNDS_H
2 #define WAVESOUNDS_H
4 enum __attribute__((__packed__)) wavesound_id {
5 WS_NONE = 0,
6 WS_PISTOL,
7 WS_GUN,
8 WS_MACHINEGUN,
9 WS_FLAMETHROWER,
10 WS_GRENADE_EXPLOSION,
11 WS_SCREAM,
12 WS_SCREAM2,
13 WS_DROPSHOT,
14 WS_COUNTDOWN,
15 WS_MISSIONBONUS,
16 WS_FAIL,
17 WS_SUCCESS,
20 #include "audio.h"
22 #if AUDIO_BACKEND != AUDIO_BACKEND_NONE
23 //RcB: SKIPON "AUDIO_BACKEND=AUDIO_BACKEND_NONE"
24 #include "../c-flod/backends/wave_format.h"
25 //RcB: SKIPOFF "AUDIO_BACKEND=AUDIO_BACKEND_NONE"
26 #else
27 #define WAVE_HEADER_COMPLETE int
28 #endif
29 extern const WAVE_HEADER_COMPLETE* wavesounds[];
30 //RcB: DEP "wavesounds.c"
32 #endif