aboutsummaryrefslogtreecommitdiff
path: root/src/sound.h
blob: b51a8ba84202c089d70bc1547b14131efa0020f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _SOUND_H
#define _SOUND_H

enum {
    EFX_GOLD = 0,
    EFX_JUMP,
    EFX_PICKUP,
    EFX_WARP,
    EFX_TIME,
    EFX_HIT,
    EFX_DEATH,
};

uint8_t sound_init();
void sound_free();
void sound_update();

void sound_music_pattern(uint16_t pat);
void sound_play_efx(uint8_t efxno);

void sound_queue_efx(uint8_t efxno);
void sound_play_queue();

void sound_mute();
void sound_unmute();

#endif /* _SOUND_H */