Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
487 B · 21 lines
C++
at master
123456789101112131415161718192021#include "stdafx.h"#include "GrassColor.h"
// 4J Stu - Don't want to do this any more//intArray GrassColor::pixels;////void GrassColor::init(intArray pixels)//{// int *oldData = GrassColor::pixels.data;// GrassColor::pixels = pixels;// delete [] oldData;//}////int GrassColor::get(double temp, double rain)//{// rain *= temp;// int x = (int) ((1 - temp) * 255);// int y = (int) ((1 - rain) * 255);// int returnVal = pixels[y << 8 | x]; // return returnVal;//}