1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

some texture stuff

This commit is contained in:
Perttu Ahola 2011-02-10 10:53:17 +02:00
parent 1704badc30
commit a7b158fada
3 changed files with 7 additions and 1 deletions

View file

@ -103,6 +103,9 @@ void init_mapnode(IIrrlichtWrapper *irrlicht)
i = CONTENT_GRASS_FOOTSTEPS;
f = &g_content_features[i];
//f->setInventoryTexture(irrlicht->getTextureId("grass_footsteps.png"));
f->setAllTextures("mud.png^grass_side.png");
f->setTexture(0, "grass_footsteps.png");
f->setTexture(1, "mud.png");
f->param_type = CPT_MINERAL;
f->is_ground_content = true;