author | bjarni |
Mon, 28 May 2007 21:40:40 +0000 | |
changeset 6735 | dd792fed65e2 |
parent 6531 | 4445b25832c4 |
child 7998 | 9cf9f9153262 |
permissions | -rw-r--r-- |
4512
823dfd4aa413
(svn r6297) -Codechange: Disentangle the query window mess a bit: Move the network game password handling somewhere were it belongs to
tron
parents:
diff
changeset
|
1 |
/* $Id$ */ |
823dfd4aa413
(svn r6297) -Codechange: Disentangle the query window mess a bit: Move the network game password handling somewhere were it belongs to
tron
parents:
diff
changeset
|
2 |
|
823dfd4aa413
(svn r6297) -Codechange: Disentangle the query window mess a bit: Move the network game password handling somewhere were it belongs to
tron
parents:
diff
changeset
|
3 |
#ifndef NETWORK_GUI_H |
823dfd4aa413
(svn r6297) -Codechange: Disentangle the query window mess a bit: Move the network game password handling somewhere were it belongs to
tron
parents:
diff
changeset
|
4 |
#define NETWORK_GUI_H |
823dfd4aa413
(svn r6297) -Codechange: Disentangle the query window mess a bit: Move the network game password handling somewhere were it belongs to
tron
parents:
diff
changeset
|
5 |
|
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
6 |
#ifdef ENABLE_NETWORK |
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
7 |
|
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
8 |
#include "network_data.h" |
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
9 |
|
4512
823dfd4aa413
(svn r6297) -Codechange: Disentangle the query window mess a bit: Move the network game password handling somewhere were it belongs to
tron
parents:
diff
changeset
|
10 |
void ShowNetworkNeedPassword(NetworkPasswordType npt); |
5587
167d9a91ef02
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
rubidium
parents:
5475
diff
changeset
|
11 |
void ShowNetworkGiveMoneyWindow(PlayerID player); // PlayerID |
6531
4445b25832c4
(svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255.
rubidium
parents:
6247
diff
changeset
|
12 |
void ShowNetworkChatQueryWindow(DestType type, int dest); |
6247 | 13 |
void ShowJoinStatusWindow(); |
14 |
void ShowNetworkGameWindow(); |
|
15 |
void ShowClientList(); |
|
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
16 |
|
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
17 |
#else /* ENABLE_NETWORK */ |
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
18 |
/* Network function stubs when networking is disabled */ |
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
19 |
|
6531
4445b25832c4
(svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255.
rubidium
parents:
6247
diff
changeset
|
20 |
static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {} |
6247 | 21 |
static inline void ShowClientList() {} |
22 |
static inline void ShowNetworkGameWindow() {} |
|
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
23 |
|
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
24 |
#endif /* ENABLE_NETWORK */ |
4512
823dfd4aa413
(svn r6297) -Codechange: Disentangle the query window mess a bit: Move the network game password handling somewhere were it belongs to
tron
parents:
diff
changeset
|
25 |
|
4666
172a0cdf28a6
(svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch]
peter1138
parents:
4512
diff
changeset
|
26 |
#endif /* NETWORK_GUI_H */ |