Improve scaling of memory use with large numbers of tiles, prep for suspend/resume support

This commit is contained in:
Mike Primm 2011-08-14 14:20:45 +08:00 committed by mikeprimm
parent fb366ce36b
commit f5d5171f86
7 changed files with 95 additions and 14 deletions

View file

@ -102,5 +102,7 @@ public class KzedZoomedMapTile extends MapTile {
public boolean isHightestBlockYDataNeeded() { return false; }
public boolean isRawBiomeDataNeeded() { return originalTile.isRawBiomeDataNeeded(); }
public boolean isBlockTypeDataNeeded() { return true; }
public int tileOrdinalX() { return originalTile.px >> 8; }
public int tileOrdinalY() { return originalTile.py >> 8; }
}