0

Initial version of C lighting code

Needs *lots* of performance work
This commit is contained in:
Andrew Chin
2011-03-19 22:55:59 -04:00
parent 26d781f249
commit e096eb45ff
9 changed files with 284 additions and 3 deletions

View File

@@ -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