]> git.localhorst.tv Git - blank.git/blobdiff - src/world/BlockType.hpp
set and display block type labels
[blank.git] / src / world / BlockType.hpp
index 28f814b80d7245adf022f216689822b305c38142..caccb8f4b7ec237a014086195c6b065c875e2107 100644 (file)
@@ -20,6 +20,9 @@ struct BlockType {
        glm::vec3 color;
        glm::vec3 outline_color;
 
+       // a string to display to the user
+       std::string label;
+
        Block::Type id;
 
        // light level that blocks of this type emit