0

initial C biome code

This commit is contained in:
Aaron Griffith
2011-03-27 05:49:57 -04:00
parent 310cb8a1f6
commit fc176206ff
7 changed files with 274 additions and 95 deletions

View File

@@ -437,13 +437,6 @@ class ChunkRenderer(object):
tileEntities = get_tileentity_data(self.level)
if self.world.useBiomeData:
biomeColorData = textures.getBiomeData(self.world.worlddir,
self.chunkX, self.chunkY)
# in the 32x32 block of biome data, what chunk is this?l
startX = self.chunkX % 32
startY = self.chunkY % 32
# Each block is 24x24
# The next block on the X axis adds 12px to x and subtracts 6px from y in the image
# The next block on the Y axis adds 12px to x and adds 6px to y in the image