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:
parent
c59d139eeb
commit
42323014ea
3 changed files with 43 additions and 21 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue