Add tile data coloring (aka colored wool support), combine rendering

of default tiles and their zoomed counterparts (saves reloading the
default tile, and keeps the scale levels of the map consistent during
a fullrender and otherwise)
This commit is contained in:
Mike Primm 2011-05-11 23:07:31 -05:00 committed by FrozenCow
parent 0a8f2a182a
commit 17644a5778
10 changed files with 241 additions and 106 deletions

View file

@ -81,7 +81,7 @@ public class FlatMap extends MapType {
int mz = y + t.y * t.size;
int my = w.getHighestBlockYAt(mx, mz) - 1;
int blockType = w.getBlockTypeIdAt(mx, my, mz);
Color[] colors = colorScheme.colors.get(blockType);
Color[] colors = colorScheme.colors[blockType];
if (colors == null)
continue;
Color c = colors[0];