the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 31 lines 971 B view raw
1#pragma once 2 3#include "Tile.h" 4 5class WallTile : public Tile 6{ 7public: 8 static const float WALL_WIDTH; 9 static const float WALL_HEIGHT; 10 static const float POST_WIDTH; 11 static const float POST_HEIGHT; 12 13 static const int TYPE_NORMAL = 0; 14 static const int TYPE_MOSSY = 1; 15 16 static const unsigned int COBBLE_NAMES[2]; 17 18 WallTile(int id, Tile *baseTile); 19 20 Icon *getTexture(int face, int data); 21 int getRenderShape(); 22 bool isCubeShaped(); 23 bool isPathfindable(LevelSource *level, int x, int y, int z); 24 bool isSolidRender(bool isServerLevel = false); 25 void updateShape(LevelSource *level, int x, int y, int z, int forceData = -1, shared_ptr<TileEntity> forceEntity = shared_ptr<TileEntity>()); 26 AABB *getAABB(Level *level, int x, int y, int z); 27 bool connectsTo(LevelSource *level, int x, int y, int z); 28 int getSpawnResourcesAuxValue(int data); 29 bool shouldRenderFace(LevelSource *level, int x, int y, int z, int face); 30 void registerIcons(IconRegister *iconRegister); 31};