OpenTTD
|
GUIs related to networking. More...
#include "../company_type.h"
#include "../economy_type.h"
#include "../window_type.h"
#include "network_type.h"
Go to the source code of this file.
Data Structures | |
struct | NetworkCompanyInfo |
Company information stored at the client side. More... |
Functions | |
void | ShowNetworkNeedPassword (NetworkPasswordType npt) |
void | ShowNetworkGiveMoneyWindow (CompanyID company) |
void | ShowNetworkChatQueryWindow (DestType type, int dest) |
Show the chat window. | |
void | ShowJoinStatusWindow () |
void | ShowNetworkGameWindow () |
void | ShowClientList () |
void | ShowNetworkCompanyPasswordWindow (Window *parent) |
NetworkCompanyInfo * | GetLobbyCompanyInfo (CompanyID company) |
Get the company information of a given company to fill for the lobby. |
GUIs related to networking.
Definition in file network_gui.h.
NetworkCompanyInfo* GetLobbyCompanyInfo | ( | CompanyID | company | ) |
Get the company information of a given company to fill for the lobby.
company | the company to get the company info struct from. |
Definition at line 1654 of file network_gui.cpp.
References FindWindowById(), WC_NETWORK_WINDOW, and WN_NETWORK_WINDOW_LOBBY.
Referenced by NetworkLobbyWindow::OnPaint(), and ClientNetworkGameSocketHandler::Receive_SERVER_COMPANY_INFO().
void ShowNetworkChatQueryWindow | ( | DestType | type, |
int | dest | ||
) |
Show the chat window.
type | The type of destination. |
dest | The actual destination index. |
Definition at line 557 of file network_chat_gui.cpp.
References _chat_window_desc, DeleteWindowByClass(), and WC_SEND_NETWORK_MSG.
Referenced by MainWindow::OnHotkey().