diff options
author | rubidium <rubidium@openttd.org> | 2008-05-24 10:35:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-24 10:35:15 +0000 |
commit | 6884f9cb419d141a09ed96ea6aab6f7bf245a6f5 (patch) | |
tree | 10eb78cf497a4c50a6ad92f8c547d50b538cf425 /src/network/network_data.h | |
parent | 6c20f77330468a954ca2abcd396ab4135ea176fd (diff) | |
download | openttd-6884f9cb419d141a09ed96ea6aab6f7bf245a6f5.tar.xz |
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
Diffstat (limited to 'src/network/network_data.h')
-rw-r--r-- | src/network/network_data.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/network_data.h b/src/network/network_data.h index 32ed82a8e..2541fac0b 100644 --- a/src/network/network_data.h +++ b/src/network/network_data.h @@ -6,6 +6,7 @@ #define NETWORK_DATA_H #include "../openttd.h" +#include "../console_type.h" #include "network.h" #include "network_internal.h" @@ -105,7 +106,7 @@ void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp); // from network.c void NetworkCloseClient(NetworkTCPSocketHandler *cs); -void CDECL NetworkTextMessage(NetworkAction action, uint16 color, bool self_send, const char *name, const char *str, ...); +void CDECL NetworkTextMessage(NetworkAction action, ConsoleColour color, bool self_send, const char *name, const char *str, ...); void NetworkGetClientName(char *clientname, size_t size, const NetworkTCPSocketHandler *cs); uint NetworkCalculateLag(const NetworkTCPSocketHandler *cs); byte NetworkGetCurrentLanguageIndex(); |