1
0
Fork 0
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:
Perttu Ahola 2012-03-15 14:17:05 +02:00
parent 2b200d481f
commit 899004207d
3 changed files with 49 additions and 39 deletions

View file

@ -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),