mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-15 20:01:55 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
#include "FoliageColor.h"
|
||||
|
||||
// 4J Stu - Don't use this any more
|
||||
//intArray FoliageColor::pixels;
|
||||
// intArray FoliageColor::pixels;
|
||||
//
|
||||
//void FoliageColor::init(intArray pixels)
|
||||
// void FoliageColor::init(intArray pixels)
|
||||
//{
|
||||
// int *oldData = FoliageColor::pixels.data;
|
||||
// FoliageColor::pixels = pixels;
|
||||
// delete[] oldData;
|
||||
//}
|
||||
//
|
||||
//int FoliageColor::get(double temp, double rain)
|
||||
// int FoliageColor::get(double temp, double rain)
|
||||
//{
|
||||
// rain *= temp;
|
||||
// int x = (int) ((1 - temp) * 255);
|
||||
@@ -21,20 +21,20 @@
|
||||
// return returnVal;
|
||||
//}
|
||||
|
||||
int FoliageColor::getEvergreenColor()
|
||||
{
|
||||
return Minecraft::GetInstance()->getColourTable()->getColor(eMinecraftColour_Foliage_Evergreen);
|
||||
//return 0x619961;
|
||||
int FoliageColor::getEvergreenColor() {
|
||||
return Minecraft::GetInstance()->getColourTable()->getColor(
|
||||
eMinecraftColour_Foliage_Evergreen);
|
||||
// return 0x619961;
|
||||
}
|
||||
|
||||
int FoliageColor::getBirchColor()
|
||||
{
|
||||
return Minecraft::GetInstance()->getColourTable()->getColor(eMinecraftColour_Foliage_Birch);
|
||||
//return 0x80a755;
|
||||
int FoliageColor::getBirchColor() {
|
||||
return Minecraft::GetInstance()->getColourTable()->getColor(
|
||||
eMinecraftColour_Foliage_Birch);
|
||||
// return 0x80a755;
|
||||
}
|
||||
|
||||
int FoliageColor::getDefaultColor()
|
||||
{
|
||||
return Minecraft::GetInstance()->getColourTable()->getColor(eMinecraftColour_Foliage_Default);
|
||||
//return 0x48b518;
|
||||
int FoliageColor::getDefaultColor() {
|
||||
return Minecraft::GetInstance()->getColourTable()->getColor(
|
||||
eMinecraftColour_Foliage_Default);
|
||||
// return 0x48b518;
|
||||
}
|
||||
Reference in New Issue
Block a user