author | rubidium |
Tue, 30 Sep 2008 20:39:50 +0000 | |
changeset 10207 | c291a21b304e |
parent 9428 | 1ba05b499957 |
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 |
|
9111
48ce04029fe4
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents:
7998
diff
changeset
|
3 |
/** @file network_gui.h GUIs related to networking. */ |
48ce04029fe4
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents:
7998
diff
changeset
|
4 |
|
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
|
5 |
#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
|
6 |
#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
|
7 |
|
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
8 |
#ifdef ENABLE_NETWORK |
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
9 |
|
9428
1ba05b499957
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
rubidium
parents:
9241
diff
changeset
|
10 |
#include "../window_type.h" |
1ba05b499957
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
rubidium
parents:
9241
diff
changeset
|
11 |
#include "network_type.h" |
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
12 |
|
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
|
13 |
void ShowNetworkNeedPassword(NetworkPasswordType npt); |
10207
c291a21b304e
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
rubidium
parents:
9428
diff
changeset
|
14 |
void ShowNetworkGiveMoneyWindow(CompanyID company); |
6531
4445b25832c4
(svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255.
rubidium
parents:
6247
diff
changeset
|
15 |
void ShowNetworkChatQueryWindow(DestType type, int dest); |
6247 | 16 |
void ShowJoinStatusWindow(); |
17 |
void ShowNetworkGameWindow(); |
|
18 |
void ShowClientList(); |
|
9241
93e9c7c074cc
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
glx
parents:
9111
diff
changeset
|
19 |
void ShowNetworkCompanyPasswordWindow(Window *parent); |
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
20 |
|
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
21 |
#else /* ENABLE_NETWORK */ |
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
22 |
/* 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
|
23 |
|
6531
4445b25832c4
(svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255.
rubidium
parents:
6247
diff
changeset
|
24 |
static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {} |
6247 | 25 |
static inline void ShowClientList() {} |
26 |
static inline void ShowNetworkGameWindow() {} |
|
9241
93e9c7c074cc
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
glx
parents:
9111
diff
changeset
|
27 |
static inline void ShowNetworkCompanyPasswordWindow(Window *parent) {} |
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
28 |
|
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
29 |
#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
|
30 |
|
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
|
31 |
#endif /* NETWORK_GUI_H */ |