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

Comparing deliantra/Deliantra-Client/DC/UI.pm (file contents):
Revision 1.92 by root, Wed Apr 12 23:32:27 2006 UTC vs.
Revision 1.93 by root, Wed Apr 12 23:59:42 2006 UTC

1512 $tex->draw_quad (($x + 1) * 32 - $w, ($y + 1) * 32 - $h, $w, $h); 1512 $tex->draw_quad (($x + 1) * 32 - $w, ($y + 1) * 32 - $h, $w, $h);
1513 } 1513 }
1514 } 1514 }
1515 } 1515 }
1516 1516
1517# if (1) { # higher quality darkness
1518# $lighting =~ s/(.)/$1$1$1/gs;
1519# my $pb = new_from_data Gtk2::Gdk::Pixbuf $lighting, "rgb", 0, 8, $sw4, $sh, $sw4 * 3;
1520#
1521# $pb = $pb->scale_simple ($sw4 * 0.5, $sh * 0.5, "bilinear");
1522#
1523# $lighting = $pb->get_pixels;
1524# $lighting =~ s/(.)../$1/gs;
1525# }
1526
1527 glTexEnv GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE; 1517 glTexEnv GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE;
1528 1518
1529 if ($::CFG->{fow_smooth}) { # smooth fog of war 1519 if ($::CFG->{fow_smooth}) { # smooth fog of war
1530 my @conv = ( 1520 my @conv = (
1531 0.1, 0.1, 0.1, 1521 0.1, 0.1, 0.1,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines