0

modified tileset.py for the new Anvil format

This commit is contained in:
Andrew Brown
2012-02-19 00:04:26 -05:00
parent 293e16e17f
commit 4c21fb2e05
4 changed files with 117 additions and 88 deletions

View File

@@ -122,7 +122,7 @@ def get_tile_set(chunks):
col, row = util.convert_coords(chunkx, chunkz)
for tilec, tiler in util.get_tiles_by_chunk(col, row):
for tilec, tiler in tileset.get_tiles_by_chunk(col, row):
tile = tileset.RenderTile.compute_path(tilec, tiler, 3)
tile_set[tile.path] = max(tile_set[tile.path], chunkmtime)