Configuration options of the network stuff. More...
Go to the source code of this file.
Configuration options of the network stuff.
It is used even when compiling without network support.
Definition in file config.h.
anonymous enum |
NETWORK_MASTER_SERVER_PORT |
The default port of the master server (UDP). |
NETWORK_CONTENT_SERVER_PORT |
The default port of the content server (TCP). |
NETWORK_CONTENT_MIRROR_PORT |
The default port of the content mirror (TCP). |
NETWORK_DEFAULT_PORT |
The default port of the game server (TCP & UDP). |
NETWORK_DEFAULT_DEBUGLOG_PORT |
The default port debug-log is sent too (TCP). |
SEND_MTU |
Number of bytes we can pack in a single packet. |
NETWORK_GAME_INFO_VERSION |
What version of game-info do we use? |
NETWORK_COMPANY_INFO_VERSION |
What version of company info is this? |
NETWORK_MASTER_SERVER_VERSION |
What version of master-server-protocol do we use? |
NETWORK_NAME_LENGTH |
The maximum length of the server name and map name, in bytes including ''. |
NETWORK_COMPANY_NAME_LENGTH |
The maximum length of the company name, in bytes including ''. |
NETWORK_HOSTNAME_LENGTH |
The maximum length of the host name, in bytes including ''. |
NETWORK_SERVER_ID_LENGTH |
The maximum length of the network id of the servers, in bytes including ''. |
NETWORK_REVISION_LENGTH |
The maximum length of the revision, in bytes including ''. |
NETWORK_PASSWORD_LENGTH |
The maximum length of the password, in bytes including '' (must be >= NETWORK_SERVER_ID_LENGTH). |
NETWORK_CLIENTS_LENGTH |
The maximum length for the list of clients that controls a company, in bytes including ''. |
NETWORK_CLIENT_NAME_LENGTH |
The maximum length of a client's name, in bytes including ''. |
NETWORK_RCONCOMMAND_LENGTH |
The maximum length of a rconsole command, in bytes including ''. |
NETWORK_CHAT_LENGTH |
The maximum length of a chat message, in bytes including ''. |
NETWORK_GRF_NAME_LENGTH |
Maximum length of the name of a GRF. |
NETWORK_MAX_GRF_COUNT |
Maximum number of GRFs that can be sent. This value is related to number of handles (files) OpenTTD can open. This is currently 64. Two are used for configuration and sound. |
NETWORK_NUM_LANGUAGES |
Number of known languages (to the network protocol) + 1 for 'any'. |
NETWORK_NUM_LANDSCAPES |
The number of landscapes in OpenTTD. This number must be equal to NUM_LANDSCAPE, but as this number is used within the network code and that the network code is shared with the masterserver/updater, it has to be declared in here too. In network.cpp there is a compile assertion to check that this NUM_LANDSCAPE is equal to NETWORK_NUM_LANDSCAPES. |