# config.h

Go to the documentation of this file.

    00001 /* $Id: config.h 17248 2009-08-21 20:21:05Z rubidium $ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
    00006  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00007  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
    00008  */
    00009
    00014 #ifndef NETWORK_CORE_CONFIG_H
    00015 #define NETWORK_CORE_CONFIG_H
    00016
    00018 #define NETWORK_MASTER_SERVER_HOST "master.openttd.org"
    00019
    00020 #define NETWORK_CONTENT_SERVER_HOST "content.openttd.org"
    00021
    00022 #define NETWORK_MASTER_SERVER_WELCOME_MESSAGE "OpenTTDRegister"
    00023
    00024 enum {
    00025   NETWORK_MASTER_SERVER_PORT    = 3978,
    00026   NETWORK_CONTENT_SERVER_PORT   = 3978,
    00027   NETWORK_DEFAULT_PORT          = 3979,
    00028   NETWORK_DEFAULT_DEBUGLOG_PORT = 3982,
    00029
    00030   SEND_MTU                      = 1460,
    00031
    00032   NETWORK_GAME_INFO_VERSION     =    4,
    00033   NETWORK_COMPANY_INFO_VERSION  =    6,
    00034   NETWORK_MASTER_SERVER_VERSION =    2,
    00035
    00036   NETWORK_NAME_LENGTH           =   80,
    00037   NETWORK_COMPANY_NAME_LENGTH   =   31,
    00038   NETWORK_HOSTNAME_LENGTH       =   80,
    00039   NETWORK_UNIQUE_ID_LENGTH      =   33,
    00040   NETWORK_REVISION_LENGTH       =   15,
    00041   NETWORK_PASSWORD_LENGTH       =   33,
    00042   NETWORK_CLIENTS_LENGTH        =  200,
    00043   NETWORK_CLIENT_NAME_LENGTH    =   25,
    00044   NETWORK_RCONCOMMAND_LENGTH    =  500,
    00045   NETWORK_CHAT_LENGTH           =  900,
    00046
    00047   NETWORK_GRF_NAME_LENGTH       =   80,
    00048
    00053   NETWORK_MAX_GRF_COUNT         =   62,
    00054
    00055   NETWORK_NUM_LANGUAGES         =   36,
    00056
    00064   NETWORK_NUM_LANDSCAPES        =    4,
    00065 };
    00066
    00067 #endif /* NETWORK_CORE_CONFIG_H */