1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Support placing a minetest game inside $world/game to allow creating proper adventure maps

Pro-tip: You can open a world in minetest by opening the world.mt file using minetest.
This commit is contained in:
Perttu Ahola 2012-04-08 23:15:50 +03:00
parent c59d139eeb
commit 42323014ea
3 changed files with 43 additions and 21 deletions

View file

@ -47,7 +47,10 @@ struct SubgameSpec
}
};
std::string getGameName(const std::string &game_path);
SubgameSpec findSubgame(const std::string &id);
SubgameSpec findWorldSubgame(const std::string &world_path);
std::set<std::string> getAvailableGameIds();
std::vector<SubgameSpec> getAvailableGames();