2006-09-01 13:35:43 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
#ifndef NETWORK_GUI_H
|
|
|
|
#define NETWORK_GUI_H
|
|
|
|
|
2006-10-12 14:59:27 +00:00
|
|
|
#ifdef ENABLE_NETWORK
|
|
|
|
|
|
|
|
#include "network_data.h"
|
|
|
|
|
2006-09-01 13:35:43 +00:00
|
|
|
void ShowNetworkNeedPassword(NetworkPasswordType npt);
|
2007-01-10 18:56:51 +00:00
|
|
|
void ShowNetworkGiveMoneyWindow(PlayerID player); // PlayerID
|
2007-04-26 07:41:24 +00:00
|
|
|
void ShowNetworkChatQueryWindow(DestType type, int dest);
|
2007-03-07 11:47:46 +00:00
|
|
|
void ShowJoinStatusWindow();
|
|
|
|
void ShowNetworkGameWindow();
|
|
|
|
void ShowClientList();
|
2006-10-12 14:59:27 +00:00
|
|
|
|
|
|
|
#else /* ENABLE_NETWORK */
|
|
|
|
/* Network function stubs when networking is disabled */
|
|
|
|
|
2007-04-26 07:41:24 +00:00
|
|
|
static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {}
|
2007-03-07 11:47:46 +00:00
|
|
|
static inline void ShowClientList() {}
|
|
|
|
static inline void ShowNetworkGameWindow() {}
|
2006-10-12 14:59:27 +00:00
|
|
|
|
|
|
|
#endif /* ENABLE_NETWORK */
|
2006-09-01 13:35:43 +00:00
|
|
|
|
2006-09-28 18:42:35 +00:00
|
|
|
#endif /* NETWORK_GUI_H */
|