ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cfmaps/cfmap2png
(Generate patch)

Comparing cfmaps/cfmap2png (file contents):
Revision 1.21 by root, Wed Feb 14 02:33:47 2007 UTC vs.
Revision 1.22 by root, Fri Apr 13 18:09:23 2007 UTC

28# Bottom object: the highest object that is a floor type object. 28# Bottom object: the highest object that is a floor type object.
29# 29#
30# ... i believe that anytime, but it still doesn't mention the smoothlevel 30# ... i believe that anytime, but it still doesn't mention the smoothlevel
31# interaction :( 31# interaction :(
32 32
33our $VERSION = '1.211'; 33our $VERSION = '1.212';
34 34
35use strict; 35use strict;
36 36
37use Storable; 37use Storable;
38use List::Util qw(max); 38use List::Util qw(max);
286 286
287 # full tile 287 # full tile
288 $draw_info{$smoothlevel}{$sface}{$mx , $my } |= 0x1000; 288 $draw_info{$smoothlevel}{$sface}{$mx , $my } |= 0x1000;
289 289
290 # borders 290 # borders
291 $draw_info{$smoothlevel}{$sface}{$mx + 1, $my } |= 0x0031; 291 $draw_info{$smoothlevel}{$sface}{$mx + 1, $my } |= 0x0091;
292 $draw_info{$smoothlevel}{$sface}{$mx , $my + 1} |= 0x0092; 292 $draw_info{$smoothlevel}{$sface}{$mx , $my + 1} |= 0x0032;
293 $draw_info{$smoothlevel}{$sface}{$mx - 1, $my } |= 0x0064; 293 $draw_info{$smoothlevel}{$sface}{$mx - 1, $my } |= 0x0064;
294 $draw_info{$smoothlevel}{$sface}{$mx , $my - 1} |= 0x00c8; 294 $draw_info{$smoothlevel}{$sface}{$mx , $my - 1} |= 0x00c8;
295 295
296 # corners 296 # corners
297 $draw_info{$smoothlevel}{$sface}{$mx + 1, $my + 1} |= 0x0100; 297 $draw_info{$smoothlevel}{$sface}{$mx + 1, $my + 1} |= 0x0100;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines