aboutsummaryrefslogtreecommitdiff
path: root/src/sdl/sounds.h
blob: 38d6a144f8caca65db7e6f09f7bddd4b30506f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef SOUNDS_H
#define SOUNDS_H

#include <SDL_mixer.h>
#include "assets.h"

typedef enum {
  SOUND_BUMP,
  SOUND_LEVEL_DONE,
  SOUND_UNDO,
  SOUND_LEVEL_NEXT,
  SOUND_LEVEL_RESET,
  SOUND_LEVEL_WARP,
  SOUND_SOLVE_CANCEL,
  SOUND_SOLVE_DONE,
  SOUND_LAST,
} sound_t;

void sounds_init(Mix_Chunk ** const);
void sound_play(Mix_Chunk ** const sounds, const sound_t);

#endif /* SOUNDS_H */