Handle lighting and depth

This commit is contained in:
Matthias Schiffer 2015-02-01 14:02:04 +01:00
parent d26fe3d9f8
commit 8b09f6f4ec
7 changed files with 220 additions and 72 deletions

View file

@ -35,6 +35,15 @@ namespace World {
struct Block {
uint8_t id;
uint8_t data;
unsigned height;
uint8_t blockLight;
uint8_t skyLight;
Block() : id(0), data(0), height(0), blockLight(0), skyLight(0) {}
uint32_t getColor() const;
};
}