Add smooth-lighting global setting (switch on smooth lighting on all)

This commit is contained in:
Mike Primm 2012-02-10 00:44:04 -06:00
parent ddf3b71592
commit 57a69bf9ad
2 changed files with 7 additions and 0 deletions

View File

@ -312,6 +312,10 @@ public class NewMapChunkCache implements MapChunkCache {
public int getWorldHeight() {
return worldheight;
}
@Override
public long getBlockKey() {
return (((chunkindex * worldheight) + y) << 8) | (bx << 4) | bz;
}
}
private class OurEndMapIterator extends OurMapIterator {

View File

@ -186,6 +186,9 @@ enabletilehash: true
# Optional - enabled BetterGrass style rendering of grass and snow block sides
#better-grass: true
# Optional - enable smooth lighting by default on all maps supporting it (can be set per map as lighting option)
smooth-lighting: false
# Pre 0.29 render options - set all three to false if you want same results as 0.28 (i.e. you have existing maps and don't want to render)
# use-generated-textures: if true, use generated textures (same as client); false is static, pre 0.29 textures
# correct-water-lighting: if true, use corrected water lighting (same as client); false is legacy, pre 0.29 water (darker)