src/network/core/config.h
branchNewGRF_ports
changeset 6871 5a9dc001e1ad
parent 6719 4cc327ad39d5
child 10184 fcf5fb2548eb
equal deleted inserted replaced
6870:ca3fd1fbe311 6871:5a9dc001e1ad
    25 	NETWORK_COMPANY_INFO_VERSION  =    4, ///< What version of company info is this?
    25 	NETWORK_COMPANY_INFO_VERSION  =    4, ///< What version of company info is this?
    26 	NETWORK_MASTER_SERVER_VERSION =    1, ///< What version of master-server-protocol do we use?
    26 	NETWORK_MASTER_SERVER_VERSION =    1, ///< What version of master-server-protocol do we use?
    27 
    27 
    28 	NETWORK_NAME_LENGTH           =   80, ///< The maximum length of the server name and map name, in bytes including '\0'
    28 	NETWORK_NAME_LENGTH           =   80, ///< The maximum length of the server name and map name, in bytes including '\0'
    29 	NETWORK_HOSTNAME_LENGTH       =   80, ///< The maximum length of the host name, in bytes including '\0'
    29 	NETWORK_HOSTNAME_LENGTH       =   80, ///< The maximum length of the host name, in bytes including '\0'
       
    30 	NETWORK_UNIQUE_ID_LENGTH      =   33, ///< The maximum length of the unique id of the clients, in bytes including '\0'
    30 	NETWORK_REVISION_LENGTH       =   15, ///< The maximum length of the revision, in bytes including '\0'
    31 	NETWORK_REVISION_LENGTH       =   15, ///< The maximum length of the revision, in bytes including '\0'
    31 	NETWORK_PASSWORD_LENGTH       =   20, ///< The maximum length of the password, in bytes including '\0'
    32 	NETWORK_PASSWORD_LENGTH       =   33, ///< The maximum length of the password, in bytes including '\0' (must be >= NETWORK_UNIQUE_ID_LENGTH)
    32 	NETWORK_PLAYERS_LENGTH        =  200, ///< The maximum length for the list of players that controls a company, in bytes including '\0'
    33 	NETWORK_PLAYERS_LENGTH        =  200, ///< The maximum length for the list of players that controls a company, in bytes including '\0'
    33 	NETWORK_CLIENT_NAME_LENGTH    =   25, ///< The maximum length of a player, in bytes including '\0'
    34 	NETWORK_CLIENT_NAME_LENGTH    =   25, ///< The maximum length of a player, in bytes including '\0'
    34 	NETWORK_RCONCOMMAND_LENGTH    =  500, ///< The maximum length of a rconsole command, in bytes including '\0'
    35 	NETWORK_RCONCOMMAND_LENGTH    =  500, ///< The maximum length of a rconsole command, in bytes including '\0'
    35 
    36 
    36 	NETWORK_GRF_NAME_LENGTH       =   80, ///< Maximum length of the name of a GRF
    37 	NETWORK_GRF_NAME_LENGTH       =   80, ///< Maximum length of the name of a GRF