From 131a454b62687224a2e0a98c05a456729cc00761 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 20 Jan 2019 23:55:01 -0500 Subject: add sound map --- src/sdl/sounds.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/sdl/sounds.h') diff --git a/src/sdl/sounds.h b/src/sdl/sounds.h index 3b74aff..38d6a14 100644 --- a/src/sdl/sounds.h +++ b/src/sdl/sounds.h @@ -4,7 +4,19 @@ #include #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 asset_id_t); +void sound_play(Mix_Chunk ** const sounds, const sound_t); #endif /* SOUNDS_H */ -- cgit v1.2.3