diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-02-21 16:50:05 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-02-21 16:50:05 +0200 |
commit | 62e79125775123f1889131b42caaeeb5f1cf015a (patch) | |
tree | 804449e2fedc2c3568d2dbac3fd87989af50aa1b /src/mapnode.h | |
parent | 69dbc046eb5a82b38c6d5c3302e9b3b0b3c1bcf1 (diff) | |
download | minetest-62e79125775123f1889131b42caaeeb5f1cf015a.tar.gz minetest-62e79125775123f1889131b42caaeeb5f1cf015a.tar.bz2 minetest-62e79125775123f1889131b42caaeeb5f1cf015a.zip |
some tidying
Diffstat (limited to 'src/mapnode.h')
-rw-r--r-- | src/mapnode.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mapnode.h b/src/mapnode.h index 7819d701d..03a294ad2 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -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; |