Use biome data

This commit is contained in:
Matthias Schiffer 2015-02-01 15:19:18 +01:00
parent 143b9f6c78
commit 9b1d92387d
5 changed files with 20 additions and 4 deletions

View file

@ -41,9 +41,11 @@ struct Block {
uint8_t blockLight;
uint8_t skyLight;
Block() : id(0), data(0), height(0), blockLight(0), skyLight(0) {}
uint8_t biome;
uint32_t getColor(uint8_t biome) const;
Block() : id(0), data(0), height(0), blockLight(0), skyLight(0), biome(0) {}
uint32_t getColor() const;
};
}