mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Add register dialog to separate login/register (#12185)
New users find Minetest's account system confusing. This change moves username/password to a new dialog, with login and register buttons added to the Join Game tab. The old registration confirmation dialog is removed in favour of the new dialog. Fixes #8138
This commit is contained in:
parent
21323ef1ff
commit
03d86ea0b4
18 changed files with 232 additions and 402 deletions
|
@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#pragma once
|
||||
|
||||
#include "irrlichttypes_extrabloated.h"
|
||||
#include "gameparams.h"
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
||||
|
@ -50,5 +51,7 @@ struct MainMenuData {
|
|||
// Data to be passed to the script
|
||||
MainMenuDataForScript script_data;
|
||||
|
||||
ELoginRegister allow_login_or_register = ELoginRegister::Any;
|
||||
|
||||
MainMenuData() = default;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue