This commit is contained in:
Nils Dagsson Moskopp 2011-05-31 22:04:09 +02:00
parent 8d580ddf29
commit d7b768dc4b
6 changed files with 12 additions and 0 deletions

BIN
data/brick.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

View File

@ -189,6 +189,14 @@ void init_mapnode()
f->is_ground_content = true; f->is_ground_content = true;
f->dug_item = std::string("MaterialItem ")+itos(CONTENT_SAND)+" 1"; f->dug_item = std::string("MaterialItem ")+itos(CONTENT_SAND)+" 1";
i = CONTENT_BRICK;
f = &g_content_features[i];
f->setAllTextures("brick.png");
f->setInventoryTextureCube("brick.png", "brick.png", "brick.png");
f->param_type = CPT_MINERAL;
f->is_ground_content = true;
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";
i = CONTENT_TREE; i = CONTENT_TREE;
f = &g_content_features[i]; f = &g_content_features[i];
f->setAllTextures("tree.png"); f->setAllTextures("tree.png");

View File

@ -103,6 +103,7 @@ void init_content_inventory_texture_paths();
#define CONTENT_FENCE 21 #define CONTENT_FENCE 21
#define CONTENT_SANDSTONE 22 #define CONTENT_SANDSTONE 22
#define CONTENT_CACTUS 23 #define CONTENT_CACTUS 23
#define CONTENT_BRICK 24
/* /*
Content feature list Content feature list

View File

@ -60,6 +60,7 @@ void initializeMaterialProperties()
setStoneLikeDiggingProperties(CONTENT_STONE, 1.0); setStoneLikeDiggingProperties(CONTENT_STONE, 1.0);
setStoneLikeDiggingProperties(CONTENT_SANDSTONE, 1.0); setStoneLikeDiggingProperties(CONTENT_SANDSTONE, 1.0);
setStoneLikeDiggingProperties(CONTENT_BRICK, 3.0);
setStoneLikeDiggingProperties(CONTENT_MESE, 0.5); setStoneLikeDiggingProperties(CONTENT_MESE, 0.5);
setStoneLikeDiggingProperties(CONTENT_COALSTONE, 1.5); setStoneLikeDiggingProperties(CONTENT_COALSTONE, 1.5);
setStoneLikeDiggingProperties(CONTENT_FURNACE, 3.0); setStoneLikeDiggingProperties(CONTENT_FURNACE, 3.0);

View File

@ -4076,6 +4076,7 @@ void setCreativeInventory(Player *player)
CONTENT_STONE, CONTENT_STONE,
CONTENT_SAND, CONTENT_SAND,
CONTENT_SANDSTONE, CONTENT_SANDSTONE,
CONTENT_BRICK,
CONTENT_TREE, CONTENT_TREE,
CONTENT_LEAVES, CONTENT_LEAVES,
CONTENT_CACTUS, CONTENT_CACTUS,

View File

@ -507,6 +507,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("sandstone.png"); sourcelist.push_back("sandstone.png");
sourcelist.push_back("brick.png");
sourcelist.push_back("grass.png"); sourcelist.push_back("grass.png");
sourcelist.push_back("grass_footsteps.png"); sourcelist.push_back("grass_footsteps.png");
sourcelist.push_back("tree.png"); sourcelist.push_back("tree.png");