-
Notifications
You must be signed in to change notification settings - Fork 12
/
sound.h
47 lines (41 loc) · 1.06 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
/* Digger Remastered
Copyright (c) Andrew Jenner 1998-2004 */
void initsound(void);
void soundstop(void);
void music(int16_t tune, double dfac);
void musicoff(void);
void soundlevdone(void);
void sound1up(void);
void soundpause(void);
void soundpauseoff(void);
void setsoundt2(void);
void soundbonus(void);
void soundbonusoff(void);
void soundfire(int n);
void soundexplode(int n);
void soundfireoff(int n);
void soundem(void);
void soundemerald(int emn);
void soundeatm(void);
void soundddie(void);
void soundwobble(void);
void soundwobbleoff(void);
void soundfall(void);
void soundfalloff(void);
void soundbreak(void);
void soundgold(void);
void soundint(void);
/*
void soundoff(void);
void timer2(uint16_t t2v);
*/
extern bool soundflag,musicflag;
extern int16_t volume,timerrate,spkrmode,pulsewidth;
extern bool sounddiedone;
extern void (*setupsound)(void);
extern void (*killsound)(void);
extern void (*soundoff)(void);
extern void (*setspkrt2)(void);
extern void (*timer0)(uint16_t t0v);
extern void (*timer2)(uint16_t t2v, bool mode);
extern void (*soundkillglob)(void);