0

added 'lighting' option to cave mode

This commit is contained in:
Aaron Griffith
2011-06-12 22:03:42 -04:00
parent 3d6042260c
commit bdee438060
11 changed files with 54 additions and 36 deletions

View File

@@ -476,6 +476,10 @@ def generate_facemasks():
for x,y in [(3,4), (7,2), (11,0)]:
top.putpixel((x,y), 255)
# special fix for chunk boundary stipple
for x,y in [(13,11), (17,9), (21,7)]:
right.putpixel((x,y), 0)
return (top, left, right)
facemasks = generate_facemasks()
black_color = Image.new("RGB", (24,24), (0,0,0))