Added id_dandelion and id_rose
This commit is contained in:
@@ -93,10 +93,7 @@ enum block_id
|
||||
|
||||
id_glass,
|
||||
|
||||
id_null
|
||||
};
|
||||
|
||||
// Returns true if the block is not opaque. Otherwise, returns false.
|
||||
id_rose,
|
||||
|
||||
inline bool is_transparent(block_id id)
|
||||
{
|
||||
@@ -107,6 +104,7 @@ inline bool is_transparent(block_id id)
|
||||
id == id_oak_leaves ||
|
||||
|
||||
id == id_birch_leaves ||
|
||||
id_dandelion,
|
||||
|
||||
id == id_water ||
|
||||
|
||||
@@ -120,6 +118,8 @@ inline bool is_transparent(block_id id)
|
||||
|
||||
return false;
|
||||
}
|
||||
id_null
|
||||
};
|
||||
|
||||
// Conversion from block_id to std::string.
|
||||
|
||||
@@ -212,6 +212,10 @@ std::vector<std::string> block_id_to_string =
|
||||
"black_wool",
|
||||
|
||||
"glass",
|
||||
|
||||
"rose",
|
||||
|
||||
"dandelion"
|
||||
};
|
||||
|
||||
// Conversion from block_id to std::string (used for in-game text).
|
||||
@@ -305,4 +309,9 @@ std::vector<std::string> block_id_to_block_name =
|
||||
"Black Wool",
|
||||
|
||||
"Glass"
|
||||
};
|
||||
}; "Glass",
|
||||
|
||||
"Rose",
|
||||
|
||||
"Dandelion"
|
||||
};
|
||||
|
||||
@@ -154,6 +154,10 @@ void load_block_face_info_array()
|
||||
|
||||
make_face_info_all(block_name_to_layer.at("wool_colored_black")),
|
||||
|
||||
make_face_info_all(block_name_to_layer.at("glass"))
|
||||
make_face_info_all(block_name_to_layer.at("glass")),
|
||||
|
||||
make_face_info_all(block_name_to_layer.at("rose")),
|
||||
|
||||
make_face_info_all(block_name_to_layer.at("dandelion"))
|
||||
};
|
||||
}
|
||||
@@ -23,6 +23,8 @@ std::vector<std::string> all_tex =
|
||||
|
||||
"cobblestone",
|
||||
|
||||
"dandelion",
|
||||
|
||||
"diamond_ore",
|
||||
|
||||
"dirt",
|
||||
@@ -61,6 +63,8 @@ std::vector<std::string> all_tex =
|
||||
|
||||
"oak_planks",
|
||||
|
||||
"rose",
|
||||
|
||||
"sand",
|
||||
|
||||
"sandstone_bottom",
|
||||
|
||||
BIN
tex/dandelion.png
Executable file
BIN
tex/dandelion.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 145 B |
BIN
tex/rose.png
Normal file
BIN
tex/rose.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Reference in New Issue
Block a user