Generate light layer

This commit is contained in:
Matthias Schiffer 2015-02-03 13:13:12 +01:00
parent e1b3347da5
commit 9e0bbcf685
5 changed files with 52 additions and 30 deletions

View file

@ -47,6 +47,10 @@ struct Block {
Block(uint8_t id0, uint8_t data0, unsigned height0, uint8_t blockLight0, uint8_t skyLight0, uint8_t biome0)
: id(id0), data(data0), height(height0), blockLight(blockLight0), skyLight(skyLight0), biome(biome0) {}
uint8_t getBlockLight() const {
return blockLight;
}
uint32_t getColor() const;
};