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:
jonkadelic
2023-11-05 16:19:41 +00:00
committed by GitHub
parent 94d77ce887
commit e6ab1214af
27 changed files with 388 additions and 32 deletions

View File

@@ -35,7 +35,9 @@ void LeafTile::die(Level* level, int x, int y, int z)
int LeafTile::getColor(LevelSource* level, int x, int y, int z)
{
if (GetPatchManager()->IsGrassTinted())
{
return 0x339933;
}
return 0xffffff;
}