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
|
2006-10-18 21:19:04 +00:00
|
|
|
void ShowNetworkChatQueryWindow(DestType type, byte dest);
|
2006-12-30 01:52:09 +00:00
|
|
|
void ShowJoinStatusWindow(void);
|
2006-10-12 14:59:27 +00:00
|
|
|
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 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 */
|