summaryrefslogtreecommitdiff
path: root/sounds.bmx
diff options
context:
space:
mode:
Diffstat (limited to 'sounds.bmx')
-rw-r--r--sounds.bmx35
1 files changed, 35 insertions, 0 deletions
diff --git a/sounds.bmx b/sounds.bmx
new file mode 100644
index 0000000..b33ccec
--- /dev/null
+++ b/sounds.bmx
@@ -0,0 +1,35 @@
+' Hardwire
+'
+' Copyright 2005 Ian Cowburn
+'
+' $Id$
+'
+Strict
+
+Incbin "SFX/pop.wav"
+Incbin "SFX/click.wav"
+Incbin "SFX/path.wav"
+
+Type Sound
+ Global popsfx:TSound
+ Global clicksfx:TSound
+ Global pathsfx:TSound
+
+ Function Init()
+ popsfx=LoadSound("incbin::SFX/pop.wav")
+ clicksfx=LoadSound("incbin::SFX/click.wav")
+ pathsfx=LoadSound("incbin::SFX/path.wav")
+ End Function
+
+ Function Pop()
+ popsfx.Play()
+ End Function
+
+ Function Click()
+ clicksfx.Play()
+ End Function
+
+ Function Path()
+ pathsfx.Play()
+ End Function
+End Type