src/network/core/config.h
changeset 9645 aee985cc98b5
parent 9460 327c77a497ae
child 9646 8c5f5d33027d
equal deleted inserted replaced
9644:6487c9233888 9645:aee985cc98b5
    22 	NETWORK_GAME_INFO_VERSION     =    4, ///< What version of game-info do we use?
    22 	NETWORK_GAME_INFO_VERSION     =    4, ///< What version of game-info do we use?
    23 	NETWORK_COMPANY_INFO_VERSION  =    4, ///< What version of company info is this?
    23 	NETWORK_COMPANY_INFO_VERSION  =    4, ///< What version of company info is this?
    24 	NETWORK_MASTER_SERVER_VERSION =    1, ///< What version of master-server-protocol do we use?
    24 	NETWORK_MASTER_SERVER_VERSION =    1, ///< What version of master-server-protocol do we use?
    25 
    25 
    26 	NETWORK_NAME_LENGTH           =   80, ///< The maximum length of the server name and map name, in bytes including '\0'
    26 	NETWORK_NAME_LENGTH           =   80, ///< The maximum length of the server name and map name, in bytes including '\0'
       
    27 	NETWORK_COMPANY_NAME_LENGTH   =   32, ///< The maximum length of the company name, in bytes including '\0'
    27 	NETWORK_HOSTNAME_LENGTH       =   80, ///< The maximum length of the host name, in bytes including '\0'
    28 	NETWORK_HOSTNAME_LENGTH       =   80, ///< The maximum length of the host name, in bytes including '\0'
    28 	NETWORK_UNIQUE_ID_LENGTH      =   33, ///< The maximum length of the unique id of the clients, in bytes including '\0'
    29 	NETWORK_UNIQUE_ID_LENGTH      =   33, ///< The maximum length of the unique id of the clients, in bytes including '\0'
    29 	NETWORK_REVISION_LENGTH       =   15, ///< The maximum length of the revision, in bytes including '\0'
    30 	NETWORK_REVISION_LENGTH       =   15, ///< The maximum length of the revision, in bytes including '\0'
    30 	NETWORK_PASSWORD_LENGTH       =   33, ///< The maximum length of the password, in bytes including '\0' (must be >= NETWORK_UNIQUE_ID_LENGTH)
    31 	NETWORK_PASSWORD_LENGTH       =   33, ///< The maximum length of the password, in bytes including '\0' (must be >= NETWORK_UNIQUE_ID_LENGTH)
    31 	NETWORK_PLAYERS_LENGTH        =  200, ///< The maximum length for the list of players that controls a company, in bytes including '\0'
    32 	NETWORK_PLAYERS_LENGTH        =  200, ///< The maximum length for the list of players that controls a company, in bytes including '\0'