15 #include "../company_type.h" 16 #include "../economy_type.h" 17 #include "../window_type.h" 23 void ShowNetworkGiveMoneyWindow(
CompanyID company);
25 void ShowJoinStatusWindow();
26 void ShowNetworkGameWindow();
27 void ShowClientList();
28 void ShowNetworkCompanyPasswordWindow(
Window *parent);
49 static inline void ShowClientList() {}
50 static inline void ShowNetworkGameWindow() {}
51 static inline void ShowNetworkCompanyPasswordWindow(
Window *parent) {}
static const uint NETWORK_CLIENTS_LENGTH
The maximum length for the list of clients that controls a company, in bytes including '\0'...
char clients[NETWORK_CLIENTS_LENGTH]
The clients that control this company (Name1, name2, ..)
NetworkCompanyInfo * GetLobbyCompanyInfo(CompanyID company)
Get the company information of a given company to fill for the lobby.
char company_name[NETWORK_COMPANY_NAME_LENGTH]
Company name.
Money company_value
The company value.
int32 Year
Type for the year, note: 0 based, i.e. starts at the year 0.
Data structure for an opened window.
Year inaugurated_year
What year the company started in.
Company information stored at the client side.
void ShowNetworkChatQueryWindow(DestType type, int dest)
Show the chat window.
uint16 performance
What was his performance last month?
bool use_password
Is there a password.
Types used for networking.
static const uint NETWORK_COMPANY_NAME_LENGTH
The maximum length of the company name, in bytes including '\0'.
Simple calculated statistics of a company.
Money money
The amount of money the company has.
NetworkPasswordType
The type of password we're asking for.
Owner
Enum for all companies/owners.
DestType
Destination of our chat messages.
Money income
How much did the company earned last year.