palpic2png.c: improve, make usable with ppic binary files
[rofl0r-openDOW.git] / wavesounds.h
blob3775a7ec15097eb390b5e835a2efb5977e1a8f9f
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 #include "../c-flod/backends/wave_format.h"
24 #else
25 #define WAVE_HEADER_COMPLETE int
26 #endif
27 extern const WAVE_HEADER_COMPLETE* wavesounds[];
29 #pragma RcB2 DEP "wavesounds.c"
31 #endif