0

Better handling of the biome tinting images.

If they're not found with _find_file, then look in the EXTRACTEDBIOME
folder in the worlddir.
This commit is contained in:
Andrew Chin
2010-12-05 01:35:12 -05:00
parent 251a89b7dc
commit e96bb91b82
3 changed files with 27 additions and 13 deletions

View File

@@ -26,6 +26,7 @@ import numpy
import chunk
import nbt
import textures
"""
This module has routines related to generating all the chunks for a world
@@ -102,6 +103,9 @@ class WorldRenderer(object):
self.cachedir = cachedir
self.useBiomeData = useBiomeData
if self.useBiomeData:
textures.prepareBiomeData(worlddir)
self.chunklist = chunklist
# stores Points Of Interest to be mapped with markers