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.119 by root, Tue Aug 28 01:23:47 2007 UTC vs.
Revision 1.120 by root, Tue Aug 28 01:43:08 2007 UTC

484 484
485 glCallList $self->{list}; 485 glCallList $self->{list};
486 486
487 # TNT2 emulates logops in software (or worse :) 487 # TNT2 emulates logops in software (or worse :)
488 unless ($focused) { 488 unless ($focused) {
489 glColor 0.4, 0.2, 0.2, 0.6; 489 glColor_premultiply 0, 0, 1, 0.25;
490 glEnable GL_BLEND; 490 glEnable GL_BLEND;
491 glBlendFunc GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA; 491 glBlendFunc GL_ONE, GL_ONE_MINUS_SRC_ALPHA;
492 glBegin GL_QUADS; 492 glBegin GL_QUADS;
493 glVertex 0, 0; 493 glVertex 0, 0;
494 glVertex 0, $::HEIGHT; 494 glVertex 0, $::HEIGHT;
495 glVertex $::WIDTH, $::HEIGHT; 495 glVertex $::WIDTH, $::HEIGHT;
496 glVertex $::WIDTH, 0; 496 glVertex $::WIDTH, 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines