the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 17 lines 357 B view raw
1#pragma once 2#include "Tile_SPU.h" 3 4class Random; 5 6class BookshelfTile_SPU : public Tile_SPU 7{ 8public: 9 BookshelfTile_SPU(int id) : Tile_SPU(id) {} 10 11 virtual Icon_SPU *getTexture(int face, int data) 12 { 13 if (face == Facing::UP || face == Facing::DOWN) 14 return TileRef_SPU(wood_Id)->getTexture(face); 15 return Tile_SPU::getTexture(face, data); 16 } 17};