# config.h

Go to the documentation of this file.

    00001 /* $Id: config.h 15126 2009-01-17 16:53:32Z rubidium $ */
    00002
    00007 #ifndef NETWORK_CORE_CONFIG_H
    00008 #define NETWORK_CORE_CONFIG_H
    00009
    00011 #define NETWORK_MASTER_SERVER_HOST "master.openttd.org"
    00012
    00013 #define NETWORK_CONTENT_SERVER_HOST "content.openttd.org"
    00014
    00015 #define NETWORK_MASTER_SERVER_WELCOME_MESSAGE "OpenTTDRegister"
    00016
    00017 enum {
    00018   NETWORK_MASTER_SERVER_PORT    = 3978,
    00019   NETWORK_CONTENT_SERVER_PORT   = 3978,
    00020   NETWORK_DEFAULT_PORT          = 3979,
    00021   NETWORK_DEFAULT_DEBUGLOG_PORT = 3982,
    00022
    00023   SEND_MTU                      = 1460,
    00024
    00025   NETWORK_GAME_INFO_VERSION     =    4,
    00026   NETWORK_COMPANY_INFO_VERSION  =    5,
    00027   NETWORK_MASTER_SERVER_VERSION =    1,
    00028
    00029   NETWORK_NAME_LENGTH           =   80,
    00030   NETWORK_COMPANY_NAME_LENGTH   =   31,
    00031   NETWORK_HOSTNAME_LENGTH       =   80,
    00032   NETWORK_UNIQUE_ID_LENGTH      =   33,
    00033   NETWORK_REVISION_LENGTH       =   15,
    00034   NETWORK_PASSWORD_LENGTH       =   33,
    00035   NETWORK_CLIENTS_LENGTH        =  200,
    00036   NETWORK_CLIENT_NAME_LENGTH    =   25,
    00037   NETWORK_RCONCOMMAND_LENGTH    =  500,
    00038   NETWORK_CHAT_LENGTH           =  900,
    00039
    00040   NETWORK_GRF_NAME_LENGTH       =   80,
    00041
    00046   NETWORK_MAX_GRF_COUNT         =   62,
    00047
    00048   NETWORK_NUM_LANGUAGES         =   36,
    00049
    00057   NETWORK_NUM_LANDSCAPES        =    4,
    00058 };
    00059
    00060 #endif /* NETWORK_CORE_CONFIG_H */