the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 20 lines 462 B view raw
1#pragma once 2#include "Feature.h" 3 4class TreeFeature : public Feature 5{ 6private: 7 const int baseHeight; 8 const bool addJungleFeatures; 9 const int trunkType; 10 const int leafType; 11 12public: 13 TreeFeature(bool doUpdate); 14 TreeFeature(bool doUpdate, int baseHeight, int trunkType, int leafType, bool addJungleFeatures); 15 16 virtual bool place(Level *level, Random *random, int x, int y, int z); 17 18private: 19 void addVine(Level *level, int xx, int yy, int zz, int dir); 20};