Initial version of C lighting code
Needs *lots* of performance work
This commit is contained in:
3
world.py
3
world.py
@@ -67,9 +67,10 @@ class World(object):
|
||||
|
||||
mincol = maxcol = minrow = maxrow = 0
|
||||
|
||||
def __init__(self, worlddir, useBiomeData=False,regionlist=None):
|
||||
def __init__(self, worlddir, useBiomeData=False,regionlist=None, lighting=False):
|
||||
self.worlddir = worlddir
|
||||
self.useBiomeData = useBiomeData
|
||||
self.lighting = lighting
|
||||
|
||||
#find region files, or load the region list
|
||||
#this also caches all the region file header info
|
||||
|
||||
Reference in New Issue
Block a user