1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef _SOUND_H #define _SOUND_H enum { EFX_GOLD = 0, EFX_JUMP, EFX_WARP, EFX_PICKUP, EFX_TIME, EFX_HIT, EFX_DEATH, }; uint8_t sound_init(uint8_t nosound); void sound_free(); void sound_update(); void sound_music_pattern(uint16_t pat); void sound_play_efx(uint8_t efxno); void sound_mute(); void sound_unmute(); #endif /* _SOUND_H */