Files
mcpe/source/client/renderer/FoliageColor.hpp
jonkadelic e6ab1214af 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>
2023-11-05 18:19:41 +02:00

26 lines
361 B
C++

#pragma once
#include <cstdint>
#include "client/renderer/Texture.hpp"
class FoliageColor
{
public:
static bool isAvailable();
static void init(Texture texture);
static uint32_t get(double x, double y);
static uint32_t getEvergreenColor();
static uint32_t getBirchColor();
static uint32_t getDefaultColor();
private:
static Texture texture;
};