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

Comparing kgsueme/kgsueme/game.pl (file contents):
Revision 1.128 by root, Thu Jun 3 04:21:10 2004 UTC vs.
Revision 1.129 by root, Thu Jun 3 08:58:33 2004 UTC

625 ? $_[0] | MARK_GRAYED | ($self->{colour} == COLOUR_WHITE ? MARK_W : MARK_B) 625 ? $_[0] | MARK_GRAYED | ($self->{colour} == COLOUR_WHITE ? MARK_W : MARK_B)
626 : $_[0]; 626 : $_[0];
627 }); 627 });
628 $self->{board_click} = sub { 628 $self->{board_click} = sub {
629 return unless 629 return unless
630 $self->{cur_board}->is_valid_move ($self->{colour}, $_[1], $_[2], 630 $self->{cur_board}->is_valid_move ($self->{colour}, $_[0], $_[1],
631 $self->{rules}{ruleset} == RULESET_NEW_ZEALAND); 631 $self->{rules}{ruleset} == RULESET_NEW_ZEALAND);
632 $self->send (game_move => channel => $self->{channel}, x => $_[0], y => $_[1]); 632 $self->send (game_move => channel => $self->{channel}, x => $_[0], y => $_[1]);
633 $self->{board}->set (cursor => undef); 633 $self->{board}->set (cursor => undef);
634 delete $self->{board_click}; 634 delete $self->{board_click};
635 $self->{button_pass}->sensitive (0); 635 $self->{button_pass}->sensitive (0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines