0

Biome data from Biome Extractor is now used if it is present.

If the BIOMEEXTRACTOR data is not available, then non-biome aware
tinting will be used

Open biome data in binary mode (Windows requires this)
This commit is contained in:
Andrew Chin
2010-11-22 22:51:21 -05:00
parent 22db7bb3cd
commit c60180f793
5 changed files with 56 additions and 30 deletions

View File

@@ -94,12 +94,13 @@ class WorldRenderer(object):
files to update. If it includes a trailing newline, it is stripped, so you
can pass in file handles just fine.
"""
def __init__(self, worlddir, cachedir, chunklist=None, lighting=False, night=False):
def __init__(self, worlddir, cachedir, chunklist=None, lighting=False, night=False, useBiomeData=False):
self.worlddir = worlddir
self.caves = False
self.lighting = lighting or night
self.night = night
self.cachedir = cachedir
self.useBiomeData = useBiomeData
self.chunklist = chunklist