Update all tiles to use their given icon names and register with new name patterns with misc changes
This commit is contained in:
parent
6635d352dc
commit
4eaea8dc3f
51 changed files with 278 additions and 275 deletions
|
|
@ -134,8 +134,8 @@ int DetectorRailTile::getAnalogOutputSignal(Level *level, int x, int y, int z, i
|
|||
void DetectorRailTile::registerIcons(IconRegister *iconRegister)
|
||||
{
|
||||
icons = new Icon*[2];
|
||||
icons[0] = iconRegister->registerIcon(L"detectorRail");
|
||||
icons[1] = iconRegister->registerIcon(L"detectorRail_on");
|
||||
icons[0] = iconRegister->registerIcon(getIconName());
|
||||
icons[1] = iconRegister->registerIcon(getIconName() + L"_on");
|
||||
}
|
||||
|
||||
Icon *DetectorRailTile::getTexture(int face, int data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue