the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "RailTile_SPU.h"
3
4
5class DetectorRailTile_SPU : public RailTile_SPU
6{
7public:
8 DetectorRailTile_SPU(int id) : RailTile_SPU(id) {}
9 Icon_SPU *getTexture(int face, int data)
10 {
11 if ((data & RAIL_DATA_BIT) != 0)
12 {
13 return &ms_pTileData->detectorRailTile_icons[1];
14 }
15 return &ms_pTileData->detectorRailTile_icons[0];
16 }
17};