-
Notifications
You must be signed in to change notification settings - Fork 33
/
sound.h
47 lines (41 loc) · 945 Bytes
/
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
/*
* Elite - The New Kind.
*
* Reverse engineered from the BBC disk version of Elite.
* Additional material by C.J.Pinder.
*
* The original Elite code is (C) I.Bell & D.Braben 1984.
* This version re-engineered in C by C.J.Pinder 1999-2001.
*
* email: <christian@newkind.co.uk>
*
*
*/
/*
* sound.h
*/
#ifndef SOUND_H
#define SOUND_H
#define SND_LAUNCH 0
#define SND_CRASH 1
#define SND_DOCK 2
#define SND_GAMEOVER 3
#define SND_PULSE 4
#define SND_HIT_ENEMY 5
#define SND_EXPLODE 6
#define SND_ECM 7
#define SND_MISSILE 8
#define SND_HYPERSPACE 9
#define SND_INCOMMING_FIRE_1 10
#define SND_INCOMMING_FIRE_2 11
#define SND_BEEP 12
#define SND_BOOP 13
#define SND_ELITE_THEME 0
#define SND_BLUE_DANUBE 1
void snd_sound_startup (void);
void snd_sound_shutdown (void);
void snd_play_sample (int sample_no);
void snd_play_midi (int midi_no, int repeat);
void snd_update_sound (void);
void snd_stop_midi (void);
#endif