… | |
… | |
122 | or die "convert2: $!"; |
122 | or die "convert2: $!"; |
123 | $maskfh = $mmaskfh; |
123 | $maskfh = $mmaskfh; |
124 | $mask = "\x00\x00\x00\x00" x (1500*1500); |
124 | $mask = "\x00\x00\x00\x00" x (1500*1500); |
125 | } |
125 | } |
126 | |
126 | |
127 | chdir ".." unless -d "maps/."; |
127 | chdir ".." unless -d "maps/world-overlay/."; |
128 | -d "maps/world/." and -d "maps/world-overlay/." or die "need maps/world and maps/world-overlay in ."; |
128 | -d "maps/world/." and -d "maps/world-overlay/." or die "need maps/world and maps/world-overlay in ."; |
129 | |
129 | |
130 | my %color; |
130 | my %color; |
131 | my @pids; |
131 | my @pids; |
132 | |
132 | |