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.128 by root, Mon Apr 17 21:21:30 2006 UTC vs.
Revision 1.129 by root, Tue Apr 18 01:36:13 2006 UTC

1914 1914
1915 my ($w, $h, $data) = $::MAP->draw ($sx, $sy, 0, 0, $sw + 1, $sh + 1); 1915 my ($w, $h, $data) = $::MAP->draw ($sx, $sy, 0, 0, $sw + 1, $sh + 1);
1916 1916
1917 if ($::CFG->{fow_enable}) { 1917 if ($::CFG->{fow_enable}) {
1918 if ($::CFG->{fow_smooth}) { # smooth fog of war 1918 if ($::CFG->{fow_smooth}) { # smooth fog of war
1919 glConvolutionParameter GL_CONVOLUTION_2D, GL_CONVOLUTION_BORDER_MODE, GL_CONSTANT_BORDER; 1919 glConvolutionParameter (GL_CONVOLUTION_2D, GL_CONVOLUTION_BORDER_MODE, GL_CONSTANT_BORDER);
1920 glConvolutionFilter2D 1920 glConvolutionFilter2D (
1921 GL_CONVOLUTION_2D, 1921 GL_CONVOLUTION_2D,
1922 GL_ALPHA, 1922 GL_ALPHA,
1923 3, 3, 1923 3, 3,
1924 GL_ALPHA, GL_FLOAT, 1924 GL_ALPHA, GL_FLOAT,
1925 pack "f*", 1925 pack "f*",
1926 0.1, 0.1, 0.1, 1926 0.1, 0.1, 0.1,
1927 0.1, 0.2, 0.1, 1927 0.1, 0.2, 0.1,
1928 0.1, 0.1, 0.1, 1928 0.1, 0.1, 0.1,
1929 ; 1929 );
1930 glEnable GL_CONVOLUTION_2D; 1930 glEnable GL_CONVOLUTION_2D;
1931 } 1931 }
1932 1932
1933 $self->{fow_texture} = new CFClient::Texture 1933 $self->{fow_texture} = new CFClient::Texture
1934 w => $w, 1934 w => $w,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines