some texture stuff
parent
1704badc30
commit
a7b158fada
|
@ -267,6 +267,9 @@ Doing now (most important at the top):
|
||||||
# maybe done
|
# maybe done
|
||||||
* not done
|
* not done
|
||||||
|
|
||||||
|
=== Stuff being done
|
||||||
|
* Combine meshes to bigger ones in ClientMap and set them EHM_STATIC
|
||||||
|
|
||||||
=== Stuff to do before release
|
=== Stuff to do before release
|
||||||
* Save the new mapgen stuff
|
* Save the new mapgen stuff
|
||||||
- map/meta.txt, which should contain only plain text, something like this:
|
- map/meta.txt, which should contain only plain text, something like this:
|
||||||
|
|
|
@ -103,6 +103,9 @@ void init_mapnode(IIrrlichtWrapper *irrlicht)
|
||||||
i = CONTENT_GRASS_FOOTSTEPS;
|
i = CONTENT_GRASS_FOOTSTEPS;
|
||||||
f = &g_content_features[i];
|
f = &g_content_features[i];
|
||||||
//f->setInventoryTexture(irrlicht->getTextureId("grass_footsteps.png"));
|
//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->param_type = CPT_MINERAL;
|
||||||
f->is_ground_content = true;
|
f->is_ground_content = true;
|
||||||
|
|
||||||
|
|
|
@ -373,7 +373,7 @@ void TextureSource::buildMainAtlas()
|
||||||
sourcelist.push_back("mud.png");
|
sourcelist.push_back("mud.png");
|
||||||
sourcelist.push_back("sand.png");
|
sourcelist.push_back("sand.png");
|
||||||
sourcelist.push_back("grass.png");
|
sourcelist.push_back("grass.png");
|
||||||
sourcelist.push_back("mud.png");
|
sourcelist.push_back("grass_footsteps.png");
|
||||||
sourcelist.push_back("tree.png");
|
sourcelist.push_back("tree.png");
|
||||||
sourcelist.push_back("tree_top.png");
|
sourcelist.push_back("tree_top.png");
|
||||||
sourcelist.push_back("water.png");
|
sourcelist.push_back("water.png");
|
||||||
|
|
Loading…
Reference in New Issue