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

Comparing deliantra/Deliantra-Client/DC/MapWidget.pm (file contents):
Revision 1.148 by root, Sun Jan 11 22:11:23 2009 UTC vs.
Revision 1.149 by root, Tue Jan 13 00:01:48 2009 UTC

505 glNewList ($self->{list} ||= glGenList); 505 glNewList ($self->{list} ||= glGenList);
506 506
507 glPushMatrix; 507 glPushMatrix;
508 glTranslate $sx0, $sy0; 508 glTranslate $sx0, $sy0;
509 glScale $::CFG->{map_scale}, $::CFG->{map_scale}; 509 glScale $::CFG->{map_scale}, $::CFG->{map_scale};
510 glTranslate $self->{sdx}, $self->{sdy}; 510 glTranslate DC::ceil $self->{sdx}, DC::ceil $self->{sdy};
511 511
512 $::MAP->draw ($dx, $dy, $sw, $sh, 512 $::MAP->draw ($dx, $dy, $sw, $sh,
513 $self->{tilesize}, 513 $self->{tilesize},
514 $::CONN->{player}{tag}, 514 $::CONN->{player}{tag},
515 -$self->{sdx}, -$self->{sdy}); 515 -$self->{sdx}, -$self->{sdy});

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines