mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Add "simple singleplayer mode"; Fix a number of GUI things
This commit is contained in:
parent
899004207d
commit
6298878bfa
9 changed files with 101 additions and 48 deletions
|
@ -410,7 +410,8 @@ public:
|
|||
Server(
|
||||
const std::string &path_world,
|
||||
const std::string &path_config,
|
||||
const SubgameSpec &gamespec
|
||||
const SubgameSpec &gamespec,
|
||||
bool simple_singleplayer_mode
|
||||
);
|
||||
~Server();
|
||||
void start(unsigned short port);
|
||||
|
@ -659,6 +660,9 @@ private:
|
|||
std::string m_path_config;
|
||||
// Subgame specification
|
||||
SubgameSpec m_gamespec;
|
||||
// If true, do not allow multiple players and hide some multiplayer
|
||||
// functionality
|
||||
bool m_simple_singleplayer_mode;
|
||||
|
||||
// Equivalent of /usr/share/minetest/server
|
||||
std::string m_path_share;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue