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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user