Added id_double_stone_slab
This commit is contained in:
@@ -101,6 +101,7 @@ enum block_id
|
|||||||
|
|
||||||
id_brown_mushroom,
|
id_brown_mushroom,
|
||||||
|
|
||||||
|
id_double_stone_slab,
|
||||||
id_null
|
id_null
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -202,7 +203,9 @@ std::vector<std::string> block_id_to_string =
|
|||||||
|
|
||||||
"red_mushroom",
|
"red_mushroom",
|
||||||
|
|
||||||
"brown_mushroom"
|
"brown_mushroom",
|
||||||
|
|
||||||
|
"double_stone_slab",
|
||||||
};
|
};
|
||||||
|
|
||||||
// Conversion from block_id to std::string (used for in-game text).
|
// Conversion from block_id to std::string (used for in-game text).
|
||||||
@@ -304,6 +307,9 @@ std::vector<std::string> block_id_to_block_name =
|
|||||||
"Red Mushroom",
|
"Red Mushroom",
|
||||||
|
|
||||||
"Brown Mushroom"
|
"Brown Mushroom"
|
||||||
|
|
||||||
|
"Double Stone Slab",
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Returns true if a block is a cross block. Otherwise, returns false.
|
// Returns true if a block is a cross block. Otherwise, returns false.
|
||||||
|
|||||||
@@ -162,6 +162,8 @@ void load_block_face_info_array()
|
|||||||
|
|
||||||
make_face_info_all(block_name_to_layer.at("red_mushroom")),
|
make_face_info_all(block_name_to_layer.at("red_mushroom")),
|
||||||
|
|
||||||
make_face_info_all(block_name_to_layer.at("brown_mushroom"))
|
make_face_info_all(block_name_to_layer.at("brown_mushroom")),
|
||||||
|
|
||||||
|
make_face_info_cap(block_name_to_layer.at("stone_slab_top"), block_name_to_layer.at("stone_slab_side")),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -77,6 +77,10 @@ std::vector<std::string> all_tex =
|
|||||||
|
|
||||||
"sandstone_top",
|
"sandstone_top",
|
||||||
|
|
||||||
|
"stone_slab_side",
|
||||||
|
|
||||||
|
"stone_slab_top",
|
||||||
|
|
||||||
"stone",
|
"stone",
|
||||||
|
|
||||||
"water_0",
|
"water_0",
|
||||||
|
|||||||
BIN
tex/stone_slab_side.png
Executable file
BIN
tex/stone_slab_side.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 271 B |
BIN
tex/stone_slab_top.png
Executable file
BIN
tex/stone_slab_top.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 252 B |
Reference in New Issue
Block a user