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.175 by root, Thu Sep 6 15:06:25 2007 UTC vs.
Revision 1.179 by root, Sat Dec 22 06:50:37 2007 UTC

19 19
20 my $self = $class->SUPER::new (%arg, 20 my $self = $class->SUPER::new (%arg,
21 setup_req => { 21 setup_req => {
22 extmap => 1, 22 extmap => 1,
23 excmd => 1, 23 excmd => 1,
24 xwidget2 => 1,#d# 24 widget => 1,
25 %{$arg{setup_req} || {}}, 25 %{$arg{setup_req} || {}},
26 }, 26 },
27 ); 27 );
28 28
29 $self->{map_widget}->clr_commands; 29 $self->{map_widget}->clr_commands;
613 } 613 }
614 } 614 }
615 615
616 if ($delay) { 616 if ($delay) {
617 # delay the map drawing a tiny bit in the hope of getting the missing fetched 617 # delay the map drawing a tiny bit in the hope of getting the missing fetched
618 Event->timer (after => 0.03, cb => sub { 618 EV::once undef, 0, 0.03, sub {
619 $_[0]->w->cancel;
620 $self->{map_widget}->update 619 $self->{map_widget}->update
621 if $self->{map_widget}; 620 if $self->{map_widget};
622 }); 621 };
623 } else { 622 } else {
624 $self->{map_widget}->update; 623 $self->{map_widget}->update;
625 } 624 }
626} 625}
627 626
1303 0 1302 0
1304 }); 1303 });
1305 1304
1306 $self->update_server_info; 1305 $self->update_server_info;
1307 1306
1308 $self->send_command ("output-sync $::CFG->{output_sync}");
1309 $self->send_command ("output-count $::CFG->{output_count}");
1310 $self->send_command ("output-rate $::CFG->{output_rate}") if $::CFG->{output_rate} > 0; 1307 $self->send_command ("output-rate $::CFG->{output_rate}") if $::CFG->{output_rate} > 0;
1311 $self->send_command ("pickup $::CFG->{pickup}"); 1308 $self->send_command ("pickup $::CFG->{pickup}");
1312} 1309}
1313 1310
1314sub lookat { 1311sub lookat {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines