mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
add generator definition file (.toml)
This commit is contained in:
parent
d839da7dab
commit
3d478aef08
12 changed files with 76 additions and 54 deletions
|
|
@ -33,6 +33,7 @@ class LevelController;
|
|||
class Entity;
|
||||
struct EntityDef;
|
||||
class GeneratorScript;
|
||||
struct GeneratorDef;
|
||||
|
||||
namespace scripting {
|
||||
extern Engine* engine;
|
||||
|
|
@ -147,6 +148,7 @@ namespace scripting {
|
|||
void load_entity_component(const std::string& name, const fs::path& file);
|
||||
|
||||
std::unique_ptr<GeneratorScript> load_generator(
|
||||
const GeneratorDef& def,
|
||||
const fs::path& file
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue