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:
parent
69dbc046eb
commit
62e7912577
3 changed files with 99 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue