author | celestar |
Sun, 11 Mar 2007 09:28:58 +0000 | |
branch | custombridgeheads |
changeset 5651 | 335d9bd345b0 |
parent 5650 | aefc131bf5ce |
permissions | -rw-r--r-- |
5642 | 1 |
/* $Id$ */ |
2 |
||
3 |
#ifndef NETWORK_GUI_H |
|
4 |
#define NETWORK_GUI_H |
|
5 |
||
6 |
#ifdef ENABLE_NETWORK |
|
7 |
||
8 |
#include "network_data.h" |
|
9 |
||
10 |
void ShowNetworkNeedPassword(NetworkPasswordType npt); |
|
5650
aefc131bf5ce
(svn r8149) [cbh] - Sync with -r8038:8038 from trunk (the cpp merge)
celestar
parents:
5643
diff
changeset
|
11 |
void ShowNetworkGiveMoneyWindow(PlayerID player); // PlayerID |
5642 | 12 |
void ShowNetworkChatQueryWindow(DestType type, byte dest); |
13 |
void ShowJoinStatusWindow(void); |
|
14 |
void ShowNetworkGameWindow(void); |
|
15 |
void ShowClientList(void); |
|
16 |
||
17 |
#else /* ENABLE_NETWORK */ |
|
18 |
/* Network function stubs when networking is disabled */ |
|
19 |
||
20 |
static inline void ShowNetworkChatQueryWindow(byte desttype, byte dest) {} |
|
21 |
static inline void ShowClientList(void) {} |
|
22 |
static inline void ShowNetworkGameWindow(void) {} |
|
23 |
||
24 |
#endif /* ENABLE_NETWORK */ |
|
25 |
||
26 |
#endif /* NETWORK_GUI_H */ |