mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
update ContentLoader part 1
This commit is contained in:
parent
f135896683
commit
8d41f6af11
5 changed files with 98 additions and 54 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue