1
0
Fork 0
mirror of https://github.com/galaxyhaxz/devilution synced 2024-11-14 16:29:02 +00:00
devilution/2020_03_31/Source/effects.h

33 lines
672 B
C
Raw Permalink Normal View History

2020-11-29 00:24:54 +00:00
//HEADER_GOES_HERE
#ifndef __EFFECTS_H__
#define __EFFECTS_H__
extern int sfxdelay; // weak
extern int sfxdnum;
extern HANDLE sghStream;
extern TSFX *sgpStreamSFX;
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 *pszFile);
/* rdata */
extern const char monster_action_sounds[]; // idb
/* data */
extern TSFX sgSFX[NUM_SFX];
#endif /* __EFFECTS_H__ */