From 8dbb5e4ab32cc2e0d105f51fde19dedb5b2bb2bc Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 22 Nov 2005 00:46:56 +0000 Subject: Initial import --- sounds.bmx | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 sounds.bmx (limited to 'sounds.bmx') 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 -- cgit v1.2.3