blob: 06c5eee1caaac5930907a19b486b07a2ff2afcca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* $Id$ */
#ifndef NETWORK_GUI_H
#define NETWORK_GUI_H
#ifdef ENABLE_NETWORK
#include "network_data.h"
void ShowNetworkNeedPassword(NetworkPasswordType npt);
void ShowNetworkGiveMoneyWindow(PlayerID player); // PlayerID
void ShowNetworkChatQueryWindow(DestType type, byte dest);
void ShowJoinStatusWindow();
void ShowNetworkGameWindow();
void ShowClientList();
#else /* ENABLE_NETWORK */
/* Network function stubs when networking is disabled */
static inline void ShowNetworkChatQueryWindow(byte desttype, byte dest) {}
static inline void ShowClientList() {}
static inline void ShowNetworkGameWindow() {}
#endif /* ENABLE_NETWORK */
#endif /* NETWORK_GUI_H */
|