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

Add minetest.get_modnames() to Lua API

This commit is contained in:
Matthew I
2012-07-21 21:29:37 -04:00
committed by Perttu Ahola
parent e3ddbe8c6b
commit 136eb32389
3 changed files with 63 additions and 0 deletions

View File

@@ -556,6 +556,7 @@ public:
IWritableCraftDefManager* getWritableCraftDefManager();
const ModSpec* getModSpec(const std::string &modname);
void getModNames(core::list<std::string> &modlist);
std::string getBuiltinLuaPath();
std::string getWorldPath(){ return m_path_world; }