Add night view via ambientlight setting on Flat and Surface maps, add
night-and-day setting to generate both night (default) and day (prefix+'_day') versions of tiles, and add transparency to generated PNG files
This commit is contained in:
parent
993b26beb4
commit
d2c947653d
15 changed files with 645 additions and 171 deletions
|
|
@ -278,7 +278,7 @@ public class KzedMap extends MapType {
|
|||
img.setRGB(0, 0, x, y, zerobuf, 0, 0);
|
||||
}
|
||||
else {
|
||||
img = new BufferedImage(x, y, BufferedImage.TYPE_INT_RGB);
|
||||
img = new BufferedImage(x, y, BufferedImage.TYPE_INT_ARGB);
|
||||
}
|
||||
return img;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue