Update all tiles to use their given icon names and register with new name patterns with misc changes

This commit is contained in:
Soggy_Pancake 2026-03-14 13:56:35 -07:00
parent 6635d352dc
commit 4eaea8dc3f
51 changed files with 278 additions and 275 deletions

View file

@ -161,9 +161,10 @@ bool Sapling::isSapling(Level *level, int x, int y, int z, int type)
void Sapling::registerIcons(IconRegister *iconRegister)
{
icons = new Icon*[SAPLING_NAMES_SIZE];
auto woodTile = (WoodTile*)Tile::wood;
for (int i = 0; i < SAPLING_NAMES_SIZE; i++)
{
icons[i] = iconRegister->registerIcon(TEXTURE_NAMES[i]);
icons[i] = iconRegister->registerIcon(woodTile->TEXTURE_NAMES[i] + L"_sapling");
}
}