the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "Tile_SPU.h"
3
4class SmoothStoneBrickTile_SPU : public Tile_SPU
5{
6public:
7 static const int TYPE_DEFAULT = 0;
8 static const int TYPE_MOSSY = 1;
9 static const int TYPE_CRACKED = 2;
10 static const int TYPE_DETAIL = 3;
11
12 static const int SMOOTH_STONE_BRICK_NAMES_LENGTH = 4;
13
14
15public:
16
17 SmoothStoneBrickTile_SPU(int id) : Tile_SPU(id) {}
18
19 virtual Icon_SPU *getTexture(int face, int data)
20 {
21 if (data < 0 || data >= SMOOTH_STONE_BRICK_NAMES_LENGTH) data = 0;
22 return &ms_pTileData->smoothStoneBrick_icons[data];
23 }
24
25};