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);
|
2006-10-12 14:59:27 +00:00
|
|
|
void ShowNetworkGiveMoneyWindow(byte player); // PlayerID
|
|
|
|
void ShowNetworkChatQueryWindow(byte desttype, byte dest);
|
|
|
|
void ShowJoinStatusWindowAfterJoin(void);
|
|
|
|
void ShowNetworkGameWindow(void);
|
|
|
|
void ShowClientList(void);
|
|
|
|
|
|
|
|
#else /* ENABLE_NETWORK */
|
|
|
|
/* Network function stubs when networking is disabled */
|
|
|
|
|
|
|
|
static inline void ShowNetworkChatQueryWindow(byte desttype, byte dest) {}
|
|
|
|
static inline void ShowClientList(void) {}
|
|
|
|
static inline void ShowJoinStatusWindowAfterJoin(void) {}
|
|
|
|
static inline void ShowNetworkGameWindow(void) {}
|
|
|
|
|
|
|
|
#endif /* ENABLE_NETWORK */
|
2006-09-01 13:35:43 +00:00
|
|
|
|
2006-09-28 18:42:35 +00:00
|
|
|
#endif /* NETWORK_GUI_H */
|