ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Protocol.pm (file contents):
Revision 1.42 by root, Fri Jun 23 23:54:30 2006 UTC vs.
Revision 1.45 by root, Wed Jun 28 17:15:34 2006 UTC

105 push @{$self->{record}}, $command; 105 push @{$self->{record}}, $command;
106 } 106 }
107 107
108 $self->logprint ("send: ", $command); 108 $self->logprint ("send: ", $command);
109 $self->send_command ($command); 109 $self->send_command ($command);
110 ::status $command; 110 ::status ($command);
111} 111}
112 112
113sub start_record { 113sub start_record {
114 my ($self) = @_; 114 my ($self) = @_;
115 115
585 585
586 if ($tag == 0) { 586 if ($tag == 0) {
587 update_floorbox; 587 update_floorbox;
588 update_container (0); 588 update_container (0);
589 } elsif ($tag == $self->{player}{tag}) { 589 } elsif ($tag == $self->{player}{tag}) {
590 $::STATWIDS->{weight}->set_text (sprintf "Weight: %.1fkg", $self->{player}->{weight} / 1000);
590 $::INV->set_items ($self->{container}{$self->{player}{tag}}) 591 $::INV->set_items ($self->{container}{$self->{player}{tag}})
591 } else { 592 } else {
592 update_container ($tag); 593 update_container ($tag);
593 } 594 }
594 595
832 833
833 push @link, new CFClient::UI::Label 834 push @link, new CFClient::UI::Label
834 markup => "<span foreground='#c0c0ff' underline='single'>$kw</span>", 835 markup => "<span foreground='#c0c0ff' underline='single'>$kw</span>",
835 can_hover => 1, 836 can_hover => 1,
836 can_events => 1, 837 can_events => 1,
838 padding_x => 0,
839 padding_y => 0,
837 on_button_up => sub { 840 on_button_up => sub {
838 $self->send ($kw); 841 $self->send ($kw);
839 }; 842 };
840 843
841 chr 0xfffc 844 chr 0xfffc

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines