mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +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:
@@ -9,7 +9,9 @@
|
||||
#include "LevelRenderer.hpp"
|
||||
#include "client/app/Minecraft.hpp"
|
||||
#include "renderer/GL/GL.hpp"
|
||||
|
||||
#include "world/tile/LeafTile.hpp"
|
||||
#include "world/tile/GrassTile.hpp"
|
||||
|
||||
LevelRenderer::LevelRenderer(Minecraft* pMC, Textures* pTexs)
|
||||
{
|
||||
@@ -136,6 +138,9 @@ void LevelRenderer::allChanged()
|
||||
pLeaves->m_bTransparent = m_pMinecraft->getOptions()->m_bFancyGraphics;
|
||||
pLeaves->m_TextureFrame = !pLeaves->m_bTransparent + pLeaves->field_74;
|
||||
|
||||
TileRenderer::m_bFancyGrass = m_pMinecraft->getOptions()->m_bFancyGrass;
|
||||
TileRenderer::m_bBiomeColors = m_pMinecraft->getOptions()->m_bBiomeColors;
|
||||
|
||||
field_BC = m_pMinecraft->getOptions()->m_iViewDistance;
|
||||
|
||||
int x1 = 64 << (3 - field_BC);
|
||||
|
||||
Reference in New Issue
Block a user