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:
@@ -28,6 +28,9 @@
|
||||
|
||||
#include "world/tile/SandTile.hpp"
|
||||
|
||||
#include "client/renderer/GrassColor.hpp"
|
||||
#include "client/renderer/FoliageColor.hpp"
|
||||
|
||||
// custom:
|
||||
#include "client/renderer/PatchManager.hpp"
|
||||
|
||||
@@ -805,6 +808,15 @@ void Minecraft::init()
|
||||
|
||||
m_pFont = new Font(m_options, "font/default.png", m_pTextures);
|
||||
|
||||
if (GrassColor::isAvailable())
|
||||
{
|
||||
GrassColor::init(m_pPlatform->loadTexture("misc/grasscolor.png", true));
|
||||
}
|
||||
if (FoliageColor::isAvailable())
|
||||
{
|
||||
FoliageColor::init(m_pPlatform->loadTexture("misc/foliagecolor.png", true));
|
||||
}
|
||||
|
||||
// Patch Manager
|
||||
GetPatchManager()->LoadPatchData(platform()->getPatchData());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user