File diff r23482:de566f8c088d → r23483:3733e6b8ff17
src/network/network_gui.h
Show inline comments
 
@@ -14,14 +14,12 @@
 

	
 
#include "../company_type.h"
 
#include "../economy_type.h"
 
#include "../window_type.h"
 
#include "network_type.h"
 

	
 
#ifdef ENABLE_NETWORK
 

	
 
void ShowNetworkNeedPassword(NetworkPasswordType npt);
 
void ShowNetworkGiveMoneyWindow(CompanyID company);
 
void ShowNetworkChatQueryWindow(DestType type, int dest);
 
void ShowJoinStatusWindow();
 
void ShowNetworkGameWindow();
 
void ShowClientList();
 
@@ -39,17 +37,7 @@ struct NetworkCompanyInfo : NetworkCompa
 
	bool use_password;                              ///< Is there a password
 
	char clients[NETWORK_CLIENTS_LENGTH];           ///< The clients that control this company (Name1, name2, ..)
 
};
 

	
 
NetworkCompanyInfo *GetLobbyCompanyInfo(CompanyID company);
 

	
 
#else /* ENABLE_NETWORK */
 
/* Network function stubs when networking is disabled */
 

	
 
static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {}
 
static inline void ShowClientList() {}
 
static inline void ShowNetworkGameWindow() {}
 
static inline void ShowNetworkCompanyPasswordWindow(Window *parent) {}
 

	
 
#endif /* ENABLE_NETWORK */
 

	
 
#endif /* NETWORK_GUI_H */