mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 20:49:11 +00:00
Feature: make "join game" button join the game, instead of first showing a lobby window (#9467)
Nobody really paid attention to the lobby window, and it completely missed its purpose. Most people don't even wait for companies to show up, but just hit "New Company". This in turn means people create a lot of unneeded companies, while they "just want to watch the game" or join another company. Instead, "Join Game" now just joins the game as spectators.
This commit is contained in:
@@ -75,21 +75,6 @@ enum NetworkStartServerWidgets {
|
||||
WID_NSS_CANCEL, ///< 'Cancel' button.
|
||||
};
|
||||
|
||||
/** Widgets of the #NetworkLobbyWindow class. */
|
||||
enum NetworkLobbyWidgets {
|
||||
WID_NL_BACKGROUND, ///< Background of the window.
|
||||
WID_NL_TEXT, ///< Heading text.
|
||||
WID_NL_HEADER, ///< Header above list of companies.
|
||||
WID_NL_MATRIX, ///< List of companies.
|
||||
WID_NL_SCROLLBAR, ///< Scroll bar.
|
||||
WID_NL_DETAILS, ///< Company details.
|
||||
WID_NL_JOIN, ///< 'Join company' button.
|
||||
WID_NL_NEW, ///< 'New company' button.
|
||||
WID_NL_SPECTATE, ///< 'Spectate game' button.
|
||||
WID_NL_REFRESH, ///< 'Refresh server' button.
|
||||
WID_NL_CANCEL, ///< 'Cancel' button.
|
||||
};
|
||||
|
||||
/** Widgets of the #NetworkClientListWindow class. */
|
||||
enum ClientListWidgets {
|
||||
WID_CL_PANEL, ///< Panel of the window.
|
||||
|
Reference in New Issue
Block a user