mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31: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
|
|
@ -54,6 +54,11 @@ struct BlockFuncsSet {
|
|||
bool onblockremoved : 1;
|
||||
};
|
||||
|
||||
struct BlockFuncNamesCache {
|
||||
std::string update;
|
||||
std::string randomUpdate;
|
||||
};
|
||||
|
||||
struct CoordSystem {
|
||||
std::array<glm::ivec3, 3> axes;
|
||||
/// @brief Grid 3d position fix offset (for negative vectors)
|
||||
|
|
@ -296,6 +301,8 @@ public:
|
|||
blockid_t surfaceReplacement = 0;
|
||||
|
||||
std::set<int> tags;
|
||||
|
||||
BlockFuncNamesCache eventNames;
|
||||
} rt {};
|
||||
|
||||
Block(const std::string& name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue