the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 20 lines 570 B view raw
1#pragma once 2 3#include "Tile_SPU.h" 4 5class TripWireSourceTile_SPU : public Tile_SPU 6{ 7public: 8 static const int MASK_DIR = 0x3; 9 static const int MASK_ATTACHED = 0x4; 10 static const int MASK_POWERED = 0x8; 11 static const int WIRE_DIST_MIN = 1; 12 static const int WIRE_DIST_MAX = 2 + 40; // 2 hooks + x string 13 14 TripWireSourceTile_SPU(int id) : Tile_SPU(id) {} 15 16 bool blocksLight() { return false; } 17 bool isSolidRender(bool isServerLevel = false) { return false; } 18 bool isCubeShaped() { return false; } 19 int getRenderShape() { return Tile_SPU::SHAPE_TRIPWIRE_SOURCE; } 20};