Implemented id_reeds
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"))
|
||||
};
|
||||
}
|
||||
@@ -67,6 +67,8 @@ std::vector<std::string> all_tex =
|
||||
|
||||
"red_mushroom",
|
||||
|
||||
"reeds",
|
||||
|
||||
"rose",
|
||||
|
||||
"sand",
|
||||
|
||||
BIN
tex/reeds.png
Executable file
BIN
tex/reeds.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 186 B |
Reference in New Issue
Block a user