diff --git a/src/inc/block.hpp b/src/inc/block.hpp index 078af35..1eae247 100644 --- a/src/inc/block.hpp +++ b/src/inc/block.hpp @@ -23,6 +23,8 @@ enum block_id id_sand, + id_sandstone, + id_gravel, id_brick, @@ -137,6 +139,8 @@ std::vector block_id_to_string = "sand", + "sandstone", + "gravel", "brick", @@ -226,6 +230,8 @@ std::vector block_id_to_block_name = "Sand", + "Sandstone", + "Gravel", "Brick", diff --git a/src/inc/face.hpp b/src/inc/face.hpp index 025bc82..c7e8d4d 100644 --- a/src/inc/face.hpp +++ b/src/inc/face.hpp @@ -86,6 +86,8 @@ void load_block_face_info_array() make_face_info_all(block_name_to_layer.at("sand")), + make_face_info_caps(block_name_to_layer.at("sandstone_top"), block_name_to_layer.at("sandstone_bottom"), block_name_to_layer.at("sandstone_side")), + make_face_info_all(block_name_to_layer.at("gravel")), make_face_info_all(block_name_to_layer.at("brick")), diff --git a/src/inc/image.hpp b/src/inc/image.hpp index ec7dbb8..a650dca 100644 --- a/src/inc/image.hpp +++ b/src/inc/image.hpp @@ -61,6 +61,12 @@ std::vector all_tex = "sand", + "sandstone_bottom", + + "sandstone_side", + + "sandstone_top", + "stone", "water_0", diff --git a/tex/sandstone_bottom.png b/tex/sandstone_bottom.png new file mode 100755 index 0000000..e102220 Binary files /dev/null and b/tex/sandstone_bottom.png differ diff --git a/tex/sandstone_side.png b/tex/sandstone_side.png new file mode 100755 index 0000000..1b79145 Binary files /dev/null and b/tex/sandstone_side.png differ diff --git a/tex/sandstone_top.png b/tex/sandstone_top.png new file mode 100755 index 0000000..bb5b157 Binary files /dev/null and b/tex/sandstone_top.png differ