the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 19 lines 337 B view raw
1#pragma once 2#include "Bush_SPU.h" 3 4 5class CropTile_SPU : public Bush_SPU 6{ 7public: 8 CropTile_SPU(int id) : Bush_SPU(id) {} 9 virtual Icon_SPU *getTexture(int face, int data) 10 { 11 if (data < 0 || data > 7) data = 7; 12 return &ms_pTileData->cropTile_icons[data]; 13 } 14 15 virtual int getRenderShape() 16 { 17 return Tile_SPU::SHAPE_ROWS; 18 } 19};