Mercurial > hg > old > magoroku_racing
comparison sound.h @ 111:7600cdfa8779
copy sound
author | Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 09 Jun 2011 02:23:21 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
110:8a525ec378fc | 111:7600cdfa8779 |
---|---|
1 #ifndef _SOUND_H_ | |
2 #define _SOUND_H_ | |
3 | |
4 #define BGM 0 | |
5 #define SHOT_A 1 | |
6 #define SHOT_B 2 | |
7 #define SHOT_C 3 | |
8 #define RING 4 | |
9 #define NEW 5 | |
10 #define JIKIOUT 6 | |
11 #define BOM 7 | |
12 | |
13 #define SE_VOLUME 60 | |
14 | |
15 #define LASER_A 4 | |
16 #define LASER_C 5 | |
17 #define JIKIOUT 6 | |
18 | |
19 #define VH_NAME "\\DATA\\SOUND\\STD0.VH;1" | |
20 #define VB_NAME "\\DATA\\SOUND\\STD0.VB;1" | |
21 #define SQVH_ADDR (unsigned char*)0x80180000L | |
22 #define SQVB_ADDR (unsigned char*)0x80190000L | |
23 #define SQ_ADDR (unsigned long*)0x80170000L | |
24 | |
25 extern void Soundss(); | |
26 extern void SoundPlay(int no); | |
27 extern void SoundStop(); | |
28 extern int done ; | |
29 extern void poked( int sig) ; | |
30 //_______________________________ | |
31 extern void InitSdlMixer(void); | |
32 extern void LoadSdlMixer(void); | |
33 extern void FreeSdlMixer(void); | |
34 extern void PlaySdlMixer(int freq, int ch ); | |
35 extern void PauseSdlMixer(int ch); | |
36 extern void ResumeSdlMixer(int ch); | |
37 extern void InitVolume(void); | |
38 extern void TimeSdlMixer(int fleq, int ch, int time); | |
39 //______________________________ | |
40 | |
41 extern int se_voice[9]; | |
42 extern int vab[10]; | |
43 extern int seq[4]; | |
44 extern int vb_addr[10]; | |
45 | |
46 extern unsigned char *buf; | |
47 extern int vh_addr[10]; | |
48 | |
49 #endif // _SOUND_H_ |