Implemented id_reeds

This commit is contained in:
CobaltXII
2019-01-02 20:17:28 -05:00
parent aa0d15e196
commit 4cbf710630
4 changed files with 16 additions and 4 deletions

View File

@@ -125,6 +125,8 @@ enum block_id
id_brick_slab,
id_reeds,
id_null
};
@@ -250,7 +252,9 @@ std::vector<std::string> block_id_to_string =
"cobblestone_slab",
"brick_slab"
"brick_slab",
"reeds"
};
// Conversion from block_id to std::string (used for in-game text).
@@ -375,7 +379,9 @@ std::vector<std::string> block_id_to_block_name =
"Cobblestone Slab",
"Brick Slab"
"Brick Slab",
"Reeds"
};
// Returns true if a block is a cross block. Otherwise, returns false.
@@ -390,7 +396,9 @@ inline bool is_cross(block_id id)
id == id_red_mushroom ||
id == id_brown_mushroom
id == id_brown_mushroom ||
id == id_reeds
)
{
return true;

View File

@@ -186,6 +186,8 @@ void load_block_face_info_array()
make_face_info_all(block_name_to_layer.at("cobblestone")),
make_face_info_all(block_name_to_layer.at("brick"))
make_face_info_all(block_name_to_layer.at("brick")),
make_face_info_all(block_name_to_layer.at("reeds"))
};
}

View File

@@ -67,6 +67,8 @@ std::vector<std::string> all_tex =
"red_mushroom",
"reeds",
"rose",
"sand",

BIN
tex/reeds.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B