the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 26 lines 812 B view raw
1#pragma once 2#include "ConsoleGenerateStructureAction.h" 3 4class StructurePiece; 5class Level; 6class BoundingBox; 7 8class XboxStructureActionGenerateBox : public ConsoleGenerateStructureAction 9{ 10private: 11 int m_x0, m_y0, m_z0, m_x1, m_y1, m_z1, m_edgeTile, m_fillTile; 12 bool m_skipAir; 13public: 14 XboxStructureActionGenerateBox(); 15 16 virtual ConsoleGameRules::EGameRuleType getActionType() { return ConsoleGameRules::eGameRuleType_GenerateBox; } 17 18 virtual int getEndX() { return m_x1; } 19 virtual int getEndY() { return m_y1; } 20 virtual int getEndZ() { return m_z1; } 21 22 virtual void writeAttributes(DataOutputStream *dos, UINT numAttrs); 23 virtual void addAttribute(const wstring &attributeName, const wstring &attributeValue); 24 25 bool generateBoxInLevel(StructurePiece *structure, Level *level, BoundingBox *chunkBB); 26};