www.pudn.com > coolMEMORY.rar > Sound.h


//----------------------------------------------------------------------------- 
// File: Sound.h 
//----------------------------------------------------------------------------- 
 
#ifndef __AS_SOUND_H__ 
#define __AS_SOUND_H__ 
 
 
// Definitions: *************************************************************** 
#define GAME_SAMPLES 4 // The number of sounds 
/////////////////////////////////////////////////////////////////////////////// 
 
// Variables: ***************************************************************** 
extern char byCurrentMusic[256]; 
extern AS_FMOD_SAMPLE GameSample[GAME_SAMPLES]; 
extern AS_FMOD_SAMPLE *pPairFoundSample, *pNoPairFoundSample, *pRotateCardSample, 
					  *pClickOnCardSample; 
extern AS_FMOD_MUSIC GameMusic; 
extern char **pbyFoundMusic; // The names of the found music 
extern int iFoundMusic; // The number of found music files 
/////////////////////////////////////////////////////////////////////////////// 
 
// Functions: ***************************************************************** 
extern void LoadSamples(void); 
extern void StartCurrentMusic(void); 
extern void RestartSoundSystem(void); 
extern void StartMusic(char *); 
extern void StopMusic(void); 
extern void CheckMusic(void); 
extern void EnumerateMusic(void); 
extern void DestroyFoundMusic(void); 
/////////////////////////////////////////////////////////////////////////////// 
 
 
#endif // __AS_SOUND_H__