add entities indexing

This commit is contained in:
MihailRis
2024-06-26 18:14:04 +03:00
parent 66a1240fbc
commit f135896683
7 changed files with 50 additions and 50 deletions
+4
View File
@@ -8,6 +8,10 @@
struct EntityDef {
/// @brief Entity string id (with prefix included)
std::string const name;
struct {
entityid_t id;
} rt;
EntityDef(const std::string& name);
EntityDef(const EntityDef&) = delete;