ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/pclient
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/pclient (file contents):
Revision 1.93 by root, Wed Apr 12 23:37:38 2006 UTC vs.
Revision 1.94 by root, Thu Apr 13 01:55:39 2006 UTC

317 317
318 $self->send ($command); 318 $self->send ($command);
319 status $command; 319 status $command;
320} 320}
321 321
322my $MAP = new CFClient::Map 63, 63;#d#
323
324sub conn::feed_map1a {
325 my ($self, $data) = @_;
326
327 $self->Crossfire::Protocol::feed_map1a ($data);
328
329 #$MAP->scroll (delete $self->{_dx}, delete $self->{_dy});
330 #$MAP->map1a_update ($data);
331}
332
322sub conn::map_update { 333sub conn::map_update {
323 my ($self, $dirty) = @_; 334 my ($self, $dirty) = @_;
324 335
325 $MAPWIDGET->update; 336 $MAPWIDGET->update;
326} 337}
327 338
328sub conn::map_scroll { 339sub conn::map_scroll {
329 my ($self, $dx, $dy) = @_; 340 my ($self, $dx, $dy) = @_;
341
342 $self->{_dx} += $dx;
343 $self->{_dy} += $dy;
330 344
331# refresh; 345# refresh;
332} 346}
333 347
334sub conn::map_clear { 348sub conn::map_clear {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines