mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Mainmenu game-related changes (#11887)
fixes: * Switching between games does not immediately hide creative mode / damage buttons if so specified * World creation menu has a game selection list even though the menu already provides a gamebar * Showing gameid in world list is unnecessary * Choice of mapgen parameters in menu persists between games (and was half-broken)
This commit is contained in:
@@ -172,9 +172,12 @@ public:
|
||||
bool getNoiseParamsFromValue(const std::string &name, NoiseParams &np) const;
|
||||
bool getNoiseParamsFromGroup(const std::string &name, NoiseParams &np) const;
|
||||
|
||||
// return all keys used
|
||||
// return all keys used in this object
|
||||
std::vector<std::string> getNames() const;
|
||||
// check if setting exists anywhere in the hierarchy
|
||||
bool exists(const std::string &name) const;
|
||||
// check if setting exists in this object ("locally")
|
||||
bool existsLocal(const std::string &name) const;
|
||||
|
||||
|
||||
/***************************************
|
||||
|
Reference in New Issue
Block a user