aboutsummaryrefslogtreecommitdiff
path: root/example
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
downloadbeeper-int-zx-a5745813e442b66ae6eed30bba81d1b3dd5cf634.tar.gz
beeper-int-zx-a5745813e442b66ae6eed30bba81d1b3dd5cf634.zip
Initial public release
Diffstat (limited to 'example')
-rw-r--r--example/test.binbin0 -> 20 bytes
-rw-r--r--example/test.h22
-rw-r--r--example/test.sfx5
3 files changed, 27 insertions, 0 deletions
diff --git a/example/test.bin b/example/test.bin
new file mode 100644
index 0000000..e906a2e
--- /dev/null
+++ b/example/test.bin
Binary files differ
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 */
diff --git a/example/test.sfx b/example/test.sfx
new file mode 100644
index 0000000..869ce53
--- /dev/null
+++ b/example/test.sfx
@@ -0,0 +1,5 @@
+;SFXv1
+laser 1 32 120 -4 0
+zap 2 16 12 0 0
+drill 1 32 1 0 0
+explo 2 32 -128 -1 0