author | rubidium |
Sun, 25 May 2008 19:17:03 +0000 | |
changeset 9354 | 845e07db4549 |
parent 9241 | 93e9c7c074cc |
child 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 |
|
9241
93e9c7c074cc
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
glx
parents:
9111
diff
changeset
|
8 |
#include "../window_type.h" |
93e9c7c074cc
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
glx
parents:
9111
diff
changeset
|
9 |
|
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
10 |
#ifdef ENABLE_NETWORK |
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
11 |
|
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
12 |
#include "network_data.h" |
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
13 |
|
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
|
14 |
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
|
15 |
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
|
16 |
void ShowNetworkChatQueryWindow(DestType type, int dest); |
6247 | 17 |
void ShowJoinStatusWindow(); |
18 |
void ShowNetworkGameWindow(); |
|
19 |
void ShowClientList(); |
|
9241
93e9c7c074cc
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
glx
parents:
9111
diff
changeset
|
20 |
void ShowNetworkCompanyPasswordWindow(Window *parent); |
4830
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
21 |
|
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
22 |
#else /* ENABLE_NETWORK */ |
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
23 |
/* 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
|
24 |
|
6531
4445b25832c4
(svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255.
rubidium
parents:
6247
diff
changeset
|
25 |
static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {} |
6247 | 26 |
static inline void ShowClientList() {} |
27 |
static inline void ShowNetworkGameWindow() {} |
|
9241
93e9c7c074cc
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
glx
parents:
9111
diff
changeset
|
28 |
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
|
29 |
|
668bcb0a30b2
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
Darkvater
parents:
4666
diff
changeset
|
30 |
#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
|
31 |
|
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
|
32 |
#endif /* NETWORK_GUI_H */ |