mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Add server/client annotations to settingtypes.txt and make use of them (#15756)
This commit is contained in:
parent
6724068659
commit
c30c94dfaa
12 changed files with 231 additions and 96 deletions
|
@ -25,6 +25,7 @@ enum class ELoginRegister {
|
|||
};
|
||||
|
||||
// Information processed by main menu
|
||||
// TODO: unify with MainMenuData
|
||||
struct GameStartData : GameParams
|
||||
{
|
||||
GameStartData() = default;
|
||||
|
@ -33,7 +34,11 @@ struct GameStartData : GameParams
|
|||
|
||||
std::string name;
|
||||
std::string password;
|
||||
// If empty, we're hosting a server.
|
||||
// This may or may not be in "simple singleplayer mode".
|
||||
std::string address;
|
||||
// If true, we're hosting a server and are *not* in "simple singleplayer
|
||||
// mode".
|
||||
bool local_server;
|
||||
|
||||
ELoginRegister allow_login_or_register = ELoginRegister::Any;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue