mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-04 22:59:07 +02:00
Generate light layer
This commit is contained in:
parent
e1b3347da5
commit
9e0bbcf685
5 changed files with 52 additions and 30 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue