diff options
author | rubidium <rubidium@openttd.org> | 2010-02-03 18:42:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-02-03 18:42:23 +0000 |
commit | 2db44fc18ea963b3d10bceea1abfe89e98a83de2 (patch) | |
tree | 1de4abbb003eebd10b6071b2c40c2e97009fabce /src/network/core/config.h | |
parent | c75f19f40b047b829321dd0386d391940b942644 (diff) | |
download | openttd-2db44fc18ea963b3d10bceea1abfe89e98a83de2.tar.xz |
(svn r18994) -Change: content mirroring support (based on work by TrueBrain).
Diffstat (limited to 'src/network/core/config.h')
-rw-r--r-- | src/network/core/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h index 03f3e3b06..2914245dd 100644 --- a/src/network/core/config.h +++ b/src/network/core/config.h @@ -18,12 +18,17 @@ #define NETWORK_MASTER_SERVER_HOST "master.openttd.org" /** DNS hostname of the content server */ #define NETWORK_CONTENT_SERVER_HOST "content.openttd.org" +/** DNS hostname of the HTTP-content mirror server */ +#define NETWORK_CONTENT_MIRROR_HOST "binaries.openttd.org" +/** URL of the HTTP mirror system */ +#define NETWORK_CONTENT_MIRROR_URL "/bananas" /** Message sent to the masterserver to 'identify' this client as OpenTTD */ #define NETWORK_MASTER_SERVER_WELCOME_MESSAGE "OpenTTDRegister" enum { NETWORK_MASTER_SERVER_PORT = 3978, ///< The default port of the master server (UDP) NETWORK_CONTENT_SERVER_PORT = 3978, ///< The default port of the content server (TCP) + NETWORK_CONTENT_MIRROR_PORT = 80, ///< The default port of the content mirror (TCP) NETWORK_DEFAULT_PORT = 3979, ///< The default port of the game server (TCP & UDP) NETWORK_DEFAULT_DEBUGLOG_PORT = 3982, ///< The default port debug-log is sent too (TCP) |