-
Notifications
You must be signed in to change notification settings - Fork 0
/
sound.h
80 lines (72 loc) · 1.05 KB
/
sound.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
void init_sound(void);
void play_sound(int sample);
void play_sound2(int sample, int frq, int vol, int pan);
void play_soundf(int sample, int frq);
void play_sound_pos(int sample, int frq, int vol, int x2, int y2);
void kill_drive_sounds(void);
void play_ambience(void);
void calculate_ambience(void);
enum
{
SOUNDMODE_OFF,
SOUNDMODE_MONO,
SOUNDMODE_STEREO,
SOUNDMODE_REVERSED
};
enum
{
WAV_NONE,
WAV_CANNON,
WAV_ENGINE,
WAV_WOBBLE,
WAV_LONG_WOBBLE,
WAV_WARP_IN,
WAV_BANG1,
WAV_WHINE,
WAV_HARD_ZAP,
WAV_BOSS2,
WAV_STING,
WAV_BUMP,
WAV_BOMBS,
WAV_BLORT,
WAV_STING4,
WAV_MISSILE,
WAV_ALARM,
WAV_ZAPNOTE1,
WAV_ZAPNOTE2,
WAV_BLAST,
WAV_MINE,
WAV_SHORTZAP,
WAV_BLAT,
WAV_SHORTZAP2,
WAV_SUN,
WAV_THRUM,
WAV_CROAK,
WAV_MINEBANG,
WAV_GREENSEEKER1,
WAV_GREENSEEKER2,
WAV_TORPEDO,
WAV_BOSS3_1,
WAV_BOSS3_2,
WAV_BOSS3_3,
WAV_ASPAWN,
WAV_GAME_OVER,
WAV_TUBE,
WAV_UPGRADE,
WAV_SHIELD,
WAV_REPAIR,
WAV_SEEKMINE,
WAV_PLASMA,
WAV_LEVEL_END,
WAV_MENU1,
WAV_MENU2,
WAV_EXTRA_SHIP,
WAV_ORBITAL,
WAV_PICKUP_UPGRADE,
WAV_SEEKBLOB_BANG,
WAV_BUMP2,
WAV_HIT,
WAV_HOSTILE,
WAV_MUTATE,
NO_WAVS
};