This commit is contained in:
MihailRis
2024-02-04 23:45:15 +03:00
parent 3cd648e10c
commit b38afe9e34
14 changed files with 837 additions and 684 deletions
+7
View File
@@ -5,6 +5,8 @@
namespace fs = std::filesystem;
class LuaState;
class Engine;
class Content;
class Level;
@@ -27,6 +29,11 @@ namespace scripting {
const std::string& filename,
const std::string& source
);
wstringconsumer create_wstring_consumer(
const std::string& src,
const std::string& file="<string>"
);
void on_world_load(Level* level, BlocksController* blocks);
void on_world_save();