mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Get menu background image from selected game
This commit is contained in:
parent
b28734c82c
commit
084be3599a
7 changed files with 172 additions and 136 deletions
|
@ -39,6 +39,7 @@ struct MainMenuData
|
|||
// These are in the native format of the gui elements
|
||||
// Generic
|
||||
int selected_tab;
|
||||
std::string selected_game;
|
||||
// Client options
|
||||
std::string servername;
|
||||
std::string serverdescription;
|
||||
|
@ -78,6 +79,7 @@ struct MainMenuData
|
|||
MainMenuData():
|
||||
// Generic
|
||||
selected_tab(0),
|
||||
selected_game("minetest"),
|
||||
// Client opts
|
||||
fancy_trees(false),
|
||||
smooth_lighting(false),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue