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 SOUNDS_H
#define SOUNDS_H
#include <SDL_mixer.h>
#include "assets.h"
typedef enum {
SOUND_MOVE,
SOUND_MOVE_FAILED,
SOUND_LEVEL_DONE,
SOUND_UNDO,
SOUND_UNDO_FAILED,
SOUND_LEVEL_NEXT,
SOUND_LEVEL_NEXT_FAILED,
SOUND_LEVEL_RESET,
SOUND_LEVEL_WARP,
SOUND_SOLVE_START,
SOUND_SOLVE_CANCEL,
SOUND_SOLVE_DONE,
SOUND_SOLVE_FAILED,
SOUND_LAST,
} sound_t;
void sounds_init(Mix_Chunk ** const);
void sound_play(Mix_Chunk ** const sounds, const sound_t);
#endif /* SOUNDS_H */
|