mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Save selected tab
This commit is contained in:
parent
2b200d481f
commit
899004207d
3 changed files with 49 additions and 39 deletions
|
@ -30,6 +30,8 @@ class IGameCallback;
|
|||
struct MainMenuData
|
||||
{
|
||||
// These are in the native format of the gui elements
|
||||
// Generic
|
||||
int selected_tab;
|
||||
// Client options
|
||||
std::wstring address;
|
||||
std::wstring port;
|
||||
|
@ -52,6 +54,8 @@ struct MainMenuData
|
|||
std::vector<SubgameSpec> games;
|
||||
|
||||
MainMenuData():
|
||||
// Generic
|
||||
selected_tab(0),
|
||||
// Client opts
|
||||
fancy_trees(false),
|
||||
smooth_lighting(false),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue