Luanti 5.17.0-dev
Loading...
Searching...
No Matches
guiMainMenu.h
Go to the documentation of this file.
1// Luanti
2// SPDX-License-Identifier: LGPL-2.1-or-later
3// Copyright (C) 2010-2013 celeron55, Perttu Ahola <celeron55@gmail.com>
4
5#pragma once
6
7#include "gameparams.h"
8#include <string>
9
12 script_data(errordata)
13 {}
14
15 // Client options
16 std::string port; // TODO combine into GameClientData
17
18 // Whether to reconnect
19 bool do_reconnect = false;
20
21 // Server options
23
24 // Data to be passed to the script
26};
Definition gameparams.h:30
Data provided to Lua for error reporting by the main menu.
Definition gameparams.h:61
MainMenuData(GameErrorData &errordata)
Definition guiMainMenu.h:11
bool do_reconnect
Definition guiMainMenu.h:19
GameErrorData & script_data
Definition guiMainMenu.h:25
int selected_world
Definition guiMainMenu.h:22
std::string port
Definition guiMainMenu.h:16