Move constants from AsyncNetwork.h

Make those defines in BuildDefines.h instead to reduce header
dependencies.
This commit is contained in:
dhewg 2011-12-18 18:41:01 +01:00 committed by Daniel Gibson
parent 4df3236c3e
commit c63e63b234

View file

@ -115,3 +115,35 @@ If you have questions concerning this license or the applicable additional terms
#ifndef ID_OPENAL_EAX
# define ID_OPENAL_EAX 0
#endif
// async network
/*
DOOM III gold: 33
1.1 beta patch: 34
1.1 patch: 35
1.2 XP: 36-39
1.3 patch: 40
1.3.1: 41
*/
#define ASYNC_PROTOCOL_MINOR (41)
#define ASYNC_PROTOCOL_VERSION (( ASYNC_PROTOCOL_MAJOR << 16 ) + ASYNC_PROTOCOL_MINOR)
#define MAX_ASYNC_CLIENTS (32)
#define MAX_USERCMD_BACKUP (256)
#define MAX_USERCMD_DUPLICATION (25)
#define MAX_USERCMD_RELAY (10)
// index 0 is hardcoded to be the idnet master
// which leaves 4 to user customization
#define MAX_MASTER_SERVERS (5)
#define MAX_NICKLEN (32)
// max number of servers that will be scanned for at a single IP address
#define MAX_SERVER_PORTS (8)
// special game init ids
#define GAME_INIT_ID_INVALID (-1)
#define GAME_INIT_ID_MAP_LOAD (-2)