Compare commits
4 Commits
79be815827
...
8be6e381d8
| Author | SHA1 | Date | |
|---|---|---|---|
| 8be6e381d8 | |||
| 3ab30eefa4 | |||
| 325ab94a64 | |||
| 9434a48ae7 |
@@ -1197,15 +1197,12 @@ void Minecraft::init()
|
||||
TextureId grassId = (textures->loadTexture("misc/grasscolor.png")); // loading the uh png for foliage color
|
||||
int* grassPixels = textures->loadTexturePixels(grassId, "misc/grasscolor.png");
|
||||
GrassColor::init(grassPixels);
|
||||
#ifndef __APPLE__
|
||||
|
||||
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);
|
||||
GrassColor::setUseTint(tint);
|
||||
|
||||
bool sideTint = options.getBooleanValue(OPTIONS_TINTED_SIDE);
|
||||
TileRenderer::setUseTint(sideTint);
|
||||
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ OptionBool useTouchscreen("useTouchscreen", true);
|
||||
|
||||
OptionBool serverVisible("servervisible", true);
|
||||
#ifndef __APPLE__
|
||||
OptionBool foliageTint("foliagetint", true);
|
||||
OptionBool foliageTint("foliagetint", false);
|
||||
#endif
|
||||
OptionInt fogType("fogType", 0, 0, 2);
|
||||
|
||||
|
||||
@@ -238,7 +238,7 @@ void OptionsScreen::generateOptionScreens() {
|
||||
.addOptionItem(OPTIONS_BAR_ON_TOP, minecraft)
|
||||
.addOptionItem(OPTIONS_MENU_STYLE, minecraft)
|
||||
.addOptionItem(OPTIONS_RPI_CURSOR, minecraft)
|
||||
#ifndef __APPLE__
|
||||
#ifdef __APPLE__
|
||||
.addOptionItem(OPTIONS_FOLIAGE_TINT, minecraft)
|
||||
.addOptionItem(OPTIONS_TINTED_SIDE, minecraft)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user