1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Lua on each mapgen thread (#13092)

This commit is contained in:
sfan5
2024-02-13 22:47:30 +01:00
committed by GitHub
parent d4b107e2e8
commit 3cac17d23e
32 changed files with 1329 additions and 193 deletions

View File

@@ -418,6 +418,8 @@ public:
// Lua files registered for init of async env, pair of modname + path
std::vector<std::pair<std::string, std::string>> m_async_init_files;
// Identical but for mapgen env
std::vector<std::pair<std::string, std::string>> m_mapgen_init_files;
// Data transferred into other Lua envs at init time
std::unique_ptr<PackedValue> m_lua_globals_data;