add fullscreen block overlay
This commit is contained in:
@@ -141,6 +141,7 @@ void Block::cloneTo(Block& dst) {
|
||||
dst.uiLayout = uiLayout;
|
||||
dst.inventorySize = inventorySize;
|
||||
dst.tickInterval = tickInterval;
|
||||
dst.overlayTexture = overlayTexture;
|
||||
}
|
||||
|
||||
static std::set<std::string, std::less<>> RESERVED_BLOCK_FIELDS {
|
||||
|
||||
@@ -185,6 +185,9 @@ public:
|
||||
/// @brief Block will be used instead of this if generated on surface
|
||||
std::string surfaceReplacement = name;
|
||||
|
||||
/// @brief Texture will be shown on screen if camera is inside of the block
|
||||
std::string overlayTexture;
|
||||
|
||||
/// @brief Default block layout will be used by hud.open_block(...)
|
||||
std::string uiLayout = name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user