mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
test content events names cache
This commit is contained in:
parent
bf7732f68a
commit
0012419651
5 changed files with 34 additions and 12 deletions
|
|
@ -15,6 +15,9 @@ struct ItemFuncsSet {
|
|||
bool on_block_break_by : 1;
|
||||
};
|
||||
|
||||
struct ItemFuncNamesCache {
|
||||
};
|
||||
|
||||
enum class ItemIconType {
|
||||
NONE, // invisible (core:empty) must not be rendered
|
||||
SPRITE, // textured quad: icon is `atlas_name:texture_name`
|
||||
|
|
@ -75,6 +78,8 @@ struct ItemDef {
|
|||
bool emissive = false;
|
||||
|
||||
std::set<int> tags;
|
||||
|
||||
ItemFuncNamesCache eventNames;
|
||||
} rt {};
|
||||
|
||||
ItemDef(const std::string& name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue