mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-05 18:10:09 +03:00
* 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>
26 lines
361 B
C++
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;
|
|
};
|
|
|