aboutsummaryrefslogtreecommitdiff
path: root/example/test.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-04-17 22:05:24 +0100
committerJuan J. Martinez <jjm@usebox.net>2021-04-17 22:05:24 +0100
commita5745813e442b66ae6eed30bba81d1b3dd5cf634 (patch)
treeb302db1780350dc44543b81d49bfc1b2d4dff6a8 /example/test.h
downloadbeeper-int-zx-a5745813e442b66ae6eed30bba81d1b3dd5cf634.tar.gz
beeper-int-zx-a5745813e442b66ae6eed30bba81d1b3dd5cf634.zip
Initial public release
Diffstat (limited to 'example/test.h')
-rw-r--r--example/test.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/example/test.h b/example/test.h
new file mode 100644
index 0000000..d59e2b9
--- /dev/null
+++ b/example/test.h
@@ -0,0 +1,22 @@
+#ifndef _SFX_H
+#define _SFX_H
+
+enum sfx_enum {
+ // laser
+ SFX1 = 1,
+ // zap
+ SFX2,
+ // drill
+ SFX3,
+ // explo
+ SFX4,
+};
+
+const struct beeper_sfx sfx_table[] = {
+ { 1, 32, 120, 252, 0 },
+ { 2, 16, 12, 0, 0 },
+ { 1, 32, 1, 0, 0 },
+ { 2, 32, 128, 255, 0 },
+};
+
+#endif /* _SFX_H */