home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
AMOD095.ZIP
/
TILT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-11-02
|
469b
|
27 lines
uses modunit,crt;
var
ch : char;
begin
gusfind;
gusreset;
init_mod;
init_fx(1024*64,2);
load_mod('pkunk.mod');
load_fx_raw('test.smp',0);
load_fx_st3('lasersam.sam',1);
load_fx_st3('voxuh.sam',2);
repeat
ch := readkey;
case ch of
'1' : play_fx(0,0);
'2' : play_fx(0,1);
'3' : play_fx(0,2);
'p' : start_playing;
's' : stop_playing;
end;
until ch=#27;
free_mod;
gusdeinit;
end.