Mercurial > hg > Members > koba > t_dandy
view sound.h @ 14:c7e7971a76d0
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 16 Dec 2010 15:29:43 +0900 |
parents | 435ac1cdb64e |
children |
line wrap: on
line source
#ifndef _SOUND_H_ #define _SOUND_H_ #define BGM 0 #define SHOT_A 1 #define SHOT_B 2 #define SHOT_C 3 #define RING 4 #define NEW 5 #define JIKIOUT 6 #define BOM 7 #define SE_VOLUME 60 #define LASER_A 4 #define LASER_C 5 #define JIKIOUT 6 #define VH_NAME "\\DATA\\SOUND\\STD0.VH;1" #define VB_NAME "\\DATA\\SOUND\\STD0.VB;1" #define SQVH_ADDR (unsigned char*)0x80180000L #define SQVB_ADDR (unsigned char*)0x80190000L #define SQ_ADDR (unsigned long*)0x80170000L extern void Soundss(); extern void SoundPlay(int no); extern void SoundStop(); extern int done ; extern void poked( int sig) ; //_______________________________ extern void InitSdlMixer(void); extern void LoadSdlMixer(void); extern void FreeSdlMixer(void); extern void PlaySdlMixer(int freq, int ch ); extern void PauseSdlMixer(int ch); extern void ResumeSdlMixer(int ch); extern void InitVolume(void); extern void TimeSdlMixer(int fleq, int ch, int time); //______________________________ extern int se_voice[9]; extern int vab[10]; extern int seq[4]; extern int vb_addr[10]; extern unsigned char *buf; extern int vh_addr[10]; #endif // _SOUND_H_