private final int daHeight(final Tile tile) {
return (tile.height - 2) << Tiny2D.FIX_BITS;
}
private Tiny2D getT2D(final Tile tile) {
TinyBuffer pixbuf = new TinyBuffer();
pixbuf.width = tile.width;
pixbuf.height = tile.height;
pixbuf.pixels32 = tile.pixels32;
Tiny2D t2d = new Tiny2D(pixbuf);