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
|
|
@ -16,14 +16,7 @@ RedlightTile::RedlightTile(int id, bool isLit) : Tile(id, Material::buildable_gl
|
|||
|
||||
void RedlightTile::registerIcons(IconRegister *iconRegister)
|
||||
{
|
||||
if (isLit)
|
||||
{
|
||||
icon = iconRegister->registerIcon(L"redstoneLight_lit");
|
||||
}
|
||||
else
|
||||
{
|
||||
icon = iconRegister->registerIcon(L"redstoneLight");
|
||||
}
|
||||
icon = iconRegister->registerIcon(getIconName());
|
||||
}
|
||||
|
||||
void RedlightTile::onPlace(Level *level, int x, int y, int z)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue