From ad04490ef84d7565fbec0fa878a21694ad2d61f0 Mon Sep 17 00:00:00 2001 From: pryazha Date: Tue, 26 Aug 2025 10:55:18 +0500 Subject: guess that's all --- in_practice/breakout/audio.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 in_practice/breakout/audio.h (limited to 'in_practice/breakout/audio.h') diff --git a/in_practice/breakout/audio.h b/in_practice/breakout/audio.h new file mode 100644 index 0000000..71b232f --- /dev/null +++ b/in_practice/breakout/audio.h @@ -0,0 +1,18 @@ +#ifndef AUDIO_H +#define AUDIO_H + +#include "types.h" + +struct sound { + u8 *data; + u32 size; + const char *name; + i32 loop; +}; + +#define max_sounds 8 +extern struct sound sounds[max_sounds]; + +i32 get_sound(const char *name); + +#endif -- cgit v1.2.3-70-g09d2