add generator definition file (.toml)
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user