1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00

some tidying

This commit is contained in:
Perttu Ahola
2011-02-21 16:50:05 +02:00
parent 69dbc046eb
commit 62e7912577
3 changed files with 99 additions and 18 deletions

View File

@@ -198,23 +198,6 @@ struct ContentFeatures
}
}
/*void setTexture(u16 i, AtlasPointer p, u8 alpha=255)
{
tiles[i].texture = p;
if(alpha != 255)
{
tiles[i].alpha = alpha;
tiles[i].material_type = MATERIAL_ALPHA_VERTEX;
}
}
void setAllTextures(AtlasPointer p, u8 alpha=255)
{
for(u16 i=0; i<6; i++)
{
setTexture(i, p, alpha);
}
}*/
void setTile(u16 i, const TileSpec &tile)
{
tiles[i] = tile;