mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
Biome colour and grass side tint options (#98)
* Added biome colour and grass side tint options * Moved GrassColor and FoliageColor to client/renderer/ * * Fix some build issues. * * Add the new files to the CMakeLists.txt --------- Co-authored-by: iProgramInCpp <iprogramincpp@gmail.com>
This commit is contained in:
@@ -16,10 +16,12 @@ GrassTile::GrassTile(int id, Material* c) : Tile(id, c)
|
||||
setTicking(true);
|
||||
}
|
||||
|
||||
int GrassTile::getColor(LevelSource*, int x, int y, int z)
|
||||
int GrassTile::getColor(LevelSource* levelSource, int x, int y, int z)
|
||||
{
|
||||
if (GetPatchManager()->IsGrassTinted())
|
||||
{
|
||||
return 0x339933;
|
||||
}
|
||||
|
||||
return 0xffffff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user