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.145 by root, Wed Sep 24 01:03:05 2008 UTC vs.
Revision 1.146 by root, Fri Dec 19 22:16:18 2008 UTC

518 $::MAP->draw ($dx, $dy, $sw, $sh, 518 $::MAP->draw ($dx, $dy, $sw, $sh,
519 $self->{tilesize}, 519 $self->{tilesize},
520 $::CONN->{player}{tag}, 520 $::CONN->{player}{tag},
521 -$self->{sdx}, -$self->{sdy}); 521 -$self->{sdx}, -$self->{sdy});
522 522
523 #glTranslate -$self->{sdx}, -$self->{sdy}; # anchro fow at player 523 #glTranslate -$self->{sdx}, -$self->{sdy}; # anchor fow at player
524 glScale $self->{tilesize}, $self->{tilesize}; 524 glScale $self->{tilesize}, $self->{tilesize};
525 525
526 if (my $tex = $self->{fow_texture}) { 526 if (my $tex = $self->{fow_texture}) {
527 glPushMatrix; 527 glPushMatrix;
528 glTranslate +(min 0, $sdx_t), (min 0, $sdy_t); 528 glTranslate +(min 0, $sdx_t), (min 0, $sdy_t);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines