# config.h

Go to the documentation of this file.

    00001 /* $Id: config.h 13735 2008-07-19 12:23:14Z rubidium $ */
    00002
    00007 #ifndef NETWORK_CORE_CONFIG_H
    00008 #define NETWORK_CORE_CONFIG_H
    00009
    00010 #ifdef ENABLE_NETWORK
    00011
    00013 #define NETWORK_MASTER_SERVER_HOST "master.openttd.org"
    00014
    00015 #define NETWORK_MASTER_SERVER_WELCOME_MESSAGE "OpenTTDRegister"
    00016
    00017 enum {
    00018   NETWORK_MASTER_SERVER_PORT    = 3978,
    00019   NETWORK_DEFAULT_PORT          = 3979,
    00020   NETWORK_DEFAULT_DEBUGLOG_PORT = 3982,
    00021
    00022   SEND_MTU                      = 1460,
    00023
    00024   NETWORK_GAME_INFO_VERSION     =    4,
    00025   NETWORK_COMPANY_INFO_VERSION  =    5,
    00026   NETWORK_MASTER_SERVER_VERSION =    1,
    00027
    00028   NETWORK_NAME_LENGTH           =   80,
    00029   NETWORK_COMPANY_NAME_LENGTH   =   32,
    00030   NETWORK_HOSTNAME_LENGTH       =   80,
    00031   NETWORK_UNIQUE_ID_LENGTH      =   33,
    00032   NETWORK_REVISION_LENGTH       =   15,
    00033   NETWORK_PASSWORD_LENGTH       =   33,
    00034   NETWORK_PLAYERS_LENGTH        =  200,
    00035   NETWORK_CLIENT_NAME_LENGTH    =   25,
    00036   NETWORK_RCONCOMMAND_LENGTH    =  500,
    00037
    00038   NETWORK_GRF_NAME_LENGTH       =   80,
    00039
    00044   NETWORK_MAX_GRF_COUNT         =   62,
    00045
    00046   NETWORK_NUM_LANGUAGES         =   29,
    00047
    00055   NETWORK_NUM_LANDSCAPES        =    4,
    00056 };
    00057
    00058 #endif /* ENABLE_NETWORK */
    00059
    00060 #endif /* NETWORK_CORE_CONFIG_H */