mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-24 19:39:47 +00:00
parent
79be815827
commit
9434a48ae7
1 changed files with 2 additions and 5 deletions
|
|
@ -1197,15 +1197,12 @@ void Minecraft::init()
|
||||||
TextureId grassId = (textures->loadTexture("misc/grasscolor.png")); // loading the uh png for foliage color
|
TextureId grassId = (textures->loadTexture("misc/grasscolor.png")); // loading the uh png for foliage color
|
||||||
int* grassPixels = textures->loadTexturePixels(grassId, "misc/grasscolor.png");
|
int* grassPixels = textures->loadTexturePixels(grassId, "misc/grasscolor.png");
|
||||||
GrassColor::init(grassPixels);
|
GrassColor::init(grassPixels);
|
||||||
#ifndef __APPLE__
|
|
||||||
bool tint = options.getBooleanValue(OPTIONS_FOLIAGE_TINT); // finally, toggleable foliage color
|
bool tint = options.getBooleanValue(OPTIONS_FOLIAGE_TINT); // finally, toggleable foliage color
|
||||||
bool sideTint = options.getBooleanValue(OPTIONS_TINTED_SIDE);
|
|
||||||
#else
|
|
||||||
bool tint = false, sideTint = false;
|
|
||||||
#endif
|
|
||||||
FoliageColor::setUseTint(tint);
|
FoliageColor::setUseTint(tint);
|
||||||
GrassColor::setUseTint(tint);
|
GrassColor::setUseTint(tint);
|
||||||
|
|
||||||
|
bool sideTint = options.getBooleanValue(OPTIONS_TINTED_SIDE);
|
||||||
TileRenderer::setUseTint(sideTint);
|
TileRenderer::setUseTint(sideTint);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue