1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00: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;