You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/**
|
|
|
|
|
* @file effects.h
|
|
|
|
|
*
|
|
|
|
|
* Interface of functions for loading and playing sounds.
|
|
|
|
|
*/
|
|
|
|
|
#ifndef __EFFECTS_H__
|
|
|
|
|
#define __EFFECTS_H__
|
|
|
|
|
|
|
|
|
|
extern int sfxdelay;
|
|
|
|
|
extern int sfxdnum;
|
|
|
|
|
|
|
|
|
|
BOOL effect_is_playing(int nSFX);
|
|
|
|
|
void stream_stop();
|
|
|
|
|
void InitMonsterSND(int monst);
|
|
|
|
|
void FreeMonsterSnd();
|
|
|
|
|
void PlayEffect(int i, int mode);
|
|
|
|
|
void PlaySFX(int psfx);
|
|
|
|
|
void PlaySfxLoc(int psfx, int x, int y);
|
|
|
|
|
void sound_stop();
|
|
|
|
|
void sound_update();
|
|
|
|
|
void effects_cleanup_sfx();
|
|
|
|
|
void sound_init();
|
|
|
|
|
void ui_sound_init();
|
|
|
|
|
void __stdcall effects_play_sound(const char *snd_file);
|
|
|
|
|
|
|
|
|
|
#endif /* __EFFECTS_H__ */
|