update ContentLoader part 1

This commit is contained in:
MihailRis
2024-06-26 23:36:01 +03:00
parent f135896683
commit 8d41f6af11
5 changed files with 98 additions and 54 deletions
+3 -1
View File
@@ -9,11 +9,13 @@ struct EntityDef {
/// @brief Entity string id (with prefix included)
std::string const name;
std::string scriptName = name.substr(name.find(':')+1);
struct {
entityid_t id;
} rt;
EntityDef(const std::string& name);
EntityDef(const std::string& name) : name(name) {}
EntityDef(const EntityDef&) = delete;
};