mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add block.has_tag, item.has_tag
This commit is contained in:
parent
8bdf31d7bb
commit
185b6cc661
7 changed files with 41 additions and 6 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <glm/glm.hpp>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
#include "data/dv.hpp"
|
||||
#include "typedefs.hpp"
|
||||
|
|
@ -73,7 +74,7 @@ struct ItemDef {
|
|||
ItemFuncsSet funcsset {};
|
||||
bool emissive = false;
|
||||
|
||||
std::vector<int> tags;
|
||||
std::set<int> tags;
|
||||
} rt {};
|
||||
|
||||
ItemDef(const std::string& name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue