ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/kgsueme/sound.pl
(Generate patch)

Comparing kgsueme/kgsueme/sound.pl (file contents):
Revision 1.5 by pcg, Sun Mar 28 21:22:16 2004 UTC vs.
Revision 1.6 by pcg, Sun May 30 03:24:47 2004 UTC

3use KGS::Constants; 3use KGS::Constants;
4 4
5my %sound; 5my %sound;
6$SIG{CHLD} = 'IGNORE'; 6$SIG{CHLD} = 'IGNORE';
7 7
8for (qw(alarm warning move pass ring connect user_unknown gamestart resign)) { 8for (qw(alarm warning move pass ring connect user_unknown gamestart resign outoftime)) {
9 my $path = KGS::Constants::findfile "KGS/kgsueme/sounds/$_"; 9 my $path = KGS::Constants::findfile "KGS/kgsueme/sounds/$_";
10 10
11 open my $snd, "<", $path 11 open my $snd, "<", $path
12 or die "$path: $!"; 12 or die "$path: $!";
13 binmode $snd; 13 binmode $snd;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines